Created
January 21, 2015 11:36
-
-
Save eugenedauphin/b6ac8e787a9deae57c93 to your computer and use it in GitHub Desktop.
Get administrative access to the OneDrive for Business environment of a user
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$site = Get-SPOSite -Identity https://mydemo-my.sharepoint.com/personal/sarad_mydemo_onmicrosoft_com | |
Set-SPOUser -Site $site.Url -LoginName admin@mydemo.onmicrosoft.com -IsSiteCollectionAdmin $true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment