web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Copilot Studio workflo...
Copilot Studio
Suggested Answer

Copilot Studio workflow returns gzip-compressed binary output

(0) ShareShare
ReportReport
Posted on by 4
I believe I have found a bug in Copilot Studio.
 
Edit: I'm rewriting this post as I've carried out some additional testing.
 
Environment:
- New Agent Builder inside new experience
- New Worlflow inside new experience
 
Behaviour:
 
A workflow tool containing only:
When an agent calls the flow
Respond to the agent
Text = "Hello World"
works correctly.
 
However, if I add any type of query action, such as "Run a query against a dataset", "List rows present in a table", or "Search for users", it breaks when interacting with the Agent. The flow still works correctly when tested directly within the Workflow, but when the Agent attempts to use it, it returns unreadable gzip-compressed binary data instead of the expected text output.
 
Screenshot 2026-08-25 152754.png
Screenshot 2026-08-25 155434.png
  • Suggested answer
    Mohsin Ali Profile Picture
    845 on at
    Hello @EP-25081443-0 - the expected result should be a json response rather a binary file. can you try to run same DAX query directly in Power automate and see what it actually returning. This is just to debug your DAX through Power Automate.
     

  • EP-25081443-0 Profile Picture
    4 on at
    nothing errors inside the workflow. The DAX query is valid and it returns a valid result when looking into the history/activity of the workflow. However the agent does not recive the correct output from the workflow.
    Screenshot 2026-08-26 091721.png
  • EP-25081443-0 Profile Picture
    4 on at
    Also, I'm skiping the output from the "run query" I'm just making sure that it doesn't error. As you can see on the screenshoot from my first message, the "respond" is just a number, to remove any variants about how the output of the query looks. But by only executing the query something is getting corrupted and the Agent is not able to read the number response.
  • Suggested answer
    sannavajjala87 Profile Picture
    1,109 Super User 2026 Season 2 on at
    Hi,
     
    Based on your additional testing, this does not look like a DAX or query problem. You've already demonstrated that:
    • A workflow containing only Respond to the agent works correctly.
    • The same workflow runs successfully when tested directly in Workflow.
    • Adding actions such as Run a query against a dataset, List rows present in a table, or Search for users causes the agent invocation to return compressed/binary-looking output.
    • The binary output is returned even when the response sent back to the agent is a simple hard-coded value and does not contain the query results.
    That points more toward an issue in the handoff between the Workflow runtime and Copilot Studio's tool execution layer than a problem with the query action itself.
     
    As a troubleshooting step, I'd try adding a Compose action and returning only the Compose output, or creating a brand-new workflow with a single query action and a hard-coded response to keep the repro as small as possible. If the behavior is reproducible across different query actions, I would consider opening a Microsoft support ticket, as this looks more like a product issue than a configuration issue.
     
    Thanks & Regards,
    Manoj Annavajjala

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Mohsin Ali Profile Picture

Mohsin Ali 298

#2
Valantis Profile Picture

Valantis 160 Super User 2026 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 150 Super User 2026 Season 2

Last 30 days Overall leaderboard