Lesson Learned #70: Is ASP Classic able to connect to Azure SQL Database using Azure Active Directory?


Hello,

Today, I worked on a service request that our customer has an application developed in ASP Classic and they want to use Azure Active Directory using the validation of User/Password, it is not possible.

Initially, Azure Active Directory is possible to use .NET 4.6 based on this URL .

I suggested to use the ODBC v.13 that contains all these changes in order to connect to the database using Azure Active Directory and it works. Also, using other tools like Excel, Word, etc.

Simply, change the connectionstring Driver={ODBC Driver 13 for SQL Server};server=xxxxx.database.windows.net;Authentication=ActiveDirectoryPassword;Database=xxxxx;User ID=xxxxxx@xxxxx.xxx;Password=xxxx;Current Language=Spanish

Enjoy!


Comments (0)

Skip to main content