Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Unanswered

PVA for Teams bot does not have 'Set a variable value' option

(0) ShareShare
ReportReport
Posted on by 64

Hi, I realize that the bot built using PVA for Teams does not have the 'Set a variable value' option as seen in bot built with https://web.powerva.microsoft.com/ (now called Copilot Studio)

 

JLKM_0-1701149771159.png

 

What should be done to turn on this option in PVA for Teams? Thanks

 

Categories:
  • swax Profile Picture
    15 on at
    Re: PVA for Teams bot does not have 'Set a variable value' option

    I couldn't find how to edit my previous response b/c it was created from another (accidentally created) profile, so here it goes:

    Yes, any license to Dynamics or most paid Microsoft 365 and Office 365 (non enterprise) do specifically have dataverse and Teams and therefore specifically include in the documentation PVA for Teams. Point is, having access to Premium connectors is allowed as long as the flow is created and at runtime launched from the PVA for Teams designer. 

  • swax Profile Picture
    15 on at
    Re: PVA for Teams bot does not have 'Set a variable value' option

    Well, it (screenshot) won't help as I am stuck in the same scenario. In your case you want to carry-over a page number. I want to carry over a string (json formatted). But, I cannot find a way to re-assign a new value to an existing variable so I can have it on a loop.

     

    On the screenshot example, there are two "Action" nodes (calls to a flow).  The second one takes one of the outputs of the first one, and works great.  But, in reality they should be just one looping over and over, and reusing the input variable (user message) and output variables (response and carry-over information).

     

    Reaching this point, I will stop using for PVA for Teams for this solution and move to a custom Teams app in order to achieve this. The paid version is unfortunately a no-go for the scenario we are working on (cost).  Having said that, I did test/play with the new PVA/Copilot designer and capabilities and those are awesome and the pricing is much, much more accessible than it was a few months back. 

  • Josephkm_lim Profile Picture
    64 on at
    Re: PVA for Teams bot does not have 'Set a variable value' option

    Hi @swax-andres 

     

    Could you attach the screenshots of your flow to explain how it should be done? A bit lost here.

     

    Thanks

    --

    Yours

  • swax-andres Profile Picture
    4 on at
    Re: PVA for Teams bot does not have 'Set a variable value' option

    That's exactly where I'm at,trying to loop on PVA and inside that loop is the call to the flow. That loop variable would precisely keep the state of the flow for the next iteration 😶

  • swax-andres Profile Picture
    4 on at
    Re: PVA for Teams bot does not have 'Set a variable value' option

    Yes any license to Dynamics or most paid Microsoft 365 and Office 365 (non enterprise) do specifically have dataverse and Teams and therefore PVA for Teams. It's documented I carefully researched to make sure my solution didn't need extra licenses.

  • Josephkm_lim Profile Picture
    64 on at
    Re: PVA for Teams bot does not have 'Set a variable value' option

    If you're using 'PVA for Teams', isn't this limited to standard connectors?

    I thought the Dataverse one was premium.

     

    I guess it is because that the account which I am using is also subscribed to Dynamics 365.

  • HenryJammes Profile Picture
    on at
    Re: PVA for Teams bot does not have 'Set a variable value' option

    If you're using 'PVA for Teams', isn't this limited to standard connectors?

    I thought the Dataverse one was premium.

    But yes, given all the limitations of PVA for Teams, I would try to manage any logic (looping, update of variables, etc.) in Power Automate itself.

  • Josephkm_lim Profile Picture
    64 on at
    Re: PVA for Teams bot does not have 'Set a variable value' option

    Hi @HenryJammes 

     

    Many thanks for your advice.

     

    In my scenario, I am trying to do paging on records fetched from Dataverse to the bot. Imagine there may be N pages of records, and users only want to see 10 records at a time.

     

    So, I need to pass the page Number back to the same Power Automate flow in a loop (reuse the same step in the Topic). A dynamic variable will be useful here.

     

    Any further advice would be appreciated. Thanks.

  • HenryJammes Profile Picture
    on at
    Re: PVA for Teams bot does not have 'Set a variable value' option

    That's correct, the 'Copilot Studio for Teams' version (https://aka.ms/PVAForTeams) is still limited to the classic version (among many other limitations, as documented here: https://learn.microsoft.com/en-us/microsoft-copilot-studio/requirements-licensing-subscriptions#microsoft-copilot-studio-for-microsoft-teams-plan).

     

    In the PVA for Teams version, because you're not entitled to using the Bot Framework Composer, the only ways you can create and set a variable value are:

    1. Asking a question
    2. Calling a cloud flow in Power Automate and returning outputs, that will get available as variables.

     

    Henry

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
Pablo Roldan Profile Picture

Pablo Roldan 25

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 23

#3
stampcoin Profile Picture

stampcoin 10

Overall leaderboard