cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Field
Level 8

Sync contacts with personalized list

Hello again,

 

I have another question. My problem is, i want to create an app that will see all the contacts of your outlook. And when you add another user, it will add to the sharepoint list, and the sharepoint then will add to the contacts.

 

But you can't sync the contacts in a personalized list to sharepoint. Can someone help me in this issue, or does someone have a workaround?

 

I'm very new to all of this... 

 

Many thanks

1 REPLY 1
Community Support Team
Community Support Team

Re: Sync contacts with personalized list

Hi,

 

Could you please explain a bit for the following part:

"But you can't sync the contacts in a personalized list to sharepoint."?

 

We could take use of the 

Office365.ContactGetItems("Contacts").value

To get a list of all the contacts within Office 365.

 

So when trying to add a user, the steps could be done as below:

1. Check if user already exists in the List first,

2. If not, then add the user to SharePoint list, after that,  add it with Office365.ContactPostItem() function.

Office365Outlook.ContactPostItem (string table, Contact item)

You may also switch this steps to Microsoft Flow.

For example:

https://asia.flow.microsoft.com/en-us/galleries/public/templates/225816a0261011e7881e9718cfad4b56/cr...

 

Regards,

Michael

 

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

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