microsoft graph - Update Office365 personal Contacts -
the context:
our company has 12 coordinators. each coordinator manages bunch of personal contacts.
- coordinator1 manages 409 personal contacts.
- coordinator2 manages 216 personal contacts.
- etc...
we have nightly task populates sql server table
holding personal contact information.
the data in table
extracted 12 different csv files
in turn sent each coordinator.
the coordinator has responsibility import csv file
outlook in order keep list of personal contacts up-to-date (yes, personal contacts change daily).
the entire importing of csv file bit of these coordinators , goal automate or have synchronizes outlook personal contacts these coordinators won’t have daily manual task.
what i’ve tried:
i’ve created c# console application , i’ve added adal , microsoft graph client library nuget packages.
i’ve correctly registered application in azure , obtained client id
, client secret
.
i’ve set appropriate application , delegated permissions
.
i’m able run application, obtain token
, call microsoft graph client.
the problem:
my problem, of writing, microsoft graph not support creation of contact list
nor allow me add, remove or update personal contacts contact list
.
the ability use groups
not possible. each time add user group, email sent particular user letting him know he’s been added group.
in addition, same user can remove himself group , don’t want that.
microsoft graph supports creation of folders
, adding people these folders unfortunately, purpose found these folders organizing stuff...
with folders, not have ability send email particular folder in turn send email in folder. that’s purpose of contact list
...but, of writing, api doesn’t have contact list
.
does have better suggestion or perhaps workaround achieve task?
i don’t mind having rewrite entire console application or change entire approach (like using powershell)
all care not make 12 coordinators manually import csv file
anymore.
thanks in advance.
ps: looked microsoft flow haven't found flow update outlook personal contacts.
at moment neither microsoft graph nor outlook rest api supports "contact groups".
you can create them programmatically using ews managed api. there walkthrough example c# code in how to: create contact groups using ews in exchange.
Comments
Post a Comment