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 :
Finance | Project Operations, Human Resources, ...
Answered

AADSTS50011 error logging to D365FO

(0) ShareShare
ReportReport
Posted on by 942

Hello,

I have a separate development machine deployed for me in LCS. Every time I try to login to D365FO I get this error

pastedimage1646401933826v1.png

while googling I found a solution from Microsoft 

https://docs.microsoft.com/en-us/troubleshoot/azure/active-directory/error-code-aadsts50011-reply-url-mismatch

does it mean that the only solution is to add redirect URL in Azure AD and I can't do anything without having access to Azure AD?

Script AdminUserProvisioning completed successfully and I pointed out correct account there. If anyone encountered such an issue please let me know how to solve it

Thank you.

I have the same question (0)
  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi Azat,

    Is this an issue with all the users in your AAD. or is this related to this environment only?

  • Verified answer
    udaY-ch Profile Picture
    5,133 on at

    Hi,

    I have seen this problem and the "account" used in the AdminUserProvisioning is not connected to the domain.

    Double check the account and use appropriate one. Let's say, if the machine deployed from customer domain then we need to use the account specific to the domain.

    Ex:

    Partner company name : xxx

    Customer company name : yyy

    We should use yyy account in this case since the machine is deployed in customer domain.

    I hope, if you use the correct account then the sign in would get you into the application.

    /Uday

  • dark_knight Profile Picture
    942 on at

    yes. you are right. thank you. I used the wrong account.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 646 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans