Forum Discussion
Kiril
Mar 25, 2021Steel Contributor
Add contacts to all mailbox folder in Exchange Online
I want to add a contact to all contact mailbox folders on our Exchange. How should I proceed? Use case is: we have a few emergency contacts in our organization and we want that every employee has...
- Mar 26, 2021Use the corresponding Graph endpoint: https://docs.microsoft.com/en-us/graph/api/user-post-contacts?view=graph-rest-1.0&tabs=http
Or use something pre-built: https://github.com/gscales/Exch-Rest
VasilMichev
Mar 25, 2021MVP
You will need a Graph API or EWS-based solution. Here's one PowerShell module that uses EWS: https://github.com/gscales/Powershell-Scripts/tree/master/EWSContacts
- KirilMar 26, 2021Steel ContributorThank you! How could I do it using the Graph API?
- VasilMichevMar 26, 2021MVPUse the corresponding Graph endpoint: https://docs.microsoft.com/en-us/graph/api/user-post-contacts?view=graph-rest-1.0&tabs=http
Or use something pre-built: https://github.com/gscales/Exch-Rest