Share via

Provision Power Platform API for my tenant

Morgan Korn 45 Reputation points
2025-11-19T21:21:17.6733333+00:00

Hello. Power Platform API service principal (AppId: 0e0bf3cc-3078-4fd4-9ef3-cb6dc0245b10) is missing from my Azure AD tenant. I need it provisioned to enable API permissions for automation. Thanks. Morgan Korn. PII removed

Microsoft Security | Microsoft Entra | Microsoft Entra ID

Answer accepted by question author

Sridevi Machavarapu 32,000 Reputation points Microsoft External Staff Moderator
2025-11-19T21:50:30.14+00:00

Hello Morgan Korn,

The Power Platform API service principal doesn’t show up automatically in some tenants. Initially, I also could not find that API service principal in my tenant as below:

enter image description here

In such cases, Microsoft’s guidance is to force a refresh by manually creating the service principal using Microsoft Graph.

You can provision Power Platform API by running below PowerShell commands:

#Install the Microsoft Graph PowerShell SDK module
Install-Module Microsoft.Graph -Scope CurrentUser -Repository PSGallery -Force
Connect-MgGraph
New-MgServicePrincipal -AppId 8578e004-a5c6-46e7-913e-12f58912df43 -DisplayName "Power Platform API"

enter image description here

After running this, wait few minutes and check again.

User's image

Once it shows up, you’ll be able to add the required API permissions to your app registration.User's image

For more details on this, refer this MS Documentation: Authentication - Power Platform API permissions | Microsoft

Hope this helps! Feel free to reach out for further queries.


If this answers your query, do click Accept Answer and Yes for was this answer helpful, which may help members with similar questions.

Was this answer helpful?

1 person found this answer helpful.

Answer accepted by question author

AI answer

2025-11-20T01:30:09.7+00:00

To provision the Power Platform API service principal in your Azure AD tenant, you can create it using PowerShell commands. Here’s a general approach:

  1. Install the Microsoft Graph PowerShell module if you haven't already:
       Install-Module Microsoft.Graph -Scope CurrentUser
    
  2. Log in as a Microsoft Entra user with permission to create service principals:
       Connect-MgGraph -Scopes "Directory.ReadWrite.All"
    
  3. Create the Service Principal for the Power Platform API using its AppId:
       New-MgServicePrincipal -AppId "0e0bf3cc-3078-4fd4-9ef3-cb6dc0245b10"
    

After running these commands, check the Azure portal under Enterprise Applications to confirm that the service principal has been created successfully. You may also need to assign the necessary API permissions to this service principal after it has been provisioned.


References:

AI-generated content may be incorrect. Read our transparency notes for more information.

Was this answer helpful?

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.