Lesson Learned #70: Is ASP Classic able to connect to Azure SQL Database using Azure Active Directory?
Published Mar 13 2019 07:39 PM 42.9K Views
First published on MSDN on Jan 30, 2019
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!
Version history
Last update:
‎Mar 13 2019 07:39 PM
Updated by: