cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Kumar9024021
Level: Powered On

Check whether user is in a Group - SharePoint

Hi,

 

I have created a Microsoft flow which checks, whether user exists in a SharePoint Group. If it exists, it returns a Boolean value.

 

The problem with flow is that, it returns same Boolean value TRUE, even if user is removed from the SharePoint Group.

 

I suspect the condition UserGroup contains [ ] doesn't gets checked properly.  Should i enclose [ ] in double quotes instead ?

 

Below is the screenshot of my flow.

 

Pic2.PNGPic3.PNG

1 REPLY 1
Community Support Team
Community Support Team

Re: Check whether user is in a Group - SharePoint

Hi @Kumar9024021,

 

Please check the Set variable whether has value:Annotation 2019-11-26 102222.png

 

If it has no value, you can use expression length(variables('UserGroup')) equal to 0, to determine it whether is have no email return.

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

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons in April

Read the announcement for more information!

firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

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!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Kudoed Authors
Users online (8,667)