Link to home
Start Free TrialLog in
Avatar of Nova Consult ApS
Nova Consult ApS

asked on

powershell import vcard office 365 or copy from public folder to all user

Hello i have some contacts i a public folde and i also have  the contacts as vcard files
i need to copy all of these contact from either public folder og vcard to all users with a mailbox

will it be possible to use powershell to do this ??
Avatar of Vasil Michev (MVP)
Vasil Michev (MVP)
Flag of Bulgaria image

There's no way to create Contact item in person's mailbox via PowerShell. You will have to use some EWS based script or similar.

Why dont you simply populate those contacts in the GAL, if the idea is for all users to see them?
Avatar of Nova Consult ApS
Nova Consult ApS

ASKER

hmm it must be possible some how :-(

users need the contacts in contacts to get them on the mobile phone.
Well you can use EWS based scripts as I mentioned above, but need the relevant permissions (Full Access or Impersonation) in order to create items. Here's an example script with pre-built cmdlets you can use: https://github.com/gscales/Powershell-Scripts/tree/6e8989e45253d23381faf18ac67c60a694cf3844/EWSContacts
thx i'll try that !!
i dont think it will work on office 365 and there is no import-contact only export-contact :-(
ASKER CERTIFIED SOLUTION
Avatar of Vasil Michev (MVP)
Vasil Michev (MVP)
Flag of Bulgaria 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
this helped me, i users some delete-contact amd did the rest manual