Skip to main content

Notifications

Copilot Studio Skills Development
Suggested answer

Can't add the Bot created using Bot framework V4 as a skill to Copilot Studio Bot

Posted on by 9

I’ve created a Python-based Azure Bot using Bot Framework V4 and have already deployed it in App Service. I referred to the documentation to add that bot as a skill in Copilot Studio bot (https://learn.microsoft.com/en-us/azure/bot-service/skill-implement-skill?view=azure-bot-service-4.0&tabs=python).

However, due to a validation error, I am unable to add the manifest URL. I’ve placed the manifest in Blob Storage and made it publicly accessible. According to the documentation, I checked the validity of the JSON file, and all the required properties are present.

At the same time I added the copilot app ID to authorized client applications under "expose an API" in azure bot.

I also referred to this article by @cloudatica (https://cloudatica.medium.com/adding-azure-bot-as-a-skill-in-microsoft-copilot-studio-power-virtual-agent-7415b3daeab3), but I couldn’t find a proper solution. Is there any way to debug the manifest file?

  "$schema": "https://schemas.botframework.com/schemas/skills/v2.2/skill-manifest.json",
  "$id": "xxx-crmbot-skill-010",
  "name": "xxxCRMBotSkill",
  "version": "1.0",
  "description": "Production endpoint for SkillBot in xxxx",
  "publisherName": "xxxxxxx.",
  "privacyUrl": "https://www.abcdef.com/privacy-policies",
  "copyright": "Copyright (c) xxxxxx. All rights reserved.",
  "license": "",
  "iconUrl": "https://img.icons8.com/ios/100/000000/product.png",
  "tags": [
    "CRM",
    "Product Inquiry",
    "Stock Availability"
  ],
  "endpoints": [
    {
      "name": "default",
      "protocol": "BotFrameworkV3",
      "description": "Production endpoint for xxx CRM Bot",
      "endpointUrl": "https://xxxxxxxxxxxx.azurewebsites.net/api/messages",
      "msAppId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    }
  ],
  "activities": {
    "inquireProductAvailability": {
      "type": "message",
      "description": "Action to inquire about product availability",
      "triggerPatterns": [
        {
          "regex": "(check|find) (product|stock) availability"
        }
      ]
    },
    "message": {
      "type": "message",
      "description": "Handles the user's utterance"
    },
    "typing": {
      "type": "typing"
    },
    "conversationUpdate": {
      "type": "conversationUpdate"
    }
  }
}
 
 
 
Categories:
  • Suggested answer
    LV-23091053-0 Profile Picture
    LV-23091053-0 2 on at
    Can't add the Bot created using Bot framework V4 as a skill to Copilot Studio Bot
    Hi, Please check the following suggestions. I hope you find them useful:
    1. Verify the Manifest URL: Ensure that the manifest URL is publicly accessible and that there are no access restrictions. You can test the URL in a browser to confirm that the JSON file can be accessed without issues.

    2. Validate the JSON File: Although you mentioned that you have already checked the validity of the JSON file, it is helpful to use online tools like JSONLint to ensure there are no syntax errors.

    3. Review the Documentation: Make sure you follow all the steps mentioned in the official Microsoft documentation for implementing skills in Copilot Studio.

    4. Azure Application Configuration: Verify that you have correctly configured the application registration in Azure, including API exposure and client application authorisation. Ensure that the Copilot application ID is correctly added to the authorised client applications.

    5. Error Debugging: If the issue persists, you can enable debugging logs in Azure to get more details about the validation error. This will help you identify the exact cause of the problem and take the necessary steps to resolve it.

    6. Forums and Community: Consider posting your issue on other communities like this Power Platform community forum, e.g. Stack Overflow. Other developers may have faced similar problems and could offer helpful solutions. The more eyes the better! :-)

  • FLMike Profile Picture
    FLMike 26,301 on at
    Can't add the Bot created using Bot framework V4 as a skill to Copilot Studio Bot
    Hi
     
    Do you still need help?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

September 2024 Newsletter…

September 2024 Community Newsletter…

Community Update Sept 16…

Power Platform Community Update…

Welcome to the new Power Platform Community!…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 141,122

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,414

Leaderboard