QuestionQ242

Develop integrations

You are creating a webhook-based integration for a Microsoft Azure Function.

Every environment has its own Azure Function endpoint and must connect to that endpoint. Testing must complete successfully in every environment before changes are applied to production. Copy the endpoint details from the Azure portal by using Get function URL.

You need to configure the webhooks.

Which four actions should you perform, in sequence?

Drag & Drop
Select Register New Web Hook.
Configure WebhookKey authentication.
Configure the webhook manually in production after testing.
Navigate to a Power Apps Maker portal solution.
Configure a HttpHeader authentication.
Deploy the solution to production after testing.
Open the Plug-in Registration tool.
Create an environment variable for the endpoint URL.
Explanation

Because every environment has its own Azure Function endpoint, you first create an environment variable to hold the endpoint URL so the correct value travels with the solution and is set per environment - this is what lets testing succeed in each environment before production. WebHooks are registered with the Plug-in Registration tool, so you open it, then choose Register New WebHook to define the name and endpoint. Finally you configure WebhookKey authentication: the 'Get function URL' link in the Azure portal supplies a ?code= key, and Microsoft documents that the WebhookKey option is the one designed for Azure Functions because the authentication query string key is named code. HttpHeader/HttpQueryString would not match the code-based key that Get function URL provides.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!