agent flows
24 TopicsPass a variable in topic to agent flow
Hi there, How do we pass an output variable from a topic to be used as input in agent flow? I have stored the output of an action into a variable. In my agent flow, I could not find my variable from my topic. Any advice how to do that? Thank youSolved32Views0likes2CommentsCopilot Studio agent: OpenAIModelTokenLimit, ContentFiltered, duplicate replies and raw JSON in chat
Hi everyone, While testing an agent in Copilot Studio, I’m running into the following errors and would appreciate any guidance. OpenAIModelTokenLimit: “The request is resulting in too much data to handle” The agent returns this error instead of an answer, even for short, single questions. Repeated messages A single question produces two answers in the same turn: a structured answer, then a rephrased version of the same content. The activity map shows the same step running twice in that turn. Follow-up questions from the agent also sometimes appear twice. ContentFiltered: “The content was filtered due to Responsible AI restrictions” Raw JSON shown alongside the rendered answer Intermediate “thinking” messages Intermediate, thinking-style messages occasionally appear in the chat before the final answer. Questions What typically causes OpenAIModelTokenLimit when the question itself is short? What’s the recommended way to prevent duplicate answers in the same turn? How can I stop raw JSON from being displayed to the user? Is there a way to suppress the intermediate messages? These responses come from the parent agent, which is connected to a child agent. Only the child agent has the knowledge sources needed to answer questions, and the parent agent’s instructions route all questions to it.32Views0likes0CommentsAll Copilot Studio Workflow Tools Suddenly Returning HTTP 403 Before Execution
Hello Copilot Studio Community, I am experiencing an authorization issue with multiple workflows connected to an agent built using the Copilot Studio new experience and new Workflows experience. These workflows worked successfully for multiple users yesterday. Today, all workflow tools connected to the agent began returning an immediate HTTP 403 authorization error. I did not intentionally change the agent, workflows, environment, or workflow permissions before the issue started. Error message: You don’t have permission to use this tool. You’re signed in, but access to this resource is blocked. Error details: Authorization - 403 Example error information: Status: Failed Error message: Flow returned HTTP 403 Error code: Http403 Inner error code: NotSpecified Tool duration: Approximately 93 milliseconds Configuration: - Copilot Studio new agent experience - Copilot Studio new Workflows experience - Agent and workflows are in the same Power Platform environment - Workflows use the "When an agent calls the workflow" trigger - Each workflow includes a "Respond to the agent" action - Workflows are saved and published - Agent is saved and published Observed behavior: The problem affects several independent workflows, including: - New-request submission - Current-user identity resolution - Approval decisions - Requester justification - Executive decisions - Fulfillment updates For every affected workflow: - The agent fills the workflow inputs correctly. - The tool call fails almost immediately. - No corresponding run appears in the workflow Activity history. - The workflow trigger is never reached. - No workflow actions execute. Because no workflow run is created, the rejection appears to occur before workflow execution, possibly within the Copilot Studio agent-to-workflow authorization or invocation layer. Troubleshooting already completed: - Confirmed that all workflows are published. - Confirmed that the agent is published. - Tested in a completely new conversation. - Removed an affected workflow tool from the agent. - Saved the agent. - Added the same published workflow back to the agent. - Reconfigured and verified the tool inputs. - Republished the agent. - Confirmed that no workflow Activity run is created. - Confirmed that the issue affects multiple workflows rather than one specific workflow. Removing and re-adding the workflow did not resolve the problem. Questions for the community: 1. Is anyone else currently experiencing HTTP 403 errors when Copilot Studio agents invoke workflows? 2. Is this a known issue or regression in the new Workflows experience? 3. Is there an environment-level or tenant-level permission that controls agent-to-workflow invocation? 4. Could a tenant policy, Conditional Access change, service principal, connection reference, or workflow-sharing configuration cause all workflow tools to fail simultaneously? 5. Where can an administrator find detailed authorization logs when the workflow never creates a run? 6. Has anyone found a workaround for this issue? Any guidance or confirmation from others experiencing the same behavior would be appreciated. I can provide screenshots, complete error details, timestamps, and additional configuration information if needed. Thank you.883Views3likes4CommentsYou don't have access to talk to this bot, contact the owner. copilot studio
I created a copilot studio agent and then embedded it inside a code app. It works fine but i am facing the below error. You don't have access to talk to this bot, contact the owner. copilot studio I have provided Microsoft based authentication and am an owner so will have access to the bot. Yet facing the above issue. Is there something i am missing1.3KViews0likes4CommentsHow to preserve document format and structure with Copilot Agent
Hi everyone, I was building a copilot agent that should be able to accept a document and then make changes to it before returning the new version of that document, which has the same format and structure as the original. What is the best way to accomplish this in copilot studio? So far, I have tried using a power automate flow and external tools but it seems that there is no free included tool that can achieve this task. All the document writing tools seem to be paid services requiring API keys. Is there an alternate free way of achieving this task? Thank you655Views0likes2CommentsHelp building an Agent Flow to access specific folders in Sharepoint
Hi all, I am building an agent that needs to access specific subfolders (based on folder identifier) and then analyse this folder against the instructions for the agent. The planned flow is: User enters folder identifier (e.g. Vehicle registration number) The CoPilot Studio Agent uses an Agent Flow to find the Registration number folder within the SharePoint repository (which contains many folders for different cars). The Agent Flow helps the agent access the specific car's folder. The agent runs the instructions for this specific car, analysing the subfolders (e.g. Insurance documents, fuel expense history) to return to the user the outcome of the analysis for each subfolder within that registration's folder. My issue is getting the SharePoint access Agent Flow to work. I have tried using CoPilot chat to assist, but it gives a million different ways to accomplish the same thing. I understand that I need to trigger the flow, using "CarReg" as the input. Then I can use Get Files (Properties Only) to return and filter by folders to find the car registration. But now I only have the folder names, and not the underlying files for my agent to use. Also, once I perform the filter to get the relevant folder, I have many options of passing this back to the agent, such as via HTML tables or Compose. Is there a preferred method? Thanks, H777214Views0likes1CommentCredits usage for Copilot Studio Workflow with agents
If I add an agent(for research and analyze from the JSON provided) in Copilot studio recurring workflow, whose and which credits will be used whenever it runs? Hi Team, I have a question regarding licensing and credit consumption in Copilot Studio. I have created a Copilot Studio agent that performs research and analysis based on a JSON payload. I am planning to invoke this agent from within a Copilot Studio recurring workflow that runs on a schedule. Could you please clarify the following: When the recurring workflow executes and calls the agent, whose credits are consumed? The user who created the workflow? The owner of the agent? The account under which the workflow runs? The environment's pooled credits? Are there separate credit charges for: Workflow execution Agent invocation Generative AI/research actions performed by the agent Any guidance or documentation links explaining the credit consumption model for this scenario would be greatly appreciated. Thank you!523Views0likes3CommentsNew workflow designer accessing environment variables
Hi, I really enjoy using the new workflow designer. I've a triggered workflow (Email arrives) that I added into a solution. I'd like to use environment variables from within the workflow. The variables and the workflow are in the same solution. Unfortunatly the environment variables are not visible like they were in the old designer. How can I access them ? Thanks in advance978Views0likes4CommentsCopilot Studio Agent Tool Not Detecting File Input from Power Automate Flow
Hi everyone, I'm facing an issue with Copilot Studio and Power Automate Agent Flows. I created a flow using "When an agent calls the workflow" with the following inputs: RequestPayload (Text) AttachmentFiles (File) The flow saves successfully and the File input is visible in Power Automate. However, when I add the flow as a Tool in Copilot Studio, only the text input is detected: RequestPayload The File input (AttachmentFiles) does not appear in the Tool Inputs section. What I've tried: - Removed and re-added the tool - Refreshed the tool schema - Created a brand-new V2 flow - Changed the File input name multiple times (AttachmentFiles, UploadedFiles, FuelAttachments, etc.) - Saved and republished the agent - Removed and re-added the flow multiple times The result is always the same. Only the Text input is exposed in Copilot Studio. Additionally, if I manually try to add an input named "AttachmentFiles" in the Tool configuration, Copilot Studio returns: "There is an error: 'DuplicateItem'" This makes it seem like Copilot Studio recognizes the input internally, but it is not rendering or exposing it in the Tool UI. Questions: Are File/File Collection inputs currently supported for Agent Tools in Copilot Studio? Has anyone successfully passed uploaded files from an Agent to a Power Automate flow using Tool inputs? Is this a known limitation or a bug? Is there a recommended workaround for sending PDF/JPG attachments to a flow from an Agent? Any guidance would be greatly appreciated. Thank you.235Views0likes1CommentEnvironment Variable - New Workflow (Use Credits)
I’m unable to access the environment variables in the new workflow designer. The workflow is part of the same solution, and everything appears to be configured correctly. However, the issue persists. Please let me know if there is a workaround.286Views0likes1Comment