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).\r\nError code 0xwstrust_endpoint_not_found\r\nWS-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.