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 365 | Integration, Dataverse...
Suggested Answer

Power Platform API: PrincipalNotExists

(3) ShareShare
ReportReport
Posted on by 12
Can you please help me solving this error?
 
{
    "code": "PrincipalNotExists",
    "message": "The request cannot be completed because the principal in tenant ***************************** with object id c17b22cc-************** does not exist."
}
 
Invoking this API: https://api.powerplatform.com/environmentmanagement/environments?api-version=2024-10-01
 
The AppRegistration does exists and it is configured as shown
 
 
As usual a TOken is being requested to Azure:
 
 
then used to make the api call.
I have the same question (0)
  • Suggested answer
    Tom_Gioielli Profile Picture
    2,710 Super User 2025 Season 2 on at
    Has the Service Principal been added to the Dataverse environment with proper permissions?
     
    Go to https://admin.powerplatform.com > Manage > Environments > S2S Apps > Add Principle and assign a security role
     
  • ___Pool___ Profile Picture
    12 on at
    If I understood well what you suggest would allow to access the environment where the app reg is being configured, but what I need is to get details about all envirnoments in power platform
  • Suggested answer
    Tom_Gioielli Profile Picture
    2,710 Super User 2025 Season 2 on at
     Sorry about that, thought this was for a specific environment.
     
    I did find this article where it looks like you need to register the Service Principle with Power Platform through the API. Was that done after creating the Service Principal?
     

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 365 | Integration, Dataverse, and general topics

#1
#ManoVerse Profile Picture

#ManoVerse 101

#2
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 62 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans