Skip to main content

Notifications

Community site session details

Community site session details

Session Id : dnDVtbfabwYgpqA0gkddZT
Power Apps - Building Power Apps
Unanswered

How can I find specific user 's teams in Canvas app

Like (0) ShareShare
ReportReport
Posted on 12 Dec 2023 10:39:54 by 96

I can get current user's team by using table view. Please see the screenshot below, I create a view for the Team table, set filter conditions, then in Canvas app, I can use Filter(Teams, <View>) to get the current user's teams.

TYu036_0-1702377356650.png

What if I want to get a specific user's teams but not the current login user? For example, I want to get a specific user "user1@abc.com"'s teams.

Very appreciated if any professional users having such experience about this problem.

 

Regards

 

  • TYu036 Profile Picture
    96 on 13 Dec 2023 at 02:10:26
    Re: How can I find specific user 's teams in Canvas app

    Hi,

     

    Thanks for this information.

    It seems this requires using Office Group team type. What if I use Owner team type?

     

     

  • v-bofeng-msft Profile Picture
    on 13 Dec 2023 at 01:35:16
    Re: How can I find specific user 's teams in Canvas app

    Hi @TYu036 ,

     

    Please try:

    ClearCollect(GetGroups,MicrosoftEntraID.GetMemberGroups("user1@abc.com",true))

     

    I think this link will help you a lot:

    https://learn.microsoft.com/en-us/connectors/azuread/

     

    Best Regards,

    Bof

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,670 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard
Loading started
Loading complete