diff --git a/deployments/services/Microsoft 365/Seize Control of Personal OneDrive Data of Another User.md b/deployments/services/Microsoft 365/Seize Control of Personal OneDrive Data of Another User.md index 5958620..58d7c8a 100644 --- a/deployments/services/Microsoft 365/Seize Control of Personal OneDrive Data of Another User.md +++ b/deployments/services/Microsoft 365/Seize Control of Personal OneDrive Data of Another User.md @@ -21,7 +21,7 @@ Get-SPOSite -Identity "https://-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://-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://-my.sharepoint.com/personal/username_companyname_com" ` -LoginName "i:0#.f|membership|admin@companyname.com" ` -IsSiteCollectionAdmin $false ```