Powershell script to download a users OneDrive content.
New and improved: Download-OD4BAccount.ps1
.Example
.\Download-OD4BAccount.ps1 -Username [email protected] -Destination "D:\OD4B" -ThreadCount 3 -Verbose
Script prerequisites:
1. Microsoft Graph PowerShell Module installed on local machine. The script automatically checks for and installs module if needed.
2. An Azure AD user that has an admin consent to approve the following permissions in Microsoft Graph application in Azure AD apps:
Organization.Read.All, User.Read.All, Directory.Read.All
This was inspired by Adnan's script, which i have used on multiple occasions.
But when downloading very large OneDrive data structures, Multi-Threads seems to work faster and smoother.
You must be logged in to post a comment.