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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / pac admin create with ...
Power Apps
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!

I have the same question (0)
  • Suggested answer
    Hamed Ghodrat Profile Picture
    37 on at
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard