Azure Function Registration | PL-400 Exam | Microsoft Power Platform Developer

Azure Function Registration

Question

You create an Azure Function that processes the Dataverse events.

Please select the information that you need to have for your function registration.

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E.

Correct Answers: A, C and D

The Dataverse provides a way to publish events to external services by using webhooks.

You can register the webhook using the Dataverse's Plug-in Registration Tool and attach it to the Dataverse events.

A webhook provides a synchronous integration and conducts immediate transactions.

.A webhook has three authentication options that users can use for the given endpoint: HttpHeader - includes keys and values in the message header.

WebhookKey - includes the code at the end of the endpoint address.

After you create an Azure Function and are ready to register it as the Dataverse webhook, you need to find the function URL in the Azure portal (Number 1).

WilleresxeyiayV40la:) © Search resources, services, and docs (G+/)

22 Dashboard > Function App > CBFunction > CBFunction

+ CBFunction | Code + Test --
R Function | @

— P Search (Cmd+/) « El save > Discard ©) Refresh CD Test/Run * Upload |) [a Get function URL

- i Qveraew CBFunction \ CBFunction \ function.json Vv
Developer =
: 0
Code + Test 2 "generatedBy": "Microsoft.NET.Sdk.Functions-—3.0.3",
(6) 3 “configurationSource": “attributes”,
£ Integration 4 "bindings": [
@ 5 {
Monitor 6 "type": "httpTrigger",
$ 7 "methods": [
© Function Keys Si ae
8 get",
9 "post"
gg 10 1,
11 "authLevel": "function",
| 12 "name": "req"
13 t
& 14 1,
—_ 15 "disabled": false,
= 16 “ScriptFile*:"..../bin/CBFunction. dll",
&> dy "entryPoint": "CBFunction.CBFunction. Run"
18

°

When you register the Webhook, you need to supply the Endpoint URL (Number 1) and the webhook key value (Number 2) on a registration screen.

A

sb CREATE NEW CONNECTION

vyvvrwrvwrvrovwrweowrewrwryvy

CBTrial x

G RELOAD ORGANIZATIONS (5) REPLAY PLUG-IN EXECUTION

Plugin Registration Tool

@@i VIEW PLUG-IN PROFILE

[3 Register v IQ View >» By Install Profiler g Debug

Registered Plugins & Custom Workflow Activities

@ (Assembly) Adxstudio.Xrm.Plugins

@ (Assembly) Adxstudio.Xrm.Plugins. WebNotification

@% (Assembly) Adxstudio.Xrm.Plugins, WebNotificationUrl
@% (Assembly) Adxstudio.Xrm.Workflow.AssignWebRole
@ (Assembly) Adxstudio.Xrm.Workflow.AzureStorage

@ (Assembly) Adxstudio.Xrm.Workflow.ldentity

@ (Assembly) Adxstudio.Xrm.Workflow.Invitation

% (Assembly) Adxstudio.Xrm.Workflow.UnassignWebRole
@ (Assembly) Adxstudio.Xrm.Workflow.WebNotifications
@ (Assembly) Microsoft.CDS.AdvancedAnalyticsInfra.Plugins
@% (Assembly) Microsoft.CDS.ApplicationUser.Plugins

@ (Assembly) Microsoft.CDS.Catalog.Plugins

be Unregister

© Refresh

Properties Details

P Search

WebHook Registration

Name
Endpoint URL
Authentication

Value

CBFunction

https://cbfun.azurewebsites.net/api/CBFun

WebhookKey

AmwNGYKfjgZezkbF2d2ixziTZwiwPNkOWLNRI

Save

Cancel

v

All other options are incorrect.

For more information about the Dataverse webhooks integration, please visit the below URLs:

To register an Azure Function that processes Dataverse events, you would need to provide the following information:

C. Endpoint URL: This is the URL of the Azure Function endpoint, which Dataverse will use to trigger the function. This URL should be provided during the registration process and should be unique to your function.

A. WebhookKey value: This is a secret key that is used to authenticate the requests made to your function endpoint. This key should be kept secure and should not be shared with others. When you register your function, you will need to provide this key to Dataverse so that it can be used to authenticate requests.

B. HttpHeader keys and values: This information specifies any additional headers that need to be included in the requests made to your function endpoint. These headers can be used to provide additional information about the request or to authenticate the request in some way.

D. HttpQueryString keys and values: This information specifies any query string parameters that need to be included in the requests made to your function endpoint. Query string parameters can be used to provide additional information about the request or to control how the function processes the request.

E. Function URL: This is the URL of the Azure Function that you have created. This URL is used to access the function directly, and can be used to test the function before registering it with Dataverse.

In summary, to register an Azure Function that processes Dataverse events, you would need to provide the function's endpoint URL, webhook key value, any necessary HTTP headers and query string parameters, and the function URL.