web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Azure portal app registration reply url doesn't match with tenant url

(0) ShareShare
ReportReport
Posted on by

I have integrated adal.js in my dynamic crm custom solution to embed power bi report which works fine but since redirect url need to be set on azure portal app registration so has set my tenant url like:

https://myurl.crm6.dynamics.com

but I am getting message like :

"The reply url specified in the request does not match the reply urls configured for the application"

My custom dashboard has been set as default dashboard on tenant. And this custom dashboard contains adal.js and other related js code.

Any suggestion would be appreciated.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Shaminderpal Singh Profile Picture
    1,565 on at

    Hi,

    Have you specified the same url in both your adal.js request formation and in azure ad reply urls? Could you add your adal.js request params here to check further?

    -Shaminder

  • Community Member Profile Picture
    on at

    I think I missed to add in adal.js config with RedirectUri, but how to add for multi tenant? Can I add multi redirect uri in adal.js config?

  • Verified answer
    Shaminderpal Singh Profile Picture
    1,565 on at

    Redirect url is the one where your identity provider will redirect after a successful authorization flow (in case of azure OAuth2.0 flow). It makes sense to have multiple redirect url defined at identity provider level( in azure ad app), but not at the client level.

    So when you are implementing adal.js at your client level, it should always have one redirect url under which it is running because you want the request to be redirected back to this application once the server does auth check and gives you an access token back. 

    Hope this explanation helps.

    -Shaminder

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans