Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

403 error with service principle account

(0) ShareShare
ReportReport
Posted on by

I have a service principle account set up for my power platform environments. I have given it api permissions for flow service, though when I try to run powerShell script to turn on imported flows via DevOps pipeline I get a 403 forbidden error with the following error message: 

 

Ben_C_1-1659099030969.png

 

I have given the service account system admin and environment maker privileges.  

 

  • Ben_C Profile Picture
    on at
    Re: 403 error with service principle account

    Hi, 

     

    We had to spin up an account in the target environment to allow for access. 

     

    Cheers.

  • Community Power Platform Member Profile Picture
    on at
    Re: 403 error with service principle account

    Hi Ben,

    Could I have more details how you fix the issue? What do you mean a service user has to be created with an extra license?

     

    Randy

  • Verified answer
    Ben_C Profile Picture
    on at
    Re: 403 error with service principle account

    To fix this issue, a service user had to be created with an extra license, also to get the flows to work a connection has to be made in the target environment to be able to add the GUID into a settings file included in the imported solution. 

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,668 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow