web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / PVA for Teams bot does...
Copilot Studio
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:
I have the same question (0)
  • HenryJammes Profile Picture
    Microsoft Employee on at

    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

  • Josephkm_lim Profile Picture
    64 on at

    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
    Microsoft Employee on at

    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

    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.

  • swax-andres Profile Picture
    4 on at

    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.

  • swax-andres Profile Picture
    4 on at

    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 😶

  • Josephkm_lim Profile Picture
    64 on at

    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 Profile Picture
    15 on at

    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. 

    flow cannot reassign variable.jpg
  • swax Profile Picture
    15 on at

    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. 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Dua Sadiq Profile Picture

Dua Sadiq 108

#2
Mohsin Ali Profile Picture

Mohsin Ali 94

#3
sannavajjala87 Profile Picture

sannavajjala87 89 Super User 2026 Season 2

Last 30 days Overall leaderboard