1
我一直在試圖建立我的IIS網站的連接字符串與以下連接字符串連接到Azure的SQL數據庫:Azure的Active Directory連接字符串
<add name="ConnectionString" connectionString="Server=tcp:some.database.windows.net,1433;Database=myDB;Authentication=Active Directory Integrated;" />
的IIS應用程序池使用的服務帳戶它具有Azure Active Directory特權並作爲用戶添加到Azure SQL數據庫中。
這工作得很好我的本地開發機器上(可能是因爲它是用我的憑據,而不是服務帳戶),但是當我把網站上的IIS我得到:
System.ArgumentException: Keyword not supported: 'authentication'.
有誰知道正確的語法通過Azure AD登錄?
謝謝。就是這樣 –