Link to home
Start Free TrialLog in
Avatar of Michael Ferguson
Michael Ferguson

asked on

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.
Avatar of Hypercat (Deb)
Hypercat (Deb)
Flag of United States of America image

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.
Avatar of Michael Ferguson
Michael Ferguson

ASKER

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.
Ah - gotcha! I missed that on reading your OP.
zvitam,

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
ASKER CERTIFIED SOLUTION
Avatar of zvitam
zvitam
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
zvitam,

Your advice pointed me into the right directions.

Here is another site that was helpful:
http://www.exchangeitpro.com/2014/09/01/new-addressbookpolicy-name-new-abp-exchange-2013-address-book-policy-step-by-step/