Set up governance components
Multiple governance components are provided in the Center of Excellence (CoE) Starter Kit; each will require some configuration to install. The installation instructions in this article have been segmented based on the set of components that should be grouped and installed together, and dependencies on other segments are outlined in each section.
Important
You cannot use the archival solution if you have secured the environment with security groups. Please see Security groups and approvals
Initialize flow approval tables in your environment
These flows in the solution use the built-in Approval actions of Power Automate and therefore require it having been installed on the environment.
Admin | Archive and Clean Up v2 (Start Approval for Apps)
Admin | Archive and Clean Up v2 (Start Approval for Flows)
Admin | Archive and Clean Up v2 (Check Approval)
Admin | Archive and Clean Up v2 (Clean Up and Delete)
If you are installing the solution in a new environment, or one in which Approvals have not been used in the past, then the Approval tables must be initialized before you can install the solution. The easiest way to do this is to create a "dummy" approval flow.
Go to flow.microsoft.com and select your CoE environment.
Select + New > Instant (From Blank).
Pick manually trigger a flow as the trigger, and enter Admin | Dummy Approval Flow as the name.

Select + New Step to add an approval action to the flow, and then search for and select Create an approval.
Select a dummy title, and enter your email address under Assigned To.

In the upper-right corner, select Test, and then select I'll perform the trigger action.
Select Save & Test
Select Run Flow
Note
This flow can take up to ten minutes to run initially. After it runs, you can delete the flow because it won't be needed anymore.
Select Solutions on the left side panel, and you should now see two new Flow Approvals solutions. Note that the presence of these solutions was the point of this step, and the way you know it succeeded.

Import the solution
The Core Components solution is required for the Governance Components solution, or any other component in the starter kit, to work.
Follow the instructions detailed under Set up core components to import the solution either into your Production or your Dataverse for Teams environment.
Import the CenterOfExcellenceAuditComponents_x_x_x_xx_managed.zip file.
Select a connection for all connectors.

Select Import without adding values to the Environment Variables, these will be updated later - see update environment variables
Update environment variables
This step should be completed after you import the solution. Environment variables are used to store application and flow configuration data. This means that you only have to set the value once per environment and it will be used in all necessary flows and apps in that environment..
All flows in this solution depend on all environment variables' being configured.
Tip
Learn how to update environment variables for Production and Dataverse for Teams environments: Update Environment Variables.
Select See Environment Variables to set the values as described in the following table.
Name Description Auto Delete On Archive Determines whether apps andd flows are deleted when they're approved for deletion in the following flow: Admin | App Archive and Clean Up - Check Approvals and Archive.
Value must be Yes or No. A default value of Yes is provided.Exclude Default environment from Compliance Requests Determines if the default environment is excluded in the Compliance Details request flow.
Value must be Yes or No. A default value of No is provided.ProductionEnvironment Determines if the environment is Production or Dev/Test. True (the default) will mean that the approvals are sent to app/flow owners. False will send those approvals to the admin email. Cleanup Old Objects App URL (Optional) Link to the Cleanup Old Objects canvas app included in this solution.
If included, communication about old objects which are considered no longer useful will include the link to make cleanup easierFlow Approvals URL (Optional) Link to Power Automate's Approval page for your CoE Environment
If included, communication about old objects which are considered no longer useful will include the link to make cleanup easier.
To get the URL Browse to flows.microsoft.com for your CoE Environment > Action Items > Approvals.
URL should end in approvals/received
Activate the flows
This Governance Components solution contains flows that you'll need to manually turn on as soon as you're ready to use them.
Update Run only users
There are three child flows which will need their Run only users properties updated.
- HELPER - CanvasAppOperations Gov
- HELPER - CloudFlowOperations Gov
- HELPER - ObjectOperations Gov
- Request Orphaned Objects Reassigned (Child)
For all three of these flows, go to the details page and click the Run only users edit button.
You will see all the connections in the child flow. For each one, change the value to Use this connection (userPrincipalName@company.com). If there is no connection for any of the connectors, go to Data > Connections, and create one for the connector.

Update the variables and flows back in Core
Get the URL for the Developer Compliance Center
Browse to Details page of the Developer Compliance Center and grab the Web link
Browse to Default Solution, filter to Environment Variables, edit the Developer Compliance Center URL variable and add the URL from step 1 as a current value

Return to the Core Solution and turn on Admin | Compliance detail request v3

Share apps with makers
The Governance Components solution contains one app, which is used by makers to update the compliance details of their applications.
Developer Compliance Center
Your app, flow, and bot makers will use the Developer Compliance Center app to provide further information about the resources they're building. Get familiar with the audit process and share the app with your makers. Your makers must have a Power Apps Premium license to use this app.
In addition to sharing the app, you'll also need to share the data by providing data permissions to the user.
Share the app from a Production environment
Go to make.powerapps.com and select the app.
Select ... > Share.
Select the Dataverse data permissions.

Select the Power Platform Maker Security Role.

Select Share.
Share the app from a Dataverse for Teams environment
You will share the app with your colleagues that don't belong to your CoE team.
More information: Sharing for broad distribution apps
Open to the Power Apps app in Teams, select Build, and select the Team you have added the solution to.
Select Installed apps.
Assign table persmissions to share the data with your colleagues.
- Select See all for Center of Excellence - Core Components.
- Select Tables from the left pane.
- Select PowerApps App > Manage Permissions.
- Select Colleagues with access.
- Set the permission to Full Access.

- Repeat these steps for the Environment, Flow, PVA, Desktop flow tables.
- Repeat these steps for the COE Settings table, but grant Reference permission only.
Select Build and select Share with colleagues to share the app with your colleagues. You must be a Team Owner to see this option.

Search for, and select the security group you want to share the apps and tables with. Select the Developer Compliance Center app.

Select Save.