cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
daniellemaree
Helper III
Helper III

Office 365 Groups - Check If Member Exists Before Adding

Hi,

 

Is it possible to check whether a user exists in an O365 Group  prior to adding to an O365 Group?

 

Is there somehow the information can be validated in the flow? If so could you explain how this can be achieved?

 

Thanks

 

5 REPLIES 5
v-yuazh-msft
Community Support
Community Support

Hi @daniellemaree,

 

The function to check if a user exists in an O365 Group is not supported in microsoft flow currently.

I afraid that there is no way to achieve your needs in Microsoft Flow currently.

 

If you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

Best regards,

Alice

GabrielStJohn
Microsoft
Microsoft

Hello, @daniellemaree!

Thank you for posting on the Flow Community Forum! If you have already posted your idea to the Flow Community Ideas Forum or found an existing idea to upvote, then you need to post the URL to the idea’s thread as a reply to this thread. Then click "Accept as Solution" on the reply if you approve it as a solution to your issue so that other users may vote for the Flow Idea and identify the information easily within this thread.

Thank You for being an active member of the Flow Community!

-Gabriel
Flow Community Manager

- Gabriel
Community Manager
Power Automate | Power Virtual Agents
Super User Program Manager



bottekott
Advocate II
Advocate II

I wanted to add users to a group based on entries in a sharepoint list.

I solved it the following way:

 

  1. Trigger: when an item is created or modified
  2. Action: Initialize a string variable "GroupMembers"
  3. Action: "list group members"
  4. Apply to each "value" from previous step
    1. Action: "Append to string variable"
      1. Name = variable you created in step 2
      2. Value = mail;
  5. Add condition
    1. if "GroupMembers" does not contain "email-value from sharepoint list item"
    2. If yes. Add member to group action
    3. If no, empty

 

 

Thanks - very useful indeed

Thank you for the simple solution!
@bottekott 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,488)