Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Governance and Administ...
Unanswered

pac admin create with service principal

(1) ShareShare
ReportReport
Posted on by

Hi community,

 

I have a service principal (app registration) in Azure with the Power Platform Administrator role.

I create an pac auth create profile for this service principal.

So far so good.

But when I run pac admin create to create a new environment, an error message appear:

henk_rademaker_0-1678976814221.png

Error: The service principal with id 'xxxxxxxxxxx' for application yyyyyyyyyyyyyyy does not have permission to access the path 'https://10.0.5.27:20214/providers/Microsoft.BusinessAppPlatform/locations/europe/environmentCurrencies?api-version=2020-08-01' in tenant zzzzzzzzzzzzzzz.

 

Anyone suggestions? 

Is it possible at all to create an environment with a service principal?

 

Looking forward to your reactions.

 

Thanks in advance!

  • Suggested answer
    Hamed Ghodrat Profile Picture
    37 on at
    pac admin create with service principal
    Hi Henk,
    I know it might be too late. But have you followed all the steps when you have created the service principal?
    I have a training video which explains how.
    https://youtu.be/RNiMTPLr-4c 

    Also the Microsoft document itself is a good one.
    https://learn.microsoft.com/en-us/power-platform/admin/powerplatform-api-create-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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1

Featured topics