How to Configure Azure Functions and Authentication for Custom Connectors in Power Apps?
Table of Contents
Question
A company uses Microsoft Power Platform.
The Power Platform makers want to perform complex calculations in canvas apps. You build an Azure function to perform the calculations.
You need to configure the Azure function and the authentication for the custom connector.
Which three actions should you perform? Each correct answer presents part of the solution.
Select all answers that apply.
A. Use Get function URL.
B. Configure the Azure function with a HTTP trigger.
C. Configure the Azure function with a queue trigger.
D. Register an application in Microsoft Entra ID.
E. Select API key for authentication type in the custom connector.
F. Select OAuth 2.0 for authentication type in the custom connector.
Answer
A. Use Get function URL.
B. Configure the Azure function with a HTTP trigger.
E. Select API key for authentication type in the custom connector.
Explanation
This item tests the candidate’s knowledge of creating an Azure function to be used in a custom connector.
Custom connectors require REST APIs and perform HTTPS calls to the APIs. You must configure the Azure function to be able to be used as a REST API by configuring an HTTP trigger. The trigger causes the function to run, and an HTTP trigger exposes a REST endpoint that can be used when creating the custom connector. Get function URL generates the key that the custom connector uses to authenticate against the Azure function using the API key authentication type.
Azure functions that use a queue trigger cannot be used with custom connectors; you must use an HTTP trigger. Azure functions cannot be authenticated using OAuth 2.0 unless you protect the function with Microsoft Entra ID. An application does not need to be registered in Microsoft Entra ID to call the Azure function in a custom connector.
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.