A business skill is a set of plain-language instructions, stored in Dataverse, that tells an agent how your organization does a task. Agents find the skill and follow its steps when a request matches.

In this article, lets create a business skill for the Contact table and test it from GitHub Copilot CLI.

What are Business Skills?

  • Natural-language instructions that describe a business process, its steps and its rules.
  • They are stored in Dataverse, not as executable code.
  • Copilot and agents connected through Work IQ or the Dataverse MCP server can find and use them.
  • They can be added to solutions and moved across environments.

Why Business Skills?

When every agent gets its own prompt, each one follows the process a little differently. A business skill keeps the process in one place. Every agent reads the same steps, and you update them once.

The scenario

Sales reps meet people at trade shows. They want to tell an agent “I met Priya at Ignite” and have the Contact saved correctly. The skill must follow these rules:

  • Find the contact by email. Ask for the email if it is missing.
  • Create a new contact if none exists. Fill only empty columns if one exists.
  • Never overwrite a filled value without asking.
  • If the person refused marketing emails, set Bulk Email to Do Not Allow.
  • If two contacts share the email, ask which one to update.

Where can we test a business skill?

Business skills work with any agent that can reach them. Agents reach them through Work IQ or through the Dataverse MCP server.

  • Copilot Chat and Copilot Cowork, through Work IQ.
  • Microsoft Copilot Studio agents.
  • Visual Studio Code and other MCP clients connected to the Dataverse MCP server.

In this article, we opted for GitHub Copilot CLI connected directly to the Dataverse MCP server.

Prerequisites

  • A Dataverse environment. I used a Developer environment.
  • Power Platform admin access to turn on Work IQ.
  • The System Administrator, System Customizer or Environment Maker security role.
  • GitHub Copilot CLI installed.
  • A Dataverse solution to hold the skill. I created one named DVBusinessSkillsDemo.

Lets start by turning on Work IQ, which business skills need.

Turn on Work IQ

  • Open the Power Platform admin center.
  • Go to Manage > Environments, select your environment and open Settings.
  • Under Product > Features, find Work IQ.
  • Check Turn on Business Applications in Work IQ and save.

Now we have Work IQ turned on. Before creating the skill, lets set a preferred solution so the skill lands in our solution automatically.

Set the preferred solution

  • Open Power Apps and go to Solutions.
  • Select DVBusinessSkillsDemo and select Set preferred solution.

The solution is ready. Lets create the business skill.

Create and activate the business skill

  • In Power Apps, select More > Business skills. Pin it to the left menu for quick access.
  • Select Start from scratch.
  • Fill in the details as below.
SettingValue
Titlecapture-trade-show-contact
DescriptionUse when a user shares details about a person they met at an event or trade show, or asks to add or update a contact by email. Creates a new Contact or fills in missing details on an existing one, following Contoso’s duplicate and marketing-consent rules.
  • Paste the following into Instructions.
1. Identify the contact by email. Trim spaces and compare without case. Email is required. If it is missing, ask for it and write nothing yet.
2. Search Contact where emailaddress1 matches.
   - 0 matches: go to CAPTURE.
   - 1 match: go to ENRICH.
   - 2 or more matches: list them and ask the user which one to use. Write nothing.
3. CAPTURE: last name, event name and event date are required. Create the Contact with firstname, lastname, emailaddress1, jobtitle and telephone1 (Business Phone). Add "Met at <event> on <date>" to description.
4. ENRICH: fill only empty columns. If a new value differs from a filled value, do not change it. Show the user both values.
   Add an event line to description only for a new event encounter.
5. Consent (exception to step 4): if the person refused marketing, set donotbulkemail to true. If they agreed or it was not mentioned, leave it unchanged. Never set it back to false automatically.
6. Report what was created or changed, and anything skipped.

  • Select Save and activate.
  • The status changes to Active. Agents can only use active skills.
  • Open the solution. The skill is listed under Objects > Business Skill because we set the preferred solution.

Now we have an active skill. Next, lets connect GitHub Copilot CLI to Dataverse so it can find the skill.

Connect GitHub Copilot CLI to Dataverse MCP

GitHub Copilot CLI reaches Dataverse through the Dataverse MCP server. Clients other than Copilot Studio must be allowed first.

  • In the Power Platform admin center, open your environment’s Settings > Product > Features.
  • Under Dataverse Model Context Protocol, confirm access is turned on.
  • Open Advanced Settings > Active Allowed MCP Clients.
  • Confirm Microsoft GitHub Copilot has Is Enabled set to Yes.

The environment now accepts GitHub Copilot as a client. Lets add the Dataverse MCP server to GitHub Copilot CLI.

Add the Dataverse MCP server in GitHub Copilot CLI

  • Copy your environment URL from the environment details in the Power Platform admin center. For example, https://<your-org>.crm.dynamics.com.
  • Add /api/mcp to the end. This is the Dataverse MCP server URL.
  • Open a terminal, run copilot and then run /mcp add.
  • Fill in the form as below and save.
SettingValue
NameDataverseRPDev (any name you like)
TypeHTTP
URLhttps://<your-org>.crm.dynamics.com/api/mcp
Tools*

Tip: You can also add the server from a terminal with copilot mcp add --transport http DataverseRPDev https://<your-org>.crm.dynamics.com/api/mcp.

  • A browser window opens. Sign in with the account that has access to the Dataverse environment.
  • If the browser doesn’t open, run /mcp auth DataverseRPDev.

The connection is ready. Lets test the skill with a few prompts.

Test: create a contact

  • Start a new Copilot CLI session and enter the following prompt.
Met Priya Shah at Ignite on Dec 3, priya@fabrikam.com, no marketing emails.
  • Copilot asks for approval to use the MCP skill. Select allow.
  • Each Dataverse operation under the skill also asks for approval.
  • Copilot searches by email, finds no match and creates the contact.
  • It adds “Met at Ignite” to the description and sets Bulk Email to Do Not Allow.
  • It also reports that job title and phone were left blank.
  • Open the contact in Power Apps to confirm the values.

The create path works. Lets test the update path.

Test: fill a missing value

  • Enter the following prompt.
Update priya@fabrikam.com's business phone to 555-0100.
  • Copilot finds the one match. The phone is empty, so it fills it in.
  • Refresh the contact in Power Apps. Only the business phone changed.

Now lets check whether the skill protects a value that is already filled.

Test: protect a filled value

  • Enter the following prompt.
Update priya@fabrikam.com's business phone to 555-0199.
  • Copilot reads the contact and sees the phone already has a value.
  • It does not change it. It asks whether to replace 555-0100 with 555-0199.
  • Answer No. Copilot reports that no changes were made.

Key Concept: The skill said “show the user both values”, and Copilot also offered to replace the value. Skills are instructions, not code. Agent behavior can vary, so test real prompts and tighten the wording when needed.

Summary

  • A business skill keeps a process in one place, and any connected agent follows the same steps.
  • The setup is simple: turn on Work IQ, create and activate the skill, then connect an agent.
  • As a next step, test the duplicate rule by creating two contacts with the same email.

Useful links:

🙂

Leave a Reply