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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / pac admin create with ...
Power Apps
Suggested Answer

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 387

#2
timl Profile Picture

timl 340 Super User 2026 Season 1

#3
Vish WR Profile Picture

Vish WR 301

Last 30 days Overall leaderboard