Skip to Content

PL-400: Which Steps Add x-ms-capabilities for Chunking Support in Custom Connector APIs?

How to Enable Chunking for Large Messages in Power Platform Custom Connectors?

Table of Contents

Question

You build a custom connector for an API that supports large messages with chunking.

You need to enable the custom connector to support chunking.

What should you do?

Select only one answer.

A. Import the API into Azure API Management.
B. Run the pac connector update command for Microsoft Power Platform CLI.
C. Edit the connector’s swagger file in the Swagger editor and add x-ms-capabilities.
D. Run the paconn validate –api-def command for Microsoft Power Platform Connectors CLI.

Answer

C. Edit the connector’s swagger file in the Swagger editor and add x-ms-capabilities.

Explanation

This item tests the candidate’s knowledge of extending an Open API definition for a custom connector.

To enable custom connector to support transfer of large messages with chunking, you must add “x-ms-capabilities”: {“chunkTransfer”: true} to the swagger definition for the connector. You can do this by using the Swagger editor in the Power Apps maker portal and adding the x-ms-capabilities line to the definition.

You could download the Swagger file, edit the file, and update it using CLI commands, but simply using pac connector is not sufficient and does not enable chunking on its own. The paconn validate –api-def CLI command validates that a local swagger file follows the rules for a custom connector and does not enable chunking. Adding the API to API Management will not enable chunking in the custom connector.

Microsoft Power Platform Developer PL-400 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Microsoft Power Platform Developer PL-400 exam and earn Microsoft Power Platform Developer PL-400 certification.