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

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

 

3 REPLIES 3
Community Support Team
Community Support Team

Re: Office 365 Groups - Check If Member Exists Before Adding

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

Administrator
Administrator

Re: Office 365 Groups - Check If Member Exists Before Adding

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
Microsoft Power Automate Community Manager
Are YOU a member of your local Power Automate User Group?
Fill out This Form to claim your Community User Group Member Badge!
Highlighted
bottekott
Level: Powered On

Re: Office 365 Groups - Check If Member Exists Before Adding

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

 

 

Helpful resources

Announcements
firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

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!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors
Users online (5,069)