Glad to hear that the server's name issue was resolved. Regarding the new error, "Invalid connection string attribute," this typically occurs when there is an unsupported or incorrectly formatted parameter in the connection string.
To connect to Azure Synapse using a connection string with Active Directory authentication, you can use the following format. Ensure that you replace the placeholders with your actual server's name, database name, user ID, and password:
Here’s a refined version of the connection string you can try:
Provider=MSOLEDBSQL;
Data Source=xxxxx.sql.azuresynapse.net;
Initial Catalog=MyDB;
Authentication=ActiveDirectoryPassword;
User ID=XXXX;
Password=XXXX;
Encrypt=True;
TrustServerCertificate=False;
Connection Timeout=30;
For more details, please refer: https://learn.microsoft.com/en-us/azure/synapse-analytics/sql-data-warehouse/sql-data-warehouse-connection-strings
I hope this information helps. Please do let us know if you have any further queries.
Thank you.