Azure Active Directory Connection String

sd_dracula

I've been trying to set up my IIS website's connection string to connect to an Azure SQL Database with the following connection string:

<add name="ConnectionString" connectionString="Server=tcp:some.database.windows.net,1433;Database=myDB;Authentication=Active Directory Integrated;" />

The IIS application pool is using a service account which has Azure Active Directory privileges and is added as an user on the Azure SQL Database.

This works fine on my local development machine (probably because it is using my credentials and not a service account) but when I place the site on IIS I get:

System.ArgumentException: Keyword not supported: 'authentication'.

Does anyone know the correct syntax for logging in via Azure AD?

Jack Richins

Have you been through this troubleshooting guide, https://azure.microsoft.com/en-us/documentation/articles/sql-database-aad-authentication/#5-configure-your-client-computers?

In particular, do you have .NET Framework 4.6 or later installed?

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

ActiveDirectoryMembershipProvider with Azure Active Directory

From Dev

Azure Active Directory and OWIN

From Dev

Azure Active Directory Roles

From Dev

Who is the owner of an Azure active directory?

From Dev

Azure Active Directory and Windows Authentication

From Dev

Authentication of a WebAPI with Azure Active Directory

From Dev

New azure active directory with powershell

From Dev

Azure Active Directory and WCF authentication

From Dev

How to access Azure Active Directory?

From Dev

Migration to and from Azure Active directory

From Dev

Cannot delete Azure Active Directory

From Dev

Simple Directory Lookup in Azure Active Directory

From Dev

AD Directory Programming with Azure Active Directory

From Dev

Simple Directory Lookup in Azure Active Directory

From Dev

What connection string to use for Azure SQL DB using Active Geo Replication?

From Dev

Open Active FTP Connection From Azure VM

From Dev

Can I use Azure Active Directory For Testing

From Dev

Azure Active Directory Daemon Client Using Certificates

From Dev

Azure Active Directory Application Key Renewal

From Dev

Windows Azure Active Directory - expiration of refreshtoken

From Java

Azure Active Directory Safari Redirection Issue

From Dev

How to remove Azure Active Directory from Subscription

From Dev

Check if username exist in Microsoft Azure Active Directory

From Dev

Logging into Azure Active Directory without a Domain Name

From Dev

In Azure Active directory user disable option is there?

From Dev

Using OAuth to connect to a Windows Azure Active Directory

From Dev

Transforming claims with Windows Azure Active Directory (WAAD)

From Dev

Verify a domain name in Azure Active Directory

From Dev

Accessing Azure Active Directory with username and password

Related Related

  1. 1

    ActiveDirectoryMembershipProvider with Azure Active Directory

  2. 2

    Azure Active Directory and OWIN

  3. 3

    Azure Active Directory Roles

  4. 4

    Who is the owner of an Azure active directory?

  5. 5

    Azure Active Directory and Windows Authentication

  6. 6

    Authentication of a WebAPI with Azure Active Directory

  7. 7

    New azure active directory with powershell

  8. 8

    Azure Active Directory and WCF authentication

  9. 9

    How to access Azure Active Directory?

  10. 10

    Migration to and from Azure Active directory

  11. 11

    Cannot delete Azure Active Directory

  12. 12

    Simple Directory Lookup in Azure Active Directory

  13. 13

    AD Directory Programming with Azure Active Directory

  14. 14

    Simple Directory Lookup in Azure Active Directory

  15. 15

    What connection string to use for Azure SQL DB using Active Geo Replication?

  16. 16

    Open Active FTP Connection From Azure VM

  17. 17

    Can I use Azure Active Directory For Testing

  18. 18

    Azure Active Directory Daemon Client Using Certificates

  19. 19

    Azure Active Directory Application Key Renewal

  20. 20

    Windows Azure Active Directory - expiration of refreshtoken

  21. 21

    Azure Active Directory Safari Redirection Issue

  22. 22

    How to remove Azure Active Directory from Subscription

  23. 23

    Check if username exist in Microsoft Azure Active Directory

  24. 24

    Logging into Azure Active Directory without a Domain Name

  25. 25

    In Azure Active directory user disable option is there?

  26. 26

    Using OAuth to connect to a Windows Azure Active Directory

  27. 27

    Transforming claims with Windows Azure Active Directory (WAAD)

  28. 28

    Verify a domain name in Azure Active Directory

  29. 29

    Accessing Azure Active Directory with username and password

HotTag

Archive