Update deployments/services/Microsoft 365/Seize Control of Personal OneDrive Data of Another User.md
Automatic Documentation Deployment / Sync Docs to https://kb.bunny-lab.io (push) Successful in 4s
Automatic Documentation Deployment / Sync Docs to https://kb.bunny-lab.io (push) Successful in 4s
This commit is contained in:
+2
-2
@@ -21,7 +21,7 @@ Get-SPOSite -Identity "https://<companyname>-my.sharepoint.com/personal/username
|
||||
### Assign Yourself Permissions to Their OneDrive
|
||||
```powershell
|
||||
Set-SPOUser `
|
||||
-Site "https://eaglesafetyak-my.sharepoint.com/personal/username_companyname_com" `
|
||||
-Site "https://<companyname>-my.sharepoint.com/personal/username_companyname_com" `
|
||||
-LoginName "i:0#.f|membership|admin@companyname.com" `
|
||||
-IsSiteCollectionAdmin $true
|
||||
```
|
||||
@@ -34,7 +34,7 @@ At this point, you now have permissions to access the OneDrive data, so open a w
|
||||
At this point, when the work is done, revoke your permissions to lock-down the OneDrive data once again by running the following command:
|
||||
```powershell
|
||||
Set-SPOUser `
|
||||
-Site "https://eaglesafetyak-my.sharepoint.com/personal/username_companyname_com" `
|
||||
-Site "https://<companyname>-my.sharepoint.com/personal/username_companyname_com" `
|
||||
-LoginName "i:0#.f|membership|admin@companyname.com" `
|
||||
-IsSiteCollectionAdmin $false
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user