troubleshooting Question

Export Contacts Exchange Online Powershell

Avatar of msidnam
msidnamFlag for United States of America asked on
PowershellExchangeMicrosoft 365
4 Comments1 Solution77 ViewsLast Modified:
I have a need to be able to export contacts for specific users using powershell. I've tried the scripts here but the don't seem to work:

https://community.spiceworks.com/topic/2155223-powershell-office-365-export-user-s-contacts-to-csv

https://gallery.technet.microsoft.com/office/How-to-export-a-mailboxs-2dd7247a

The one from spiceworks doesnt give me any errors, but the csv it creates has no data.

The one from the technet gallery gives me an autodiscovery error and I'm not sure how to fix that.

Does anyone else have a tried and true way of exporting contacts using powershell and exchange online?

Thank you.
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros