Add contacts to all users

Hi All,

Is there a way that I can add all users to all users contacts so that everyone has everyone as a contact?

Thanks,

Matt. 

hi matt,

it’s not feasible to add all users to all users’ contacts directly.
however, you can find all users in directory > all users in outlook web app > people or address book > all address lists > all users in outlook clients.

if you want to see them in contacts, you need to export/create these existing users from the address list to a csv file and then import it to the user’s contact via the powershell command.

below is an example to import the contacts in the file in c:\test.csv to the user’s contact.

import-contactlist -csv -csvdata ([system.io.file]::readallbytes("c:\test.csv")) -identity *** Email address is removed for privacy ***

for the format of csv file, please refer to csv file here.


thanks,
franky

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

can I run that import command for all users at once? If not, can I just do it for each user, changing the -Identity entry for each one?

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Hi Matt,

You can do it for each user via changing the “identity” for each one.
However, if you want to run that for all users, you need to query all the mailboxes and then import the CSV file to every mailbox. For these embedded commands of PowerShell, I suggest you post a thread in our Script forum.

Thanks,
Franky

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

 
 

Question Info


Last updated May 16, 2020 Views 1,722 Applies to: