Plugin
power-automate
Plugin Version
2.1.0
Skill / Command
FlowAgent MCP tools (list_connections, pick_or_create_connection)
Bug Description
In a tenant default environment (environment name of the form Default-<tenantId>), list_connections fails with a network error. The tool derives the PPAPI island hostname as <envIdNoHyphens-first30>.<last2>.environment.api.powerplatform.com, but for the default environment that hostname does not exist in DNS (NXDOMAIN, verified with nslookup). pick_or_create_connection partially works (finds a connection name via its fallback) but reports status NotFound with the same underlying ENOTFOUND error.
Other tools against the same environment (list_flows, get_flow, create_flow, update_flow) work fine via api.flow.microsoft.com, and the legacy endpoint GET https://api.powerapps.com/providers/Microsoft.PowerApps/connections?api-version=2016-11-01&$filter=environment eq '<envName>' returns the connections correctly — a fallback to it would fix this.
Steps to Reproduce
- Use a tenant default environment (name of the form
Default-<tenantId>).
- Call
list_connections with that environment (with or without a connector filter; passing the bare GUID fails identically).
- Observe NetworkError ENOTFOUND for the derived island hostname.
Expected Behavior
Connections in the default environment are listed.
Actual Behavior
Flow API 0 NetworkError: Network request failed: ENOTFOUND (hostname: <envIdNoHyphens-first30>.<last2>.environment.api.powerplatform.com). This often means the environment ID produced an invalid PPAPI URL. The hostname is NXDOMAIN in public DNS.
Relevant Logs / Screenshots
{"code":"tool-error","message":"Flow API 0 NetworkError: Network request failed: ENOTFOUND (hostname: <redacted>.environment.api.powerplatform.com). This often means the environment ID produced an invalid PPAPI URL. Verify the environment ID is a valid GUID.","errorName":"FlowApiError"}
Environment
macOS 26.5.2 (25F84), Claude Code 2.1.218, Node v25.9.0
🤖 This issue was created using the /report-issue skill.
Plugin
power-automate
Plugin Version
2.1.0
Skill / Command
FlowAgent MCP tools (
list_connections,pick_or_create_connection)Bug Description
In a tenant default environment (environment name of the form
Default-<tenantId>),list_connectionsfails with a network error. The tool derives the PPAPI island hostname as<envIdNoHyphens-first30>.<last2>.environment.api.powerplatform.com, but for the default environment that hostname does not exist in DNS (NXDOMAIN, verified with nslookup).pick_or_create_connectionpartially works (finds a connection name via its fallback) but reports statusNotFoundwith the same underlying ENOTFOUND error.Other tools against the same environment (
list_flows,get_flow,create_flow,update_flow) work fine viaapi.flow.microsoft.com, and the legacy endpointGET https://api.powerapps.com/providers/Microsoft.PowerApps/connections?api-version=2016-11-01&$filter=environment eq '<envName>'returns the connections correctly — a fallback to it would fix this.Steps to Reproduce
Default-<tenantId>).list_connectionswith that environment (with or without aconnectorfilter; passing the bare GUID fails identically).Expected Behavior
Connections in the default environment are listed.
Actual Behavior
Flow API 0 NetworkError: Network request failed: ENOTFOUND (hostname: <envIdNoHyphens-first30>.<last2>.environment.api.powerplatform.com). This often means the environment ID produced an invalid PPAPI URL.The hostname is NXDOMAIN in public DNS.Relevant Logs / Screenshots
{"code":"tool-error","message":"Flow API 0 NetworkError: Network request failed: ENOTFOUND (hostname: <redacted>.environment.api.powerplatform.com). This often means the environment ID produced an invalid PPAPI URL. Verify the environment ID is a valid GUID.","errorName":"FlowApiError"}Environment
macOS 26.5.2 (25F84), Claude Code 2.1.218, Node v25.9.0
🤖 This issue was created using the
/report-issueskill.