Showing results for 
Search instead for 
Did you mean: 
Not applicable

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:'



New Member

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 🙂

Not applicable

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

Not applicable

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.



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

Not applicable

No problem Jen 🙂


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

Helpful resources

User Groups Public Preview

Join us for our User Group Public Preview!

Power BI User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.

March Update

Check it Out!

Click here to read more about the March 2021 Updates!


The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors