SOLVED

Add contacts to all mailbox folder in Exchange Online

%3CLINGO-SUB%20id%3D%22lingo-sub-2235431%22%20slang%3D%22en-US%22%3EAdd%20contacts%20to%20all%20mailbox%20folder%20in%20Exchange%20Online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2235431%22%20slang%3D%22en-US%22%3E%3CP%3EI%20want%20to%20add%20a%20contact%20to%20all%20contact%20mailbox%20folders%20on%20our%20Exchange.%20How%20should%20I%20proceed%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUse%20case%20is%3A%20we%20have%20a%20few%20emergency%20contacts%20in%20our%20organization%20and%20we%20want%20that%20every%20employee%20has%20that%20contact.%20So%2C%20I%20need%20to%20add%20the%20emergency%20contacts%20somehow%20to%20all%20contact%20folders%20in%20Outlook%20of%20all%20our%20employees.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2235431%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%20Server%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOutlook%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Contributor

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 that contact. So, I need to add the emergency contacts somehow to all contact folders in Outlook of all our employees.

3 Replies
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
Thank you! How could I do it using the Graph API?
best response confirmed by Kiril Valev (Contributor)