AI agents
Enterprise AI Agents: The Guardrails Before Production
The demo went well. The agent answers correctly, quickly, and management is enthusiastic. Then comes the real question: can we put it in front of 80 employees, or in front of customers, on Monday morning? An enterprise AI agent is not a prototype you share around. It is a tool that speaks in your company's name. Here are the guardrails we set before any move to production, and what they cost you: little, if you think about them early.
A narrow scope and controlled sources
The first guardrail is a decision, not a setting. An agent does one thing: answer HR questions, track orders, prepare meeting minutes. It does not "know everything". A narrow scope makes the agent testable, and makes its mistakes visible.
Sources go with it. We list the ones that are allowed (this SharePoint library, this Dataverse table, this internal site) and forbid the rest. A Copilot Studio agent only answers from what it has been given; by default, we cut its access to the public web. And we write down in black and white what it does when it does not know: it says so, and it points to a person.
Inherited permissions and a log of answers
The agent never has more rights than the person talking to it. With Microsoft authentication, it searches with the signed-in user's permissions: a folder closed to you is closed to the agent when you are the one asking. That setting is verified before go-live with two test accounts holding different rights.
Then everything is logged. Copilot Studio keeps conversation transcripts in your Dataverse environment: who asked what, what the agent answered, which source it used. That log serves three purposes: understanding a bad answer, proving what was said in case of a dispute, and feeding the monthly review. Set its retention period from day one, it often contains personal data, and restrict who can read it to two or three named people: a log open to everyone is a leak waiting to happen.
Human validation on actions
There are two families of agents. Those that read and answer, and those that act: create an order, email a customer, update a record, trigger a payment. The rule we apply: any action that writes, sends or commits goes through human validation, with a Power Automate approval that keeps a trace of who approved.
In practice, we start read-only. We add one action at a time, each with its approval, and we remove an approval only for one specific action, after weeks of clean results, on a written decision. An agent that sends emails with no review is a great demo and a real risk.
Real-case tests, monthly review, kill switch
Before go-live, the agent sits an exam on real questions, then a monthly review reads what it could not answer: that protocol, question set, pass threshold and monthly meeting, is detailed in our article on the SharePoint HR agent. It is the "testing and go-live" step of our method, it is never skipped, and the monthly review is one of the deliverables of our Power Platform maintenance when the client prefers to hand it to us.
Finally, the kill switch. Someone must be able to withdraw the agent in five minutes, with no ticket and no developer: unpublish the agent in Copilot Studio, turn off the flow behind it. That someone has a name, a backup, and the procedure fits on one page. Have it run once before go-live, stopwatch in hand: it is common to find that the flow keeps running or that the agent stays visible in Teams for hours.
GDPR, personal data and accountability
An agent handles personal data as soon as an employee tells it about their situation. GDPR principles apply as they are: collect only what is useful, set a retention period on the log, tell users what is recorded, and enter the processing in your register. If the agent touches sensitive data or individual situations, run an impact assessment with your data protection officer or your adviser.
European rules on AI are evolving and target first the uses that affect employees: before putting an agent in contact with HR teams, ask your adviser whether your case is concerned. An agent that explains a procedure without deciding anything is far less exposed than a tool that screens applications or rates employees. One more reason to keep the scope narrow and documented.
Who is accountable? Your company. Not Microsoft, which provides the platform, and not your provider, who builds the agent to your instructions. That is why every agent we deliver has a named business owner, who validates the sources, reads the monthly review and holds the kill switch. An agent without an owner is an agent that will be pulled in a hurry, one day.
For a first agent, our article on where to start with Copilot Studio helps you pick the scope, and our fixed-price delivery offer ships these guardrails with the agent. For an existing agent you hesitate to open up, a short scoping workshop runs through these guardrails and returns a precise list of what is missing.
Key takeaways
- Narrow scope, listed sources, permissions inherited from the user, a conversation log with a retention period.
- Any action that writes, sends or commits goes through human validation; you start read-only.
- Real-case tests before go-live, a monthly review, a kill switch held by a named person.
- Accountability stays with your company: an agent has an owner, an identity card and a line in the GDPR register.