I have a flow I have built and it users can request to join departments. The flow uses the O365 Connector tool to add the user to the 0365 group.
However to dumb proof the flow if a user is already in the group and requesting it again, the flow errors as the user is already in the O365 group. "One or more added object references already exist for the following modified properties: 'members'.","
Is there a way from the action causing the error and to simply reject the user from the request?
Or is it possible to get the flow to check first if the user is in the group? If so how can this be done
The function to check if the user is in the group is not supported in microsoft flow currently.
I afraid that there is no way to achieve your needs in Microsoft Flow currently.
Also there is no any way from the action causing the error and to simply reject the user from the request in microsoft flow currently.
If you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:
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!
Flow Community Manager
I wanted to add users to a group based on entries in a sharepoint list.
I solved it the following way:
Fill out a quick form to claim your user group badge now!
We've given our badges an overhaul and also added some brand new ones!
Learn how to build the business apps that you need.
Find out where you can attend!
Watch & learn from the Power Automate Community Video Gallery!