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

Sharepoint groups implementation in power apps

Hi Team, 

 

Is it Possible to use , SharePoint User Groups in Power apps ?

 

We have scenario like HR,Finance,XYZ. Based on on logged in user group , We need to show/hide controls in Powerapps forms?(we would like check the current user's SharePoint Group in Power apps)

 

Please suggest the best suitable approach .

 

Thanks in Advance.

 

Regards,

Mahesh.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Hi @Maheshchatla1,

 

So far the only available connector of user profiles is Office365 Users connector, which actually gets the user profiles from Azure AD. So you cannot get SharePoint groups in PowerApps for now. You could vote on below post if you want to have this feature to be included:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/get-sharepoint-groups-from-sharepoint-site-in-po...

 

Regards,

Mona Li

Community Support Team _ Mona Li
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

7 REPLIES 7
Community Support
Community Support

Hi @Maheshchatla1,

 

So far the only available connector of user profiles is Office365 Users connector, which actually gets the user profiles from Azure AD. So you cannot get SharePoint groups in PowerApps for now. You could vote on below post if you want to have this feature to be included:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/get-sharepoint-groups-from-sharepoint-site-in-po...

 

Regards,

Mona Li

Community Support Team _ Mona Li
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


@v-monli-msft wrote:

Hi @Maheshchatla1,

 

So far the only available connector of user profiles is Office365 Users connector, which actually gets the user profiles from Azure AD. So you cannot get SharePoint groups in PowerApps for now. You could vote on below post if you want to have this feature to be included:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/get-sharepoint-groups-from-sharepoint-site-in-po...

 

Regards,

Mona Li


I have to say, I'm surprised that the ability to determine a user's SharePoint group membership has not been included in PowerApps by now.   Folks definitely need to upvote this.

Anonymous
Not applicable

Here is the answer to your prayers.

 

Click here.

This works well, thanks! Hope we get a standard function to access SharePoint groups in the future. 

Advocate III
Advocate III

Why did you mark this as solved? I realize you got what you wanted out of it, but the response is hardly an answer to anyone's prayers in terms of being able to do this easily. Lots of moving pieces. If any tweaks are made to the way SP interacts with REST APIs it'll break. The posted solution is basically doing MS's work for them. The solution is the code and logic that THEY should be abstracting away behind a good implementation for US to use directly in PowerApps. Marking this as solved means they may not look at the upvotes to see if this is a feature people still want. These new products from MS (Flow, PowerApps and the claims made abou thow they interact with SP) are lacking in a LOT of features, but this community is full of so many people who just want to fix their own thing and skip along on their merry way so they can get that sweet sweet MVP badge. Make your stuff work better, MS, and give better consideration to basic features people are asking for instead of farming out your tech support to supplicants for MVP status.

Anonymous
Not applicable

This is a great solution! cheers for posting.

Absolutely agree with @Sparrowhawk 

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (13,311)