Forum Discussion
gablake
Jan 23, 2019Copper Contributor
Importing contacts from a CSV file into a Contact Group in a Shared Mailbox.
Hi. I have a csv file that has the information of 90+ contacts. I have attached the format of the csv file with a dummy entry. These contacts are required to be imported into a Contact Group in a S...
Jan 23, 2019
Hi gablake
If these contacts were meant to be shared within the organisation, would you not simply import them into Exchange Online as external contacts so they appear in the GAL?
https://o365info.com/bulk-import-contacts-to-exchange-online-office-365-using-powershell-part-1-of-2/
Any reason specifically for the contacts going into a shared mailbox? What would you like to achieve?
Best, Chris
If these contacts were meant to be shared within the organisation, would you not simply import them into Exchange Online as external contacts so they appear in the GAL?
https://o365info.com/bulk-import-contacts-to-exchange-online-office-365-using-powershell-part-1-of-2/
Any reason specifically for the contacts going into a shared mailbox? What would you like to achieve?
Best, Chris
gablake
Jan 23, 2019Copper Contributor
Hi Chris.
The Contact Group in the Shared Mailbox was deleted and can not be recovered. Only certain users have been given access to this Shared Mailbox.
So I am wanting to create the orginal mailbox. I have created the Contact Group I just need to populate it with the contacts from the csv file. If it wasn't for so many contacts I would do it manually.
Thanks for reaching out.
- Jan 23, 2019Ah, I see, it is restoring what was in place.
In that case you should be able to do it by creating and giving yourself full access to the shared mailbox, opening it in your Outlook so it's alongside your mailbox. Import the contacts into the shared mailbox via Powershell and then create the contact group after the import. If you have an issue doing this I would consider temporarily converting the mailbox to a regular mailbox with credentials and then Powershelling the CSV directly into the mailbox, where again you can then create the contact group in your Outlook.
Others may have some other methods here based on their experience.
Best, Chris