cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jpot125
Level: Power Up

Add new Office 365 User to Sharepoint list

I'm trying to add new Office 365 users to a SharePoint List. If the User is not in the list it needs to be added in. I have 2 issues. 

1. How can I get All Office 365 Users where Account Enabled = true.

2. Some existing users don't have a business phone (business phone is an array) and for some reason they are being added in twice. I'm not sure why since they already exist in the list I thought the filter array and condition would skip over them. 

Can you see any problems with the following flow?

Flow1.jpgflow2.jpg

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Add new Office 365 User to Sharepoint list

Hi @jpot125 ,

 

You could add a Filter Array under the Get users action as my screenshot below:

1.png

 

Best regards,

Alice       

Community Support Team _ Alice Zhang
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

2 REPLIES 2
Highlighted
Super User
Super User

Re: Add new Office 365 User to Sharepoint list

You'll need to Add a condition to a flow in conjunction with the Apply to Each to check or verify if users or records exist.

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

 

Community Support Team
Community Support Team

Re: Add new Office 365 User to Sharepoint list

Hi @jpot125 ,

 

You could add a Filter Array under the Get users action as my screenshot below:

1.png

 

Best regards,

Alice       

Community Support Team _ Alice Zhang
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

Helpful resources

Announcements
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

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

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 Solution Authors
Top Kudoed Authors
Users online (9,629)