Study FAQ
How do I test a Power Platform custom connector from its backend through the consuming app or flow?
Also asked as 2
- How can I isolate a custom connector problem between the API, connector, and consumer?
- What end-to-end checks should I run before releasing a custom connector operation?
Answer
Test the hosted endpoint, the connector with its intended connection, and the consuming app or flow as three separate boundaries. Use synthetic inputs and controlled backend responses. Check the endpoint directly for valid input, invalid input, and rejected credentials. If a gateway fronts the API, test the route and authorization the connector actually uses.
In the connector's Test page, execute the intended operation. Confirm request parameters arrived correctly and the returned status and schema match the exposed contract. Exercise a backend 400, a controlled 503, and malformed success if a transformation is configured. Keep one owner for each runtime adjustment, such as flattening a response at either the gateway or connector.
Run a development copy of the app or flow. Inspect its bound operation, connection, actual fields, and failure branch. A connector Test call can succeed while a consumer still uses an older action schema. Evaluate bounded retry only for a supported transient error and a safe operation. Check durable target state before replaying a write with a lost response.
Record connector and script revision, connection identity, status, schema, and a safe server correlation reference. Keep keys and sensitive query strings out of logs.
Microsoft references
Full explanation
AB-400: Custom Connectors with OpenAPI, Policies and Code
Study guide · AB-400
Read the full explanation