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 / How to Specify Solutio...
Power Apps
Unanswered

How to Specify Solution Owner With Azure Pipelines

(1) ShareShare
ReportReport
Posted on by 256

I'm currently using an Azure pipelines and Power Platform build tools to automate the ALM of my solutions. However, when the solution is imported into the other environments (UAT & PROD), the solution components are owned by the service application account (using a service principal).

 

I know that power apps ownership can be changed with PowerShell commands but how can this process be better integrated into the build->export->import workflow of Power Platform ALM?

I have the same question (0)
  • crisfervil Profile Picture
    126 on at

    Good question!

     

    I'll reply with another question 😛

     

    Why don't you use the credentials of the user you want to make the owner of the solution components in your Azure Pipelines?

     

    Alternatively, you can register an Application User in your Dataverse environment and run your pipelines with it.

    Steps to create an Application User below:

    https://readyxrm.blog/2020/10/30/how-to-setup-a-common-data-service-application-user-and-why/

     

    I hope it helps!

  • byrnep Profile Picture
    218 on at

    He's likely following this: https://docs.microsoft.com/en-us/power-platform/alm/devops-build-tools

     

    That sets up a Service Principal as an application user...  he's already done what your talking about.


    What I think he's asking is how to add an additional owner of the apps/flow that is a real AD user.  Service principals are not AD accounts.


    You'd want this so you could log into the environments as that user and manage the apps/flows if needed.  Something you can't do with a Service Principal.

     

    To answer his questions, this is as close as I've gotten.  Haven't tried it yet... YMMV.

    https://github.com/dylanberry/PowerPlatformDevops/blob/main/scripts/Set-CanvasAppOwnerAndSharing.ps1

     

  • crisfervil Profile Picture
    126 on at

    O I see, it makes sense! 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 762

#2
11manish Profile Picture

11manish 640

#3
Valantis Profile Picture

Valantis 548

Last 30 days Overall leaderboard