You create an Azure Function that estimates monthly car loan payments.
It takes three parameters: total loan amount, loan term (in months), and interest rate.
You want to use this estimator in the Power Apps and Power Automate.
What should you do?
Click on the arrows to vote for the correct answer
A. B. C. D.Correct Answer: B
Power Platform provides 300+ connectors.
If you need to communicate with services that Microsoft doesn't have on its list of connectors, you can create your custom connector.
A custom connector is an API wrapper around your REST API.
You can create such a wrapper for Azure Functions, Azure Web Apps, Azure API apps.
When you create your application using one of these services, before you can export your application's APIs, you need to describe the API's operations by creating API definitions.
Power Apps or Power Automate portals provide a wizard-type interface for creating a custom connector (Number 1)
You need to input the connector name, select the security, and set the authentication type for your custom connector.
There are four types of API authentication you can choose from (Number 2)
Then you provide the API definition.
After the custom connector's successful test, you push the "Create connector" button (Number 3)
And you can use your new custom connector in Power Apps, Power Automate, and Azure Logic Apps.
Options A, C, and D are incorrect because you don't need to create a Dataverse plug-in, Web API, or PCF component to connect to the external application.
You need to create a custom connector.
For more information about Custom connectors, please visit the below URLs:
To use the Azure Function that estimates monthly car loan payments in Power Apps and Power Automate, you should create a Custom connector.
A Custom connector allows you to create a connection between Power Apps, Power Automate, and an external service or API, in this case, the Azure Function. The connector provides a standardized way to interact with the Azure Function, and it can be used by both Power Apps and Power Automate to invoke the function and pass the required parameters.
Here are the steps to create a Custom connector:
In Power Apps or Power Automate, go to the Custom connectors page and click on the "New custom connector" button.
Enter a name and a description for the connector, and then specify the connector's endpoint URL. In this case, the endpoint URL should be the URL of the Azure Function that you created to estimate car loan payments.
Define the connector's actions. An action is a specific operation that can be performed by the connector, such as invoking the Azure Function to estimate monthly car loan payments. For each action, you need to specify the HTTP method (GET, POST, etc.), the request URL (which includes any required query parameters), and the request headers.
Define the action's parameters. In this case, the parameters are the total loan amount, loan term, and interest rate. You need to specify the data type for each parameter, as well as any validation rules or default values.
Test the connector by using it in Power Apps or Power Automate. You can create a new flow or app that uses the connector to invoke the Azure Function and estimate car loan payments based on the specified parameters.
Overall, using a Custom connector to integrate an Azure Function into Power Apps and Power Automate is a straightforward process that allows you to leverage the full power of these platforms to build custom business applications and workflows.