Reference
Dataverse and Copilot Studio
Before you can give consent for Copilot Studio, you will need an Entra ID application in the tenant you want to scan. This page shows how to create the app, and how to set up a Dataverse Environment by hand if Rencore Governance cannot set it up for you.
Create an Entra ID App
To create the app, you will need to:
-
Go to the Microsoft Entra Admin Center.
-
In the left-hand navigation menu, go to “Entra ID”.
-
Then click on “App registrations”.
-
At the top of this page, click ”+ New registration”.

- In “Name” enter “Dataverse Access for Rencore Governance”.
- For “Supported account types”, select “Accounts in this organizational directory only”.
- Click “Register”.
-
On the app’s “Overview” page, copy the “Application (client) ID” and the “Directory (tenant) ID”. You will need both when you give consent.
Create a Client Secret
To create a client secret, you will need to:
-
In the app, under “Manage”, click on “Certificates & secrets”.
-
Select “Client secrets” and then click ”+ New client secret”.

- In the Description enter something like “RencoreGovernance_Copilot”.
- Set “Expires” to “Recommended: 180 days (6 months)”.
- Click “Add”.
Tip: Copy the Value immediately, as it will only be displayed once and you will need it later.Note: When the secret expires, Rencore Governance can no longer scan Copilot Studio. Create a new secret before then and give consent again with the new Value.
Set API Permissions
To add the API permission, you will need to:
-
In the app, under “Manage”, click on “API permissions”.
-
Click ”+ Add a permission”.
-
Select “Dynamics CRM”.
-
Select “user_impersonation”.

-
Click “Add permissions”.
-
Once the app is ready, give consent as described in Copilot Studio Consent.
How Environments are set up
When you give consent, you register the app as a Power Platform management application with the script in the consent dialog. Rencore Governance then sets up every Environment it scans during the next Data Collection Job. In each Environment, it creates a read-only “Rencore Governance” security role and an application user for your app, and assigns the role to that user.
This works for Environments that Rencore Governance finds by itself and for Environments you list in “Environment Names”. You do not need to follow the manual steps below unless an Environment fails to connect.
Set up an Environment manually
If “See details” in “Manage consent” lists an Environment under the ones that failed to connect, you can set it up yourself. Repeat these steps for each failed Environment.
Create the Security Role
To create the security role, you will need to:
-
Go to the Power Platform Admin Center.
-
Click on the Environment that failed to connect.
-
Make sure you are a “System Administrator” of the Environment.
- Click on “Membership” on the top Navbar.
- On the new Dialogue window, click ”+ Add me”.
-
Return to the Environment details page and click on “Settings” on the top Navbar.

-
Under the “Users + permissions” heading, click “Security roles”.
-
Click ”+ New role” at the top of the page.
- Enter “Rencore Governance” for the “Role Name”.
- Select the Environment for the “Business unit”.
- Leave the other settings alone and click “Save”.
Permissions for the Security Role
On the Security Role Details page of the new role, use the search function in the top-right of the screen. Set “Read” to “Organization” for each of the following tables:
Table | Name |
|---|---|
AICopilot | aicopilot |
AIPlugin | aiplugin |
Agent | bot |
Agent component | botcomponent |
ConversationTranscript | conversationtranscript |
Process | workflow |
Organization | organization |
Team | team |
User | systemuser |
Create the Application User
To create the application user, you will need to:
-
On the Environment details page, click “See all” under the “S2S Apps” on the right.
-
Click ”+ New app user” above the Navbar.
-
On the new dialogue window, click ”+ Add an app”.
-
In the search, type “Dataverse Access for Rencore Governance”.

-
Select the app and click “Add”.
-
Select the Environment for the “Business unit”.
-
Click the pencil next to “Security roles”.
- Select the role “Rencore Governance”.
- Click “Save”.
-
On the “Role assignment confirmation”, click “Save”.
-
-
Click “Create”.
The next Data Collection Job tries the Environment again.