How to Configure Service Principals for Secure Power Automate Flows with Graph API?
Table of Contents
Question
You are creating a cloud flow.
You need to ensure that the flow action runs without a user account and accesses the Graph API without requiring credentials to be specified in the flow.
Which three steps should you perform? Each correct answer presents part of the solution. Choose three.
Select all answers that apply.
A. Create a service principal in Microsoft Entra ID.
B. Create a custom security role in Microsoft Dataverse.
C. Store the service principal credentials inside Azure Key Vault.
D. Configure License to role mapping in the Dataverse environment settings.
E. Assign the service principal to an application user in the Microsoft Dataverse environment.
F. Configure Hierarchy security in the Dataverse environment settings.
Answer
A. Create a service principal in Microsoft Entra ID.
C. Store the service principal credentials inside Azure Key Vault.
E. Assign the service principal to an application user in the Microsoft Dataverse environment.
Explanation
This item tests the candidate’s knowledge of implementing Azure Key Vault and Microsoft Entra ID service principals.
The service principal is a non-interactive user that can be used to run critical flows and doesn’t get impacted when a flow owner leaves the organization. Azure Key Vault is used to securely store the service principal credentials. Service principal must be assigned to an application user. The flow connection should be shared with the service principal application user.
A custom security role is not required because you do not assign any specific access privilege on Dataverse. License to role mapping is used to automatically assign certain roles to users when they are added to Dataverse based on the license the users are assigned. Hierarchy security is a security model based on the direct reporting structure or management chain. This configuration does not have any relevance in this scenario.
Microsoft Power Platform Developer PL-400 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Microsoft Power Platform Developer PL-400 exam and earn Microsoft Power Platform Developer PL-400 certification.