Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Answered

Concatenating variables - PVA with Microsoft 365 subscriptions

(0) ShareShare
ReportReport
Posted on by 9

Hi,

I'm developing a bot within Teams, through our M365 license.

 

I want to concatenate two variables, before I send them to an action. For instance here, I would like to send "bot.question + bot.answer" to this action, instead of strickly "bot.question":

Samuel_AI_0-1696014754095.png

 

Is there any way to achieve this with the M365 license? With the regular PVA license, I would be able to concatenate variables using the "Set variable" action, but this option does not appear to be available in the PVA for M365 license.   

 

Thanks!

Categories:
  • HenryJammes Profile Picture
    on at
    Re: Concatenating variables - PVA with Microsoft 365 subscriptions

    The PVA web app version has all the latest capabilities while PVA For Teams is still limited to the classic version. I would highly encourage to evaluate going for the full version of PVA.

    You have an overview of what changes in this version here: Unified authoring canvas migration guidance - Power Virtual Agents | Microsoft Learn

  • Samuel_AI Profile Picture
    9 on at
    Re: Concatenating variables - PVA with Microsoft 365 subscriptions

    Understood. I've deployed an Open AI GPT4 service as an API, so I guess I will need to premium PVA license to call it. 

  • Pstork1 Profile Picture
    66,174 Most Valuable Professional on at
    Re: Concatenating variables - PVA with Microsoft 365 subscriptions

    The regular HTTP connector is Premium. But there are some actions in other connectors that will allow the use of certain HTTP calls. For example there is an action to send an HTTP REST call to SharePoint that is Standard. 

  • HenryJammes Profile Picture
    on at
    Re: Concatenating variables - PVA with Microsoft 365 subscriptions

    The available capabilities included in PVA for Teams, as part of select Microsoft 365, are described here: Get access to Power Virtual Agents - Power Virtual Agents | Microsoft Learn

    As far as I know, HTTP connector is a premium one (they show up with a diamond icon in the UI).

    The standard connectors are listed here: List of all Standard tier connectors | Microsoft Learn

  • Pstork1 Profile Picture
    66,174 Most Valuable Professional on at
    Re: Concatenating variables - PVA with Microsoft 365 subscriptions

    As @HenryJammes mentioned the only way to make a call to anything other than a standard connector is to have a Premium license. Then you can use a custom connector in Power Automate or one of the HTTP actions. But you can do things like REST calls to SharePoint or any of the other standard actions.

  • Samuel_AI Profile Picture
    9 on at
    Re: Concatenating variables - PVA with Microsoft 365 subscriptions

    I see. @HenryJammes, so there's no way to make a call to an API through PVA for Teams? 

  • HenryJammes Profile Picture
    on at
    Re: Concatenating variables - PVA with Microsoft 365 subscriptions

    Yes, like @Pstork1 , with 2 input parameters.

    That being said, PVA for Teams only covers the use of Power Automate with non-premium connectors, so, I'm not sure you can connect to OpenAI (through a connector or by making an HTTP request) @Samuel_AI 

  • Verified answer
    Pstork1 Profile Picture
    66,174 Most Valuable Professional on at
    Re: Concatenating variables - PVA with Microsoft 365 subscriptions

    If you define two parameters in the Trigger inside the flow the PVA action will prompt you to submit two parameters.  You can then concatenate them in a Compose inside the flow.

  • Samuel_AI Profile Picture
    9 on at
    Re: Concatenating variables - PVA with Microsoft 365 subscriptions

    Thanks Henry. I thought about this as well. That said, can you let me know how I can pass two variables to Power automate?

  • HenryJammes Profile Picture
    on at
    Re: Concatenating variables - PVA with Microsoft 365 subscriptions

    Don't think it's possible with PVA for Teams. You could use Bot Framework Composer dialogs, but these require premium licenses. The only way to achieve this in my opinion is to do the concatenate on the Power Automate side, once you've passed the 2 variables.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Copilot Studio - General

#1
Artur Stepniak Profile Picture

Artur Stepniak 5 Super User 2025 Season 1

#2
Ekta Gupta Profile Picture

Ekta Gupta 4

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 4 Super User 2025 Season 1

Overall leaderboard