Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - Model Context Protocol
Suggested answer

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

(1) 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.
  • Suggested answer
    Romain The Low-Code Bearded Bear Profile Picture
    356 on at
    Unable to Publish Copilot Agent After Adding Email MCP Server – “Validation for the bot failed”
    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"

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Copilot Studio

#1
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 132

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 81 Super User 2025 Season 1

#3
Pablo Roldan Profile Picture

Pablo Roldan 61