Export recipients-contacts from office 365 to csv

Welcome Forums General PowerShell Q&A Export recipients-contacts from office 365 to csv

Viewing 1 reply thread
  • Author
    Posts
    • #181263
      Participant
      Topics: 1
      Replies: 0
      Points: -3
      Rank: Member

      Hi, I'm looking for some help with exporting contacts from Exchange admin center/recipients/contacts. These contacts are not related to any mailboxes, they are completely separated. Along with contacts I want to pull some information from contact/organization like Title and Department and export them to CSV. After puling information and modification on CSV I want to update them with PowerShell as well.

      I will much appreciate some links and help.

       

    • #181401
      Participant
      Topics: 23
      Replies: 163
      Points: 475
      Helping Hand
      Rank: Contributor

      So some of this will be easy, and some not so much. A lot depends on if you are in O365, or fully on-premise.

      if O365 and your contacts are only in the cloud, you will be very limited in the data you can retrieve.

      get-mailcontact is the command you'd want to use, but, some of the data you want to export isn't available there.

       

      if your contacts are in AD, something like the following should find them:

      Get-ADObject -Filter {objectclass -eq 'contact'}

       

      If you search the site, you'll come across the following topic..

      https://powershell.org/forums/topic/get-active-directory-contact-information/

       

       

Viewing 1 reply thread
  • The topic ‘Export recipients-contacts from office 365 to csv’ is closed to new replies.