Troubleshooting and governance
Building Agents with Microsoft Copilot Studio
Nia Joseph
AI Product Manager, Microsoft
The scenario
You inherited an
onboarding flow
It
won't publish
, so the agent can't call it
New hires are waiting on it
Due end of day → no time to check
every step
by hand
Publishing checks the flow
Agent flows →
Workflows
, the
arrow
,
Agent flows
Publish
runs a validation pass first
An incomplete flow is
refused
The
Flow checker
tells you why
Find the flagged step
A red banner names the
step and the field
The step carries an
Invalid parameters
badge
Every other step
looks normal
Read what the checker says
Flow checker
→ the
Errors
tab
It names the step:
Run a prompt
And the field:
Input Text is required
This message is
where the fix starts
The three usual suspects
Incorrect variable reference
→ pulls an empty value
Misconfigured condition
→ one branch catches everything
Connection problem
→ a step can't sign in
An empty required field →
misconfiguration
Fill the missing field
Our error →
Input Text
is empty
On
Run a prompt
, using the
AI Reply
prompt
Open the step,
fill in the field
The red asterisk marks it as
required
Publish again and confirm
Check
that the fix worked
Publish again →
Your agent flow was published
Test
is no longer grayed out
Test runs don't consume capacity
When you move on
The flow
publishes
now
What happens when
you move on
?
If only you understand it, the team is
stuck
Governance
= the habits that prevent that
Ownership shouldn't be one person
Start with
ownership
Personal account owner → breaks when
your account
does
Add the receiving
team as co-owners
Reconnect under a
shared / service account
Write down what only you know
Write down what's
in your head
What the agent is
for
Which permissions and connections it relies on
Lets the ops team
maintain, not rebuild
Let's practice!
Building Agents with Microsoft Copilot Studio
Preparing Video For Download...