Forum Discussion
lishen
7 years agoNew Member
AAD Auth failed with query
Hi, there: We have a web api which supports post and get with AAD auth - we have our own app id in AAD and user sign in with name: ***@smrtt.onmicrosoft.com then password. When we try to ...
v-jiascu-msft
Microsoft Employee
7 years agoHi lishen,
If it's possible for you to make the API more clear. What is it? Maybe it only accepts a token rather than username and password. Please check it out.
Whether you can set something in the header depends on the API definition. What does it accept?
Best Regards,
lishen
7 years agoNew Member
Hi,
When we put WWW-Authenticate header →Bearer authorization_uri="https://login.microsoftonline.com/common", realm="https://cqd.lync.com" to the headers sent by CQD, we are able to get a credential prompt from Power BI Desktop. However, it seems to be ignoring the realm portion then I get this error:
invalid_resource: AADSTS50001: The application named https://<siteName>.azurewebsites.net was not found in the tenant named dab37882-39e9-4464-8d77-e03724f43315. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You might have sent your authentication request to the wrong tenant.Same trouble with the following issue: