Today’s blog I’ll quickly show how to setup a Power Platform service principal account for Dataverse and use it with Power Automate flows.
A service principal is a non-interactive “user account” that can perform tasks for Dataverse or other applications with elevated permissions and better security.
The tutorial consists of four primary steps
- Register an application in Azure Entra ID and give it a name.
- Configure API permissions for the application to use the Dynamics CRM API with
user_impersonation
scope. - Create a secret for the application, which acts as a password, and copy its value.
- Setup an application user for a Power Platform environment and assign it the system administrator role.
![](https://recursion.no/wp-content/uploads/2024/02/2024-02-13_21-45-04-1024x273.png)
![](https://recursion.no/wp-content/uploads/2024/02/2024-02-13_21-46-08.png)
![](https://recursion.no/wp-content/uploads/2024/02/2024-02-13_21-47-40.png)
![](https://recursion.no/wp-content/uploads/2024/02/2024-02-13_21-49-32-1024x439.png)
![](https://recursion.no/wp-content/uploads/2024/02/2024-02-13_21-50-45-1024x487.png)
![](https://recursion.no/wp-content/uploads/2024/02/2024-02-13_21-51-54-1024x481.png)
![](https://recursion.no/wp-content/uploads/2024/02/2024-02-13_22-46-08.png)
![](https://recursion.no/wp-content/uploads/2024/02/2024-02-13_21-59-35.png)
![](https://recursion.no/wp-content/uploads/2024/02/2024-02-13_22-00-26.png)
![](https://recursion.no/wp-content/uploads/2024/02/2024-02-13_22-01-53.png)
![](https://recursion.no/wp-content/uploads/2024/02/2024-02-13_22-04-57-2-1024x701.png)
Leave a Reply