cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Field
Helper V
Helper V

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
v-micsh-msft
Community Support
Community Support

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,428)