Forum Discussion

lishen's avatar
lishen
New Member
7 years ago

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 use power BI query, auth always fail - we tried all the auth including organizitional. basic...etc, anything which we can put in username and passwrod, it always came back with auth failed.

     We have another web api which does the same post and get, the only difference is : it accept  microsoft.com  credential. We can sign in in Power BI desktop with organizational auth using microsoft.com user name and password, things work well.

    This api is supposed to expose to other companys and they don't have microsoft.com user name and password,

     Is there anything we should set differently in header...etc to get our own app auth work? 

    Thanks,

 

 

 

   

2 Replies