Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

AADSTS500011: The resource principal named XXXX.api.crm4.dynamics.com was not found in the tenant named XXXXX. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You might

Posted on by 2,664

I tried to execute the CALL at D365 CRM Online API. I am using Postman.But when I tried to Get new Access Token, I have the following error:

"AADSTS500011: The resource principal named XXXX.api.crm4.dynamics.com was not found in the tenant named XXXXX. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You might have sent your authentication request to the wrong tenant."

Here the steps that I followed:

  1. Create new App registration on Azure Active Directory 

    pastedimage1635153238858v1.png

     pastedimage1635153238859v2.png

     

    pastedimage1635153238859v3.png

     pastedimage1635153238859v4.png

  2. Configure Environment on PostMan 

    pastedimage1635153238859v5.png

  3. Configure Authorization

     pastedimage1635153238860v6.png

  4. Click On "Get New Access Token"

  5. I have this error

     pastedimage1635153238860v7.png

How can I solve the issue?

Thanks

Alessandro

  • Suggested answer
    PerezAguiar Profile Picture
    PerezAguiar on at
    RE: AADSTS500011: The resource principal named XXXX.api.crm4.dynamics.com was not found in the tenant named XXXXX. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You m

    Hey!

    At the moment you've configured the first 2 parts:

    - Application user within Azure

    - Postman connection.

    However the error message indicates that this "user" (or application user) doesn't exist in dynamics and doesn't have permissions.  You seem to be missing an intermediate step where you add the application user to Dynamics and provide access.  This is documented on https://docs.microsoft.com/en-us/power-platform/admin/manage-application-users 

    Regards

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans