agent flows
22 TopicsAll 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.814Views3likes4CommentsYou 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.1KViews0likes4CommentsHow 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 you592Views0likes2CommentsHelp 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, H777180Views0likes1CommentCredits 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!433Views0likes3CommentsNew 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 advance885Views0likes4CommentsCopilot 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.199Views0likes1CommentEnvironment 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.250Views0likes1CommentAdding a shared connected-agent bot to a solution pulls in all parent bots, no way to exclude?
I'm trying to add a single Copilot Studio bot to a solution, and it's pulling in every other bot that references it as a connected agent with no prompt and no way to include just the one bot. Repro: 1. Created a brand-new, empty solution (single publisher, no components added yet). 2. Objects → Add existing → Bot → selected only "agent_1" 3. No "include required components" dialog appeared the add just happened. Expected: the solution contains only the selected bot (at most, plus its own connection references). Actual: the solution jumped to 238 objects, 6 agents, 229 agent components, 3 connection references. It pulled in every other bot in the environment that has a connected-agent action pointing at "agent_1" (5 parent bots), plus their own further connected-agent dependencies. This makes it impossible to build a scoped solution around one client-facing agent when it shares a connected-agent bot with unrelated agents elsewhere in the tenant. Normal Dataverse solution dependencies pull in what a component requires; this also seems to pull in everything that depends on it, in reverse, with no override. Questions: 1. Is this expected/intended behavior for connected-agent solution dependency tracking? 2. Is there any supported way UI, PAC CLI, or Dataverse API to add a shared connected-agent bot to a solution without including every bot that references it?131Views0likes0CommentsCustom Agent can’t read scanned PDF/Image received from Flows
I'm trying to build a Flow in Copilot Studio that triggers when a PDF/image is uploaded to SharePoint/OneDrive, passes it to a Custom Agent, which is able to extract text from the PDF/image to generate a standardized filename. The Custom Agent works well standalone (drag-and-dropping scanned PDF/image directly into the Copilot chat box works fine!) But passing the file to the Custom Agent via Flow fails. What I tried Approach A (Base64): Used Get file content, converted it to Base64 via base64(...), and sent a JSON payload (fileName, mimeType, documentBase64) to the Agent. Approach B (SharePoint Link): Used Create share link and passed the file's webUrl to the Agent instead of raw file content The issues Issue with Base64: The Agent receives the payload, but fails on scanned/image-based PDFs, replying: "The uploaded file content is a base64 stream for a PDF and contains no extractable text... requires manual verification." Issue with SharePoint Link: The Agent can't open/read the link, replying: "Since I cannot read SharePoint content directly from just the path, please upload the PDF file here." (even after added a SharePoint MCP tool for the Agent). Questions How can I pass a scanned PDF/Image via Flow so the Custom Agent can read & extract the text (just like it does on direct chat upload)? Thanks for any help!190Views0likes0Comments