Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Add services account as owner automatically when anyone create PowerApps in particular environment

Hi , 


How we can add service account as owner automatically when anyone create PowerApps in particular environment . We are looking this solution as governance to handle and keep the track.




Dual Super User
Dual Super User

There are some PowerShell commands that you can use to change the owner of an app.  But I don't think there is any way to make it run automatically. But you could use a PowerShell script run daily to make the actual changes.  It just wouldn't do it automatically based on a new app being created.

PowerShell support - Power Platform | Microsoft Docs

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

Hello @neerajalig,


In addition to @Pstork1 suggestion, you should be able to do this programmatically.

Are you using the Center of Excellence starter kit? If you have set up the CoE Core Components, a flow automatically syncs all Power Apps into the Dataverse table "PowerApps Apps". You could create a flow that listens to new records in this table. Whenever a new app is added, you could use the "Power Apps for Admin" connector to change the owner of the app:


If you want to limit this to certain environments, you could use filter criteria on the trigger.

Regular Visitor

As an alternative to deploy the CoE as @joe recommends, you could try importing this flow and adapt it to your needs


‎Notify unauthorized app creators and give administrators access‎


It uses and AD group of restricted users as a filter, and grants co-owner permissions to administrators into any apps created by them.

Hope this helps, cheers.

Helpful resources

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (1,544)