Car Loan Payment Estimator for Power Apps and Power Automate | Microsoft PL-400 Exam

Estimating Monthly Car Loan Payments in Power Apps and Power Automate

Question

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?

Answers

Explanations

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.

Home

Action items v

My flows

Create

Templates

Connectors

Data “

Tables

Connections

Custom connectors @

Gateways
Monitor Ba
Al Builder wy

Process advisor
(preview)

Solutions

Learn

Connector Name CBEstimator

1.General > 2.Security > 3. Definition

Security

Choose the authentication type and

fill in the required fields to set the
security for your custom connector.
Learn more

4. Test

Authentication type

Choose what authentication is implemented by your API *

Create connector Cancel

@ ) Swagger Editor

OAuth 2.0

No authentication

Basic authentication

API Key
OAuth 2.0

Identity Provider

Generic Oauth 2

Client id *

Client id

Client secret *

Authorization URL *

Authorization URL

Token URL *

Token URL

Refresh URL *

Refresh URL

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:

The best approach to integrate the Azure Function that estimates monthly car loan payments into Power Apps and Power Automate is to create a Custom Connector.

A Custom Connector is a proxy or wrapper around an API that allows you to integrate external services into Power Apps and Power Automate. Custom connectors provide a simplified interface to access and interact with external services and expose the API operations as a set of actions and triggers.

To create a Custom Connector for the Azure Function, you need to follow these steps:

  1. Create a new Custom Connector by going to the Power Apps or Power Automate portal, selecting the "Custom connectors" option from the left-hand menu, and clicking the "New custom connector" button.

  2. Enter a name for the connector, and then provide the connection details for the Azure Function. This will include the base URL for the Azure Function, any authentication details, and any headers or query parameters that need to be passed.

  3. Define the actions that will be available through the Custom Connector. In this case, you would define an action that accepts the three parameters required by the Azure Function: total loan amount, loan term (in months), and interest rate.

  4. Map the inputs and outputs of the action to the parameters and return values of the Azure Function.

  5. Test the Custom Connector by using it in a Power App or Power Automate flow.

Note that creating a Dataverse plug-in or a Dataverse Web API would not be the best approach for integrating the Azure Function into Power Apps and Power Automate, as these options are more suited for integrating with the Dataverse data model. PCF components, on the other hand, can be used to create custom controls and visualizations in Power Apps, but are not directly related to integrating with external services.