cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

sharepoint user groups

I want to get the list of users belonging to a perticular SharePoint group in Flow. Is this possible?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: sharepoint user groups

Hi @Damitha,

 

SharePoint group column type currently is not supported.

 

Office 365 User connection reference could be found under:

Office 365 Users connection in PowerApps

There is no function could give the group membership.

Please consider submit this as an idea under Microsoft Flow idea forum, to allow Microsoft Flow to work with Office 365 Group membership.

A related idea

Flow to work with Office 365 Group feature such as Calendar

Regards

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
Highlighted
Regular Visitor

Re: sharepoint user groups

In case if it is not possible to access SharePoint group with Flow, my fallback option is O365 groups.

I could not find a action for that as well. Please let me know the possibility of accessing users belonging to a O365 group with Flow also.

Highlighted
Community Support
Community Support

Re: sharepoint user groups

Hi @Damitha,

 

SharePoint group column type currently is not supported.

 

Office 365 User connection reference could be found under:

Office 365 Users connection in PowerApps

There is no function could give the group membership.

Please consider submit this as an idea under Microsoft Flow idea forum, to allow Microsoft Flow to work with Office 365 Group membership.

A related idea

Flow to work with Office 365 Group feature such as Calendar

Regards

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Advocate I
Advocate I

Re: sharepoint user groups

You can't filter a powerapps gallery by sharepoint group, Office365 group or AD group, you also can't filter by a people column in sharepoint if multiple selections is turned on and can't filter by a lookup column. Calc columns can't reference people or lookup columns (in case you want to try to convert a people or lookup column to a text string and then use a search expression to filter a gallery). This is a major roadblock.

Highlighted
Advocate II
Advocate II

Re: sharepoint user groups

hi @v-micsh-msft

 

any update so far ?

Highlighted
Helper I
Helper I

Re: sharepoint user groups

@ssvk

Hello SSVK,

 

i have managed to get the users sharepoint groups using flow by using send HTTP Request to sharepoint:

 


_api/web/SiteUsers/getbyemail('@{triggerBody()?['Author']?['Email']}')

 

Then using also Send HTTP Request to Sharepoint, get the users group as below:

 

_api/Web/GetUserById('@{variables('CreatedBy')}')/Groups

 

 

And HYG you get all the groups the user belongs to 🙂

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (8,686)