Azure Active Directory Integrated authentication not working

Azure Active Directory Integrated authentication not working


0

I am writing a graphql api which uses azure DB(Azure AD authentication).

my connection string is
"TestDB": "Server=servername;Initial Catalog=DBName;User id = my ad acccount Persist Security Info=False;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Authentication=Active Directory Integrated;",

API is failing to authenticate the user. It gives an error "Failed to authenticate the user "myaccount" in Active Directory (Authentication=ActiveDirectoryIntegrated).rnError code 0xwstrust_endpoint_not_foundrnWS-Trust endpoint not found in metadata document. "

If I chnage from ‘active directory integrated’ to ‘active directory interactive’ , it is working fine. It orompts to login to AD and api returns results.

Please help to fix this.

Share
Improve this question


Load 7 more related questions


Show fewer related questions

0

Reset to default



Leave a Reply

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