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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Unable to Publish Copi...
Copilot Studio
Answered

Unable to Publish Copilot Agent After Adding Email MCP Server – “Validation for the bot failed”

(3) ShareShare
ReportReport
Posted on by
Hi Everyone,

I am working on copilot agent that automatically reads incoming emails in my inbox and send a response back to the sender. I am developing this agent in personal developer environment. For this I added 'Email Management MCP Server' as a tool. When testing the agent in copilot studio, it is working fine. But After adding this MCP server when I tired to publish my agent, It is showing "We failed to publish your agent. Try publishing again later. Validation for the bot failed."
 
I checked the developer tools, I saw a lot of errors there like below one:

 
I thought it is because of DLP issues (since I am using a personal developer environment). So I tried removing the 'Email Management MCP Server' from my agent and tried republishing. But it is showing the same error "Validation for the bot failed"
 
And another issue started happening after this is, All my other agents are also unable to publish now. When I tried to publish other agent which doesnt have any MCP server, that is also showing same error.
 
I even tried creating a new simple agent which answers user questions from general knowledge, so it doesnt have any tools, knowledge sources or triggers. But this simple agent is also not being published due to same error.
 
I dont know why this is happening, Please help.
I have the same question (0)
  • Suggested answer
    Romain The Low-Code Bearded Bear Profile Picture
    2,124 Super User 2025 Season 2 on at
    If everything is KO, even if you create new agent :
     
    1 - 99;9 % : you'r IT dude just run the order 66 : "stop copilot studio" and activated all DLP : copilot studio cannot be shutdown, but if IT activate ALL DLP you have something like this.
    2 - 0,01% : you were trying during a big update
     
    For your use case : juste to be sure :
     
    Make a an autonomous agent with Mail trigger : you don't need the fancy/preview/new MCP mail connector wich just released few day ago :) you could to something with use something very strong :) (but i m like you and i already made agent with the meeting one :D)
     
    IF IT say "no we did nothing", ask et new environnement and try : probably something when wrong (was it a 13 friday ?) : if still broken : 
    - definitevly you'r IT , you could try open ticket to microsoft and answer will be probably "you'r IT activated a DLP to do xxxx"
  • Verified answer
    PR-21061812-0 Profile Picture
    on at
    Its resolved now. It is actually because of DLP issue of the Email management server. And also there is a service health advisory in admin power platform page. Now it is resolved and I can see why the agent is not able to get published.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 261 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 198 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 93 Moderator

Last 30 days Overall leaderboard