Link to home
Start Free TrialLog in
Avatar of Tufin
Tufin

asked on

how to update "office location property with Sharepoint 365 shell

Hi All,

in order to filter correctly with the app for a phone directory in share point i need to update the local "Office location" property which isn't updated by dirsync

inside office 365 -> Sharepoint admin center -> user profiles -> manage user profiles -> search a name and "edit my profile"
inside those parameters which some is synced with AD through dirsync and some are standalone

once of the standalone properties is "Office Location" which manually, i can edit and it works.
what i want is to find a way to update to 200 specific users in an OU through shell and replace or set the value "Active"

any idea how to?
Avatar of Vasil Michev (MVP)
Vasil Michev (MVP)
Flag of Bulgaria image

You cannot update this via the SharePoint Online module for PowerShell. Use CSOM instead: http://blogs.msdn.com/b/vesku/archive/2014/11/07/sharepoint-user-profile-properties-now-writable-with-csom.aspx
Avatar of Tufin
Tufin

ASKER

how do i run those scritps .. what should i save them as ?
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