Hi,
Follow this Troubleshoot connecting guide. It will take you step by step:
https://learn.microsoft.com/en-us/azure/azure-sql/database/troubleshoot-common-errors-issues
In the meantime and on the same time:
Most common issue is probably in the connection string. Please mask (use something like <here come password> ) the sensitive information and provide the connection string which you are using.