Configure a skill for use in Power Virtual Agents
Select the version of Power Virtual Agents you're using here:
Power Virtual Agents enables you to extend your bot using Bot Framework skills. If you have already built and deployed bots in your organization (using Bot Framework SDK and pro-code tools) for specific scenarios, you can convert those bots into a skill and register that skill in a Power Virtual Agents bot.
This article is intended for system administrators or IT professionals who are familiar with Bot Framework skills. After a skill has been registered with a Power Virtual Agents bot, authors can seamlessly trigger skill actions in conversation.
- Learn more about what you can do with Power Virtual Agents.
- Review restrictions and validation for skills used in Power Virtual Agents
Power Virtual Agents only supports skills built using Bot Framework SDK version 4.7+.
If you're using Bot Framework Composer it's strongly recommended that you use Composer 2.x. If you want to use an existing Composer 1.x bot, first migrate it to Composer 2.x before using it as a skill.
Compare use of Flows and skills actions
The following table will help determine when to use skills for a conversation.
|Flow actions||Skill actions|
|Persona||Bot authors can build reusable Flows to embed into any bot conversation||Developers can create, deploy, and host custom skills in their own environment|
|Conversation||Use Flows for simple, single-turn operations. For example, place an order, or get order status.||Use skills for complex, multi-turn operations. For example, schedule a meeting or book a flight.|
|Response||Use Flows to emit a bot response. For example, show a personalized message or inline images.||Use skills to emit any supported bot response. For example, show an adaptive card or send random responses.|
|Actions||Use Flows to trigger server-side single-turn actions. For example, call an HTTP API or trigger a custom connector.||Use skills to trigger server-side and client-side events and actions. For example, navigate to a page upon bot response.|
Configure a skill
Before registering the skill, provide the bot's ID to your skills developer to authorize the bot to call actions in the skill. Learn more about skill allowlist.
You can get your bot's ID from the Add skill window.
Add a skill to your bot:
In the Power Virtual Agents portal, expand the Settings tab on the side and select Skills.
At the top of the skills page, select Add skill.
Copy your bot's ID and provide that to your skills developer.
Enter the URL to the skill manifest. A skill's manifest contains the information that your bot will need to trigger actions within a skill.
To protect user privacy, we require skills to be registered as an app in the signed-in user's Azure Active Directory tenant.
Troubleshooting errors during skill registration
A series of validation checks are made against the URL. These checks ensure compliance, governance, and usability of the skill being added to your bot. You will need to fix these errors prior to registering a skill.
|Error message||Troubleshoot / Mitigation|
|We ran into problems getting the skill manifest.(
||Try opening your manifest URL in a web browser. If the URL renders the page within 10 seconds, re-register your skill.|
|The manifest is incompatible. (
||(a) Check if the manifest is a valid JSON file.(b) Check if the manifest contains required properties For example, (
|There is a mismatch in your endpoints (
||Check if your skill endpoint matches your Azure AD application registration's
|To add a skill, it must first be registered (
||Check if your skill's application ID is registered in your organization's Azure AD tenant.|
|The link isn't valid; The link must begin with https:// (
||Re-enter the link as a secure URL.|
|The manifest is too large; (
||Check size of the manifest. It must be less than or equal to 500KB.|
|This skill has already been added to your bot. (
||Delete the skill and try registering again.|
|The skill is limited to 100 actions. (
||There are too many skill actions defined in skill manifest. Remove actions and try again.|
|Actions are limited to 25 inputs. (
||There are too many skill action input parameters. Remove parameters and try again.|
|Actions are limited to 25 outputs. (
||There are too many skill action output parameters. Remove parameters and try again.|
|Your bot can have a maximum of 100 skills. (
||There are too many skills added into a bot. Remove an existing skill and try again.|
|It looks like something went wrong.(
||There was a transient error while validating your skill. Retry.|
|Something went wrong while checking your skill. (
||Check if your skill endpoint is online and responding to messages.|
|This skill has not allow-listed your bot (
||Check if your bot has been added to the skills allowlist. Learn more about adding a skill to the allowlist.|
Submit and view feedback for