Blog Post

Azure Database Support Blog
1 MIN READ

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

Jose_Manuel_Jurado's avatar
Mar 14, 2019
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!
Published Mar 14, 2019
Version 1.0
No CommentsBe the first to comment