Study FAQ
How should a Copilot Studio agent hand a Foundry recommendation to a business operation?
Also asked as 2
- How can I validate a connected agent's recommendation before submitting a service request?
- Where should validation and authorization happen after an agent recommends an action?
Answer
Have the Foundry specialist return a bounded recommendation and let the authorized business service validate and execute any resulting operation. For a repair request, Copilot Studio can delegate interpretation of a fault description, then ask the user to review a proposal. The service should validate the device, permitted category, required fields, and access before it creates anything.
Define the proposal's shape and allowed values in the application. Keep untrusted text and specialist output within that input contract. Identify the principal used for the client call, the specialist connection, and the final service, and send only the data the specialist needs. Where review is required, approve the actual proposed action and arguments before executing them.
Show recommendation available, submission requested, and business operation confirmed as distinct states. A valid response envelope or a well-formed proposal can occur even when the business service denies access. Show the durable request ID only after the service confirms it. If that confirmation is lost, check target state before replaying the submission.
In development, test an allowed recommendation, malformed output, and a device outside the user's scope. Verify both the displayed result and persisted state. Evaluate supported delegated behavior within the connected Foundry feature's preview restrictions.
Microsoft references
Full explanation
AB-400: Integrating Foundry and Copilot Studio Agents
Study guide · AB-400
Read the full explanation