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

This post has been republished via RSS; it originally appeared at: Azure Database Support Blog articles.

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!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.