Welcome to Microsoft Q&A!
Thanks for reaching out about the issue with your Azure Function SQL Trigger not recognizing the dbo.ToDo
table. We're happy to help you troubleshoot this.
Assuming your table details and connection string are correctly configured in both your Azure Function and SQL database, could you please double-check the permissions granted to the Function App's identity? This could be either its managed identity or the user specified in the connection string.
Specifically, the identity needs the following permissions on the dbo.ToDo
table:
SELECT: To read data from the table.
VIEW DATABASE STATE: To query the change tracking metadata, which is essential for the trigger to function correctly.
If you've confirmed these permissions and are still experiencing issues, please provide us with more details about your setup, and we'll be happy to assist you further.