Skip to Content

PL-400: Which Steps Enable Managed Identity Authentication for Dataverse in Azure Functions?

How to Connect Azure Functions to Dataverse Using Managed Identity in .NET 6?

Table of Contents

Question

You develop an Azure function requesting data from Dataverse that uses .Net 6.0 and Microsoft.PowerPlatform.Dataverse.Client.

You need to change how you connect to Dataverse from ClientID\ClientSecret to a managed identity.

Which three actions should you perform? Each correct answer presents part of the solution.

Select all answers that apply.

A. Add an identity to the Azure function.
B. Add the Azure function identity to Microsoft Entra ID.
C. Add the identity to the connection string being used.
D. Add the identity as an application user to Dataverse and assign an appropriate role.
E. Change the instantiation of the ServiceClient so it is using the constructor for a managed identity.

Answer

A. Add an identity to the Azure function.
D. Add the identity as an application user to Dataverse and assign an appropriate role.
E. Change the instantiation of the ServiceClient so it is using the constructor for a managed identity.

Explanation

This item tests the candidate’s knowledge of managed identities and how they work with Dataverse.

To use a managed identity in Dataverse, a person must create a managed identify for the Azure function, add it to Dataverse as an application user, as well as alter the way the ServiceClient is created.

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.