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 / Issue Publishing Copil...
Copilot Studio
Suggested Answer

Issue Publishing Copilot Agent with Trigger: CloudFlow with id 'xxxx' not found

(1) ShareShare
ReportReport
Posted on by 2
I added a trigger: when a sharepoint item is created to a copilot studio agent.
 
The trigger can be edited in power automate as a cloud flow

whenever I try to publish the agent I get this error:
 
[
  {
    "diagnosticResult": [
      {
        "$kind": "InvalidReferenceError",
        "referenceType": "CloudFlow",
        "referenceId": "xxxx",
        "errorCode": "NotFound",
        "errorMessage": "CloudFlow with id 'xxxx' not found"
      }
    ],
    "componentDisplayName": "When an item is created or modified",
    "componentId": "xxxx",
    "diagnosticErrorCount": 1
  }
]

- Made sure the Power automate flow is in default solution with the copilot agent
- Also checked if the cloud flow id matches, it matches, so far the issue seems like copilot agent cannot find it somehow
- turned flow on and off
 
Agent fails to publish
text.txt.txt

Your file is currently under scan for potential threats. Please wait while we review it for any viruses or malicious content.

I have the same question (0)
  • Suggested answer
    SpongYe Profile Picture
    5,909 Super User 2026 Season 1 on at
     
    The issue was not that the flow didn’t exist.
    The agent had a incomplete flow dependency reference in the solution.
     
    Go to the solution and then select the Agent > Advanced > Add required objects on the Agent object, and ensuring the flow are included in the same solution, is the first fix. If that does not repair it, delete and recreate the Trigger so the agent creates a fresh connection reference.
     
     

     

    If you have any questions or feedback, please let me know. Have a great day! 😊

    -----------------------
    SpongYe Power Platform Enthusiast [LinkedIn] | [Youtube| [My blog]

     

    I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my blog [@SpongYe] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 277

#2
11manish Profile Picture

11manish 206

#3
sannavajjala87 Profile Picture

sannavajjala87 156 Super User 2026 Season 1

Last 30 days Overall leaderboard