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

Announcements

No record found.

News and Announcements icon
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 1,172

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,173 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
    1,172 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 617

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 461 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 298 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans