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 / Share a Connection wit...
Power Apps
Unanswered

Share a Connection with service principal

(0) ShareShare
ReportReport
Posted on by 218

What are the reasons you would want to share a connection with a service principal?  They cannot own a connector, or be licensed for premium connectors so why would you be able to share it with a service principal?

 

sharescreen.png

 

 

  • joe_hannes_col Profile Picture
    1,843 Super User 2024 Season 1 on at

    Hello @byrnep,

     

    If you are using automated Application Lifecycle Management, e.g. through Azure DevOps pipelines, solutions will be imported through a service principal.

    To be able to automatically activate flows in the target environment, the service principal needs to have access to the connections. To achieve this, you can create a connection through a user account and then share it with this service principal.

  • FemaleMarvel365 Profile Picture
    57 on at

    Can it be used to run connections that the original user doesn't have permissions to? Like Entra ID?

  • joe_hannes_col Profile Picture
    1,843 Super User 2024 Season 1 on at

    Hello @FemaleMarvel365, yes, if a flow is set up to "use this connection" instead of the connecting on behalf of the user ("run-only user"): https://learn.microsoft.com/en-us/sharepoint/dev/business-apps/power-automate/guidance/manage-list-flows

     

  • velegandla Profile Picture
    204 Moderator on at

    @FemaleMarvel365 

     

    Service principal does support running flows but you need to be aware of the limitations.

     

    https://learn.microsoft.com/en-us/power-automate/service-principal-support 

     

    ====================================================

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    https://www.linkedin.com/in/devendravelegandla/ 

     

     

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 234 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard