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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Select office 365 grou...
Power Apps
Unanswered

Select office 365 group or user in combo box.

(0) ShareShare
ReportReport
Posted on by

In my app user can select any user from combo box and assign tasks to the users. I am using "Office365Users.SearchUser" to show list of users in the combo box but I can not select groups in the combo box. Is it possible using the same connector or is there some other way?

Categories:
I have the same question (0)
  • CU-18081211-6 Profile Picture
    9,270 Moderator on at

    Hi @Anonymous ,

    Do you need all the groups in the tenant ? Well i'm affraid that this cannot be achieved with the actual connectors.

    On the other hand there are 2 options to achieve limited number of groups:

    1. Office365Groups connector - ListOwnedGroups_V3 or

    2. Azure AD connect - Get groups of a user (V2)

    As the name say the first helps you to get infos about all the groups that current user own or belong to, as per second helps you to get infos about all the groups that a specific user own or belong to. 

     

    Hope it helps !

  • Community Power Platform Member Profile Picture
    on at

    Hi @gabibalaban 
    But the requirement is that the user should be able to select a group or user in the same combo box. I can not have two separate input for group and user. 

  • Verified answer
    CU-18081211-6 Profile Picture
    9,270 Moderator on at

    @Anonymous ,

    This is what was crosses my mind:

    ClearCollect(users,ShowColumns(Office365Users.SearchUserV2({searchTerm:""}).value,"DisplayName","Mail"));
    Collect(users,RenameColumns(ShowColumns(Office365Groups.ListOwnedGroupsV3().value,"displayName","mail"),"displayName","DisplayName","mail","Mail"))

    In this way you will have into a collection all Users and the Groups (that the current user is member/owner of) with 2 columns ...DisplayName and Mail. I hope that this is enough info.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard