cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

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
Highlighted
Community Support
Community Support

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 II
Super User II

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!

 

Highlighted
Community Support
Community Support

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors
Users online (7,793)