I have Azure sql db connected with active directory password authentication.
The connection is establishing properly from visual studio, but when I hosted in IIS I get this error:
Unable to load adalsql.dll (Authentication=ActiveDirectoryPassword). Error code: 0x2.
The same issue is happening for Active directory integrated authentication also.
You have to do it at the application level as shown here . IIS does not support Azure SQL Authentication.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.