Import and Delete Contacts to/from Exchange Mailbox

I have VIP Users that want to share Contact Information via Exchange to other VIP Users while Normal Users can not see this information via the GAL. This information also needs to push down into their Cell Phones (Active Sync)

I am currently using Exchange 2013 On-Prem. I would like to be able to script the process or if possible to setup an Additional Addressbook.

  • Currently I am looking at doing a Import PST (which would have the contacts) directly to the required users.
  • The problem I am having is I need be able to remove the Contact(s) from the Users Mailbox if the user leaves or changes contact information.

Here is what I have so far:
  • I have found the script process to import the PST to Users (New-MailboxExportRequest -Mailbox User -IncludeFolders "#Contacts#/*" -FilePath File.pst)
  • I can Delete a Contact via Search-Mailbox, but the problem is that it would delete all contacts with the same name, so if they already had any custom contacts, they would be deleted (Get-Mailbox -Identity HTAB | Search-Mailbox -SearchQuery 'kind:contacts"test user 1"' -DeleteContent)
  • I am importing the contacts into their own folder, so if there is a way to do the Search-Mailbox for Contacts Subfolders, or delete a Sub-Folder as a whole that would be good as well

I am also open to any other better solutions that I am not thinking of right now as well.
Michael FergusonSystems EngineerAsked:
Who is Participating?
zvitamConnect With a Mentor ConsultantCommented:
To make a long story short ( but you still have to read :) )

VIP Users are untouched.

All other users are assigned a policy that contains customized GAL withot the VIPs.
Hypercat (Deb)Commented:
Why not a contacts folder in a shared mailbox that only those users can access?  It seems simpler unless one of their criteria is that it has to be part of their own individual contacts folder.
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Michael FergusonSystems EngineerAuthor Commented:
Hypercat (Deb),
The solution to use a Shared Contact will not all users to see the contacts on their mobile devices :( and that is the primary want.
Hypercat (Deb)Commented:
Ah - gotcha! I missed that on reading your OP.
Michael FergusonSystems EngineerAuthor Commented:

I have never really worked with Address Book Policies. I have through of using one, but being unclear on the process of how to use/create them, I have not looked deeper into them.

Should/Would I be able to do the following:
  • VIP User have access to the Global GAL?
  • VIP Users have access to the VIP Contacts List (while non-VIPs would not have access)?
  • And both GAL and VIP Address books would be available to Mobile Devices (active sync)?

Guess I am not clear on how to segment/protect the VIP Address book from being seen by non-VIPs
Michael FergusonSystems EngineerAuthor Commented:

Your advice pointed me into the right directions.

Here is another site that was helpful:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.