copilot-studio-agent
Installation
SKILL.md
Copilot Studio agents from the CLI
Build and manage Copilot Studio agents as code with pac copilot. Everything here is
verified working against pac CLI 2.9.3.
Golden rules
pac copilot pushonly syncs component files —agents/,topics/,knowledge/. It does NOT syncsettings.mcs.yml. Editingsettings.mcs.ymland pushing prints "No local changes detected" and a laterpullsilently reverts your edit. Change agent-level settings (auth mode, access control) via the Dataverse Web API.- Clone before you invent. If the environment already has a working agent that does
what you need,
pac copilot cloneit and copy the exact YAML shape. This beats guessing at undocumented schemas every time. --project-dironpac copilot initis unreliable —cdinto an empty target directory and omit the flag.- Multi-line
--instructionscan break argument parsing. Pass a single-line string.