Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Answered

How to access user id in MS Teams for PVA

(0) ShareShare
ReportReport
Posted on by 43

I created a Power Virtual agent bot and integrated it in MS Teams for my organization. Now, I want my bot to store their user id or maybe associate id and fulfil user requests based on that. How can I do that and is it possible to do it in a free license?

  • Verified answer
    Pstork1 Profile Picture
    66,287 Most Valuable Professional on at
    Re: How to access user id in MS Teams for PVA

    If you are integrating to Teams and using Teams Authentication the UserID for the user is available as a Variable in the bot. 

  • Verified answer
    abhi_r Profile Picture
    on at
    Re: How to access user id in MS Teams for PVA

    Hi @Simran1607, You can use the Office365 connector to pull some of the additional user information you need that is currently not available. For premium connectors you need a paid license. This post has more details on jhow to do this: 

    https://powerusers.microsoft.com/t5/Power-Virtual-Agents-Community/Getting-User-Details-To-Use-In-Power-Virtual-Agents-In-Teams/ba-p/744934

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 the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 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…

Leaderboard > Copilot Studio - General

#1
Pablo Roldan Profile Picture

Pablo Roldan 33

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 25

#3
stampcoin Profile Picture

stampcoin 10

Overall leaderboard