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 / We failed to publish y...
Copilot Studio
Unanswered

We failed to publish your agent. Try publishing again later. Validation for the bot failed

(3) ShareShare
ReportReport
Posted on by 2
Hi, I am struggling with an error that seemingly appeared out of the blue last couple of days. I have a pipeline implemented in Copilot Studio between a Dev environment, in which a Copilot Agent solution is unmanaged and allows for modifications, and a Test environment, in which the Agent solution can only be published on Teams for a selected few users to be tested.
 
In this agent there's several custom topics which contain AI prompts to process different requests by the user. Up until yesterday my workflow was working fine, and it consisted of:
1. Add new modifications in the unmanaged solution within Copilot Studio (e.g. new topics, new flows, new prompts etc...)
2. Within the "Solution" tab, add all new components from the Default solution to the solution you wish to deploy
3. Click on "Publish all customization"
4. Go to the Pipeline tab and deploy from Dev to Test environment
5. In the Test env, publish the imported agent in the desired channels
 
All of this was working fine and still is working fine, all the Topics and AI prompts introduced before yesterday work perfectly and nothing broke.
 
Yesterday the following happened: I forgot to do step 2. and deployed in the Test env. I ran into an error with the Topics checker that told me the new prompt was not found. I then added the missing component, published the customizations, redeployed and was expecting all to work well.
However an error started appearing: from now on, when I try to use the newly added AI prompts through the chat, I receive this message:
Error Message: Prompt 5905d543-1e1a-46a9-9c5c-49e6651b4b0d was not found Error Code: AIModelNotFound Conversation Id: 51b98f39-03b1-469c-ba1a-c25f4bf22f79 Time (UTC): 2025-04-30T07:46:52.469Z
 
The Topics checker does not recognize that anything's wrong, and the message does not show in the chat when I test it in the Dev environment.

So, any new prompt that I try to add now to my managed solution gets this error. Not just the one I forgot to import, but any new defined AI prompt from now on always gives me this error when I try to use it in the chat of the managed solution. And the Topics don't get any error because I can see everything is there in the GUI. I really don't understand what's not working, and I fear something broke in the Test environment but cannot figure out what or how to fix it.
Any help would be great.
I have the same question (3)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 665

#2
Vish WR Profile Picture

Vish WR 313

#3
Haque Profile Picture

Haque 227

Last 30 days Overall leaderboard