Troubleshoot Copilot Integration for Application Workspace Reporting

Symptom Likely cause Resolution
HTTP 401 Unauthorized Username/secret is incorrect, expired, or mapped to the wrong Basic auth field. Use the client-secret username as Username and the one-time secret as Password. Check expiration and create a replacement secret if needed.
HTTP 403 Forbidden The credential or network path is not allowed to access the endpoint. Verify API access, zone permissions, URL, network policy, and Power Platform data policies.
HTTP 404 Not Found Incorrect zone FQDN, path, or dataset name. Test the base discovery URL first. Use the exact name returned by /api/reports/v4/.
Parse JSON fails The schema does not match the current discovery payload. Inspect the successful HTTP body and regenerate or relax the schema while keeping name, kind, and url.
Agent cannot find the flow The flow lacks the required trigger/response, is unpublished, or is in another environment/solution. Use When an agent calls the flow and Respond to the agent, publish it, and verify the current environment.
Agent reports a timeout The all-dataset loop or payload is too large to return within the action limit. Retrieve only relevant datasets; filter/select fields; reduce rows; parallelize only after validating endpoint behavior.
Agent does not call the tool The tool name/description or agent instructions are too vague. Clarify when the tool applies; add representative prompts; start a new test session and retest.
Users can install but cannot chat The agent is not shared with the user or group. Share the agent with the user/security group, then retest with that identity.
Published answer seems stale An old conversation is using earlier published content or a cached answer. Start over or create a new session; confirm the latest agent and flow versions are published.