Skip to main content
Community site session details

Community site session details

Session Id : UHKFpeFp9NPAsMl2jNYQSM
Copilot Studio - Publish & Channel Management
Answered

Can't connect my PVA to the Skill

Like (0) ShareShare
ReportReport
Posted on 19 Jan 2020 22:13:34 by 189

Hi folks

 

I created a skill using Bot Framework 4.7 SDK with the manifest 2.0. When I try to connect to my skill with Bot Framework bot, it works very well. However, upon connecting it with PVA, it gives me an error (which is super unfriendly).

 

Issue.png

Environment / Tenant Setup

 

It's a trial environment with PVA and the same tenant is also has a trial for Azure to create the Bot registration process.

 

P.S Also, please note that the Bot Framework Bot I tried with Skill was on a different tenant and even then it was working fine.

  • kishanhickman Profile Picture
    2 on 01 Jun 2022 at 14:43:08
    Re: Can't connect my PVA to the Skill

    Hi There,

     

    I have an issue which is very much related to this but not quite the same.  I have a skill that works fine in the latest version of Composer as well as directly in Azure when you test with the test feature.

    I have created a skill manifest and this adds and validates perfectly fine in my PVA.  However, when I add it as an action and test it, I get aa default error message 'Sorry I didnt understand that'

    kishanhickman_2-1654096919228.png

     

     

    I have added the botid to the allowed list of my skill bots appsettings as per below

    "skills": {
    "allowedCallers": [
    "*"
    ]
    },

    I dont seem to get any error messages or anything meaningful which explains why the bot is not invoking correclty.  It takes 3 non-required parameters which aren't needed to fire up the bot as per below manifest 

    Any help would be greatly appreciated

    {
     "$schema": "https://schemas.botframework.com/schemas/skills/v2.2/skill-manifest.json",
     "$id": "ParkingMax",
     "name": "Parking Max",
     "version": "1.0",
     "publisherName": "Microsoft",
     "endpoints": [
     {
     "name": "default",
     "protocol": "BotFrameworkV3",
     "description": "Default endpoint for the skill",
     "endpointUrl": "https://parkingmax.azurewebsites.net/api/messages",
     "msAppId": "170c9cdd-9e3f-4e52-b511-8b47f592a86f"
     }
     ],
     "activities": {
     "message": {
     "type": "message",
     "description": "Parking Max",
     "value": {
     "$ref": "#/definitions/initValues"
     }
     }
     },
     "definitions": {
     "initValues": {
     "type": "object",
     "required": [
     "origin"
     ],
     "properties": {
     "clientid": {
     "type": "string",
     "description": "160"
     },
     "module": {
     "type": "string",
     "description": "ParkingMax"
     },
     "domain": {
     "type": "string",
     "description": "bpademo.co.uk"
     }
     }
    }



  • Community Power Platform Member Profile Picture
    on 24 Mar 2020 at 02:37:17
    Re: Can't connect my PVA to the Skill

    @csnarain was this calendar skill hosted locally when you got this working?

  • jojinovels Profile Picture
    12 on 03 Mar 2020 at 16:56:16
    Re: Can't connect my PVA to the Skill

    Hi!

    I am a new Virtual Assistant. And love to learn and explore more. Thanks for posting.

    I am also looking for a Client to help and manage.

    Please free to visit my Website.

    https://jojinovels.wixsite.com/meinewebsite

     

    Thank you.

     

    Regards,

    jojinovels

  • ImanolIza Profile Picture
    10 on 14 Feb 2020 at 17:39:58
    Re: Can't connect my PVA to the Skill

    Thanks @pawan-msft đź‘Ź

     

    Awesome Teams! Colaborating together!!

  • pawan-msft Profile Picture
    on 14 Feb 2020 at 10:56:04
    Re: Can't connect my PVA to the Skill
    You're welcome! Unfortunately, I will need to go through legal approvals prior to sharing code. But if I understand your intent, you are looking to deploy sample Skills that show the power of Skills running within Power Virtual Agents. If so, I would recommend deploying one of the several open sourced Skills that our amazing Bot Framework Solutions team has written,

    >> https://github.com/microsoft/botframework-solutions/tree/master/skills/csharp

    Each of these Skills have been upgraded and contain manifest version 1.0 (in wwwroot) that work out of the box with PVA.

    All the best! Let us know how you fare.

    -Pawan
  • ImanolIza Profile Picture
    10 on 14 Feb 2020 at 10:11:21
    Re: Can't connect my PVA to the Skill

    Thanks @pawan-msft and Team for this. đź’Ş Can you share with us "Book a Flight" skill Bot code? It´s a good example of multiturn skill with input and output with adaptive card. it would be very useful to see it and try to implement it in PVA. Thanks!!

  • Arafat Profile Picture
    189 on 06 Feb 2020 at 11:15:39
    Re: Can't connect my PVA to the Skill

    Cheers @csnarain. I'm happy that it worked! 

  • csnarain Profile Picture
    37 on 06 Feb 2020 at 10:30:14
    Re: Can't connect my PVA to the Skill

    @ArafatTehsin- Thanks for all your help. It finally worked. I enabled the Calendar skill as well in PVA. Here is the manifest file that actually worked at my end (both for calendar skill and other skills).

     

     

    {
    
     "$schema": "https://schemas.botframework.com/schemas/skills/skill-manifest-2.0.0.json",
    
     "$id": "CalendarSkill",
    
     "name": "Calendar Skill",
    
     "description": "The Calendar skill provides calendaring related capabilities and supports Office and Google calendars.",
    
     "publisherName": "Microsoft",
    
     "version": "0.8",
    
     "copyright": "Copyright (c) Microsoft Corporation. All rights reserved.",
    
     "tags": [
    
     "calendar",
    
     "skill"
    
     ],
    
     "endpoints": [
    
     {
    
     "name": "production",
    
     "protocol": "BotFrameworkV3",
    
     "description": "Production endpoint for the Calendar Skill",
    
     "endpointUrl": "{Our URL}/api/messages",
    
     "msAppId": "{Our App ID}"
    
     }
    
     ],
    
     "activities": {
    
     "message": {
    
     "type": "message",
    
     "description": "Receives the users utterance and attempts to resolve it using the skill's LU models"
    
     }
    
     }
    
    }

     

  • Arafat Profile Picture
    189 on 05 Feb 2020 at 23:58:19
    Re: Can't connect my PVA to the Skill

    That's good news! @csnarain - I would request you to to do this first (we'll talk about Calendar Skill later on)

     

    Did you get 0 input 0 output when your skill was added? If that's the case then replace your activities and add this. Try and let me know. 🙂 

     

    "activities": {
     "message": {
     "type": "message",
     "description": "Receives the user's' utterance and attempts to resolve it using the skill's LU models",
     "value": {
     "$ref": "#/definitions/accountNumber"
     }
     }
     },
     "definitions": {
     "accountNumber": {
     "type": "object",
     "required": [
     ],
     "properties": {
     "locale": {
     "type": "string",
     "description": "The current user's locale ISO code"
     }
     }
     }

     

  • csnarain Profile Picture
    37 on 05 Feb 2020 at 13:26:32
    Re: Can't connect my PVA to the Skill

    @ArafatTehsin- I finally managed to fix it. I have no clue on what exactly fixed it but somehow I was able to add the skill now :-). Thanks a lot for all your help. The next big task I have is to integrate the calendar skill bot (https://github.com/microsoft/botframework-solutions/tree/master/skills/csharp/calendarskill) with PVA. Unfortunately the skill doesn't do anything. If I try to add in the full manifest file from this repo and add the skill to PVA, it doesn't accept it. To sum it up, the skill is now added to PVA but doesn't do anything. Any thoughts are much appreciated.

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 169 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 150

#3
sandeep_angara Profile Picture

sandeep_angara 75 Super User 2025 Season 2

Featured topics

Loading complete