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

Community site session details

Session Id :
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

(0) ShareShare
ReportReport
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

I have the same question (0)
  • Suggested answer
    PerezAguiar Profile Picture
    Microsoft Employee 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

Responsible AI policies

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

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 258

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 179

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 127 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans