Link to home
Start Free TrialLog in
Avatar of Jerry Seinfield
Jerry SeinfieldFlag for United States of America

asked on

powershell script to export all external outlook contacts to a CSV file

Hi Experts,

Is there a PowerShell script available to search for all mailboxes hosted in MS365 and export all external contacts per mailbox onto a CSV file? 

I would like to get a report of all outlook external contacts per mailbox 

Avatar of Vasil Michev (MVP)
Vasil Michev (MVP)
Flag of Bulgaria image

You will have to use EWS or the Graph API for this. Here's a sample script: https://github.com/gscales/Powershell-Scripts/tree/master/EWSContacts
Avatar of Jerry Seinfield

ASKER

Hi Vasil,

Can you please add step by step instructions on the graph API for this?

Thank you in advance
ASKER CERTIFIED SOLUTION
Avatar of Vasil Michev (MVP)
Vasil Michev (MVP)
Flag of Bulgaria image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial