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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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.
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.
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

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
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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Michael FergusonSystems EngineerAuthor Commented:

Your advice pointed me into the right directions.

Here is another site that was helpful:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.