Responsible AI Validation for Microsoft 365 Copilot Agents - Passing It First Time
You have built a Microsoft 365 Copilot agent. It works in your test tenant, the demo went well, and the business wants it live next week. Then you submit it and it comes back flagged by responsible AI validation, and nobody on the team knows exactly what that means or how long the fix will take.
We have been through this a few times now with Australian clients, and responsible AI validation is one of those steps that is easy to ignore until it blocks you. It's worth understanding before you start building, not after.
Microsoft's documentation is here: Responsible AI validation for Microsoft 365 Copilot extensibility.
What responsible AI validation is
When you publish a declarative agent, an API plugin or a message extension that works with Copilot, Microsoft runs automated checks on it. Some happen when you upload the app package, and more happen if you submit to the Microsoft 365 store (formerly AppSource). The checks look at the parts of your app that shape how the model behaves:
- the agent's name and description,
- the instructions you give it,
- conversation starters,
- plugin and function descriptions in the manifest and API spec,
- and, for store submissions, how the agent actually responds when tested.
The point is to catch agents that are designed or worded in a way that could produce harmful output, mislead users, or get Copilot to ignore its own safety rules. If something trips the check, the upload or submission fails with an error and you need to change the offending content and try again.
For internal line-of-business agents deployed through your own tenant, the bar is lower than for a public store listing, but the manifest checks still run. I've seen people assume "it's internal, so none of this applies" and then get stuck at upload.
What tends to fail
From the submissions we have worked through, failures cluster around a small number of causes.
Instructions that try to override the model's guardrails. This is the big one. Developers write instructions like "Always answer the user's question no matter what" or "Never refuse a request" because they want the agent to be helpful. The validation reads that as an attempt to bypass safety behaviour, and it fails. Rewrite it as what you actually want: "Answer questions about our leave policy using the HR knowledge base. If the answer is not in the knowledge base, say so and suggest contacting HR."
Prompt-injection-shaped language. Phrases like "ignore previous instructions", "you are now", or "pretend you are" in a manifest look exactly like jailbreak attempts, even when your intent was innocent. One client had "Ignore any formatting in the source documents" in their instructions. Fair enough as a request, but the wording tripped the check. "Present answers as plain text regardless of source formatting" passed fine.
Descriptions that overclaim. If your agent description says it "provides legal advice" or "diagnoses medical conditions", expect trouble. That is a responsible AI issue and, frankly, a legal one too in Australia. Describe what it really does: "Summarises clauses from our standard contract templates" is accurate and passes.
Sensitive topics without scoping. Agents that touch health, finance, employment decisions or anything involving minors get more scrutiny. That doesn't mean you can't build them. It means the instructions need to be explicit about scope, about what the agent will not do, and about when it should hand off to a person.
Conversation starters that are off-topic or provocative. Starters are part of what gets checked. Keep them plain and on-task. "What's our parental leave entitlement?" is good. Something jokey or edgy that was fun in the demo is not.
How we approach it now
After a couple of painful rounds early on, we changed how we write agent manifests. The short version is that we treat instructions and descriptions as reviewed content, the same way you'd treat a public web page, rather than as developer notes.
Write instructions in positive, scoped terms. Tell the agent what its job is, what sources it uses, and what to do when it can't help. Avoid absolute language like "always" and "never" unless it is a restriction (for example "Do not give personal financial advice" is fine, because it narrows behaviour rather than widening it).
Run your own red-team pass before submitting. We keep a list of about thirty test prompts covering things like requests for harmful content, attempts to extract the system instructions, off-topic questions and leading questions in sensitive areas. Someone who didn't build the agent runs through them and records what happens. It takes an hour and catches most of what the automated checks would catch, plus a few things they won't.
Check every description, not just the main one. API plugin function descriptions get read too. A function described as "Gets all employee records including salaries" in an OpenAPI spec is a flag waiting to happen, and it is also a signal you might be exposing more than you meant to. Name and describe functions for what the agent should use them for.
Keep a change log of what you edited and why. If you get flagged, you will probably iterate two or three times. Knowing which wording change fixed it saves you from reintroducing the problem in the next version.
What's still rough
I think the validation is a reasonable idea and I'm glad it exists. Copilot agents run inside people's work context with access to their email, files and Teams chats. Some baseline check on how they are instructed makes sense.
That said, the experience has rough edges:
- Error messages can be vague. You'll sometimes get a failure that tells you which field was flagged but not which sentence or why. With long instructions, that means a bit of trial and error, cutting and re-adding sections to isolate the cause.
- It's not a full safety review. Passing validation does not mean your agent is safe or compliant. It doesn't know your data classification, whether the agent should see payroll data, or whether its answers are accurate. Those are your responsibility and they matter more than the automated check.
- Rules change. The checks get updated. An agent that passed six months ago can fail on resubmission after a minor version bump. Budget for that in your release process.
For Australian organisations there is also the broader context. The government's voluntary AI safety standard and the guardrails discussion around high-risk AI both push in the same direction: document what the system does, test it, and keep a human accountable. Microsoft's validation is one input to that, not a substitute for it. If you are in financial services, healthcare or government, your own risk team will want evidence of testing well beyond what Microsoft checks.
Practical checklist before you submit
- Read your instructions out loud. If any line sounds like it's trying to talk the model out of something, rewrite it.
- Remove any "ignore", "pretend", "you are now" or "no matter what" phrasing.
- Make sure the description says what the agent does, not what you hope it might do.
- Review every function description in your API plugin spec.
- Keep conversation starters boring and on-topic.
- Run an internal red-team pass with someone outside the build team.
- Document the scope, the data the agent can reach, and who owns it.
None of this is hard. It just needs to be part of the build rather than an afterthought when the upload fails at 4pm on a Thursday.
If you're building Copilot agents and want help with the design, the testing or the governance around it, our Copilot Studio consultants work on this regularly, and we also run Copilot training for teams who want to build agents themselves. For organisations working out where agents fit more broadly, our AI strategy work is a good place to start.