Forum Discussion
copy files
Best way is to give access to the OneDrive location and let them download the stuff they need.
How to connect PowerShell to Office 365
You must download and install SharePoint Online Management Shell
https://www.microsoft.com/en-us/download/details.aspx?id=35588
Run Sharepoint Online Management Shell
Run as admin
How to grant admin access to OneDrive account
To add access to Site collection
Connect-SPOService -Url https://tenant-admin.sharepoint.com -credential username@domain.org
Set-SPOUser -Site https://tenant-my.sharepoint.com/personal/targerusername_ypo_org -LoginName username@domain.org -IsSiteCollectionAdmin $true
- Roger RogerMay 15, 2018Iron Contributor
Connect-SPOService -Url https://teanant-admin.sharepoint.com -credential username@domain.org
is username@domain.org is deleted users account?
Set-SPOUser -Site https://tenant-my.sharepoint.com/personal/targerusername_domain_org -LoginName
username@domain.org -IsSiteCollectionAdmin $trueis username@domain.org is deleted users account?
- DeletedMay 15, 2018The first part is connecting to your tenant and that is your admin login. The 2nd part is the user you want to add to the site as a site collection admin. So either you or the person wanting access to the files account.
- Roger RogerMay 15, 2018Iron Contributor
Hi i would prefer my name to the 2nd part , i.e i will add my name to the site as a site collection admin.
After that how do i need to access the users files as i want to copy them and share to their manager
- Roger RogerMay 15, 2018Iron Contributor
Hi experts
I can see this user under deleted users.
Home-Users-Deleted users.
Is there any way to recover data of this user, i read earlier that contents will be preserved for one month
- DeletedMay 15, 2018Yes follow the posts we put to assign site collection admin to yourself or the person needing permission to the OneDrive site. You have at least 30 days to do so unless you have preservation turned way up then you have longer.
- May 14, 2018You can also add yourself as ODFB owner using the user interface: https://www.petri.com/4-ways-add-secondary-administrator-onedrive-business
- DeletedMay 14, 2018Yeah but he disabled the user aka it moves to deleted, don't think you can use UI at that point!