PL 400 Custom Connectors 5 — Questions and Answers
Question 1: A custom connector needs to call an on-premises API that is not publicly accessible. Which component enables this connectivity?
- Azure API Management gateway
- On-premises data gateway (Correct answer)
- Azure Virtual Network integration
- Power Platform IP allowlisting
Correct answer: On-premises data gateway
The on-premises data gateway acts as a bridge between Power Platform cloud services and APIs hosted inside a private corporate network.
Question 2: Which property in the OpenAPI definition controls the base URL that the custom connector uses to make API calls?
- info.contact.url
- host and basePath (Swagger 2.0) or servers[].url (OpenAPI 3.0) (Correct answer)
- externalDocs.url
- x-ms-api-annotation.url
Correct answer: host and basePath (Swagger 2.0) or servers[].url (OpenAPI 3.0)
In Swagger 2.0 the host and basePath fields combine to form the base URL; in OpenAPI 3.0 the servers array's url property serves this purpose.
Question 3: After publishing a custom connector update, existing connections used by flows continue to use the old definition until which action is taken?
- The flow is saved again
- The connection is recreated or the flow is re-authenticated (Correct answer)
- The Power Platform environment is restarted
- The connector is shared again with users
Correct answer: The connection is recreated or the flow is re-authenticated
Existing connections cache their configuration; recreating the connection or refreshing authentication picks up the updated connector definition.
Question 4: A developer wants to add a code snippet to transform a request body before it is sent from a custom connector. Where is this transformation configured in the connector portal?
- In the connector's OpenAPI definition using a custom extension
- In the Definition tab's request body schema
- In the Code (Preview) section of the custom connector editor (Correct answer)
- In a pre-request Power Automate action
Correct answer: In the Code (Preview) section of the custom connector editor
The Code (Preview) section allows developers to write C# script that runs before the request is sent or after the response is received.
Question 5: Which Azure service can be placed in front of a backend API to provide throttling, caching, and a single endpoint for multiple custom connectors?
- Azure Service Bus
- Azure Logic Apps
- Azure API Management (Correct answer)
- Azure Relay
Correct answer: Azure API Management
Azure API Management provides a managed gateway with policies for throttling, caching, and transformation in front of backend APIs used by custom connectors.
Question 6: When creating a custom connector from an Azure API Management API, what must be exported from APIM and imported into Power Platform?
- ARM template
- OpenAPI definition (Correct answer)
- WSDL file
- Logic App workflow JSON
Correct answer: OpenAPI definition
Exporting the OpenAPI definition from APIM and importing it into Power Platform is the standard path for creating a custom connector from an APIM-managed API.
Question 7: A custom connector action returns an object with a property whose name is unknown at design time. Which x-ms extension allows the connector to declare this dynamic output structure?
- x-ms-dynamic-values
- x-ms-dynamic-schema (Correct answer)
- x-ms-visibility
- x-ms-summary
Correct answer: x-ms-dynamic-schema
x-ms-dynamic-schema instructs the connector to call a specified operation at design time to retrieve the actual output schema for that action.
A custom connector needs to call an on-premises API that is not publicly accessible.
Which component enables this connectivity?