Hi @John Bronzo ,
Welcome to Microsoft Q&A forum and thanks for reaching out here.
Based on the error message you provided, it seems that there is an issue with the connection string. Please ensure that the connection string is correct, and that the app has the necessary permissions to access the Synapse SQL pool.
Here are a few things you can check:
- Verify that the connection string is correct and that it includes the correct credentials to access the Synapse SQL pool. You can check the connection string in the Azure portal by going to your App Service and navigating to Configuration > Application settings.
- Ensure that the app has the necessary permissions to access the Synapse SQL pool. You can check this by going to the Synapse workspace and navigating to Access control (IAM) > Role assignments. Make sure that the app has the necessary role assignments to access the SQL pool.
- Check the logs for any additional error messages that might provide more information about the issue. You can view the logs by going to your App Service and navigating to Log stream.
- Ensure that the stored procedure you added to the Synapse SQL pool is working correctly. You can test this by executing the stored procedure directly in the Synapse workspace.
If you are still having issues, you can try updating the connection string in your code to include the username and password instead of using Active Directory authentication. You can also try using a different driver or library to connect to the Synapse SQL pool.
I hope this helps! Let me know if you have any further questions.