OneDrive - Access User Files
Description
Procedure for accessing a user’s OneDrive files via Office 365 Admin
Pre-requisites
Please ensure you have a relevant Fresh Service ticket with correct approval prior to accessing a user’s data. All Office 365 interactions are audited.
Procedure
Go to https://portal.office.com
Sign in with @lancastercc.onmicrosoft.com account
PIM - can someone insert the correct role here when they next do this
Go to Admin
Go to User > Active Users
Search for relevant user and select
Go to OneDrive
Click “Create link to files”
Use link
Delegating access to files of an already deleted user;
Import-Module "Microsoft.Online.SharePoint.PowerShell" -Verbose
$adminURL = "https://lancastercc-admin.sharepoint.com"
Connect-SPOService -url $adminURL
$URL='https://lancastercc-my.sharepoint.com/personal/#user#_lancaster_gov_uk/'
Set-SPOUser -Site $URL -LoginName #USER WHO NEEDS ACCESS#@lancaster.gov.uk -IsSiteCollectionAdmin $true