cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sultankh18 Frequent Visitor
Frequent Visitor

Power BI JavaScript API Error: 'AADSTS50011: The reply url specified in the request does not match '

Redirect URLs in both the Javascript API and Azure AD application are same. Still getting same issue. Any help?

'AADSTS50011: The reply url specified in the request does not match the reply urls configured for the application:'

 

Error-PowerBI.PNG

6 REPLIES 6
JenApro Frequent Visitor
Frequent Visitor

Re: Power BI JavaScript API Error: 'AADSTS50011: The reply url specified in the request does not mat

Hi, I'm also having this issue.

 

I've tried all found sollution sugestions found online on both microsoft foras and on stack.

 

I get this error running on a localhost environment, and I have setup replyurl in azure to match this.

 

but I keep getting this error no matter what i try, I'd be glad to get some suggestions on how to fix it :-)

sultankh18 Frequent Visitor
Frequent Visitor

Re: Power BI JavaScript API Error: 'AADSTS50011: The reply url specified in the request does not mat

Hi Jen, can you please send me the full url you're redirected to when you face this error?

JenApro Frequent Visitor
Frequent Visitor

Re: Power BI JavaScript API Error: 'AADSTS50011: The reply url specified in the request does not mat

sultankh18 Frequent Visitor
Frequent Visitor

Re: Power BI JavaScript API Error: 'AADSTS50011: The reply url specified in the request does not mat

Add '/Redirect' in the reply url in your app in the Azure AD Portal but don't add it in the Web application configurations.

 

E.g if your reply url is 'http://localhost:13526/' then change it to 'http://localhost:13526/Redirect' in the AD Portal but not in the App configurations. Kindly notify me if it works.

JenApro Frequent Visitor
Frequent Visitor

Re: Power BI JavaScript API Error: 'AADSTS50011: The reply url specified in the request does not mat

Hi,

 

firstly, thank you very much for your help :-)

 

then this error occurs:

 

{"error":"invalid_client","error_description":"AADSTS500112: The reply address 'http://localhost:13526/' does not match the reply address 'http://localhost:13526/Redirect' provided when requesting

Highlighted
sultankh18 Frequent Visitor
Frequent Visitor

Re: Power BI JavaScript API Error: 'AADSTS50011: The reply url specified in the request does not mat

No problem Jen :-)

 

Retry by removing the '/' at the end in the app configurations.