microsoft / microsoft/powerplatform-vscode

PAC CLI "Extract copilot" does not extract all Copilot Studio agent properties.

Open
#1,259 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
277
Forks
60
Avg merge
1d 1h
Merged PRs (30d)
14

Description

When using the PAC CLI extract-template there are several properties that are not getting extracted:

  • agent description
  • agent instruction (very critical for gen orchestration agents)
  • agent settings (customer wants their makers to have pre-define values for auth, knowledge, search, etc)
  • agent main language (language) and secondary (supportedlanguages):so it creates the new agent in en-US by default which is problematic for non-US customer
  • icon: it uses the default icon
  • "Knowledge Source" (componenttype 16) are not included in the Template.
    The latest version of the command creates the file kickStartTemplate-1.0.0.json (in addition to the YAML), which appears to contain the definition of these two components, but there is no mention in the documentation explaining how to use it. Moreover, this file seems to be ignored by the pac copilot create command.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with PAC CLI extract-template and inspect the generated YAML and kickStartTemplate-1.0.0.json, focusing on the listed agent properties and componenttype 16. Then check how pac copilot create handles both files. Done means the properties and knowledge sources are extracted and preserved when creating the agent, with documentation explaining the file's use.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.