SUPERCEDED BY Ultimate folder redirection for Onedrive, Teams and Sharepoint
I’ve taken information from several sources and written a single “Do It All – Onedrive For Business configuration script” for the Windows 10 Modern Management (Intune MDM Azure AD Join) scenario.
The script can be deployed through Intune to your Windows 10 MDM clients and will do the following silently:
-
- check latest O4B version and update to it
- detect O4B configuration, start auto config
- completely silent / invisible configuration with SSO
- optionally, enable Files On Demand
- optionally, redirect folders to Onedrive
- optionally, copy old content
This is a huge timesaver, thanks a lot!
However I did find a bug when folder redirection is enabled. In line 417 the Cmdlet Join-folder is used, which is an unknown Cmdlet, so redirection fails. I replaced it with Join-Path and the script worked like expected, so many thanks for this!
Deploying it now… thank you for this script. Thank you very much.
Hi, thanks for posting such great scripts. It does do everything in the script but OneDrive fails to sign the user in “There was a problem signing you in”. Its pushing the script to a new computer with Windows 1803 if that means anything.
Hello. What a great script.
Almost too good to be true. single sign on and mamming my OD4B, perfect.
But i am missing a small portion. And that is a way to map (link) all joined teams in the tenant.
I fond out a way to create the links but lack the possibility to list all teams that the user is member of. all still SSO of course..
Once again real great work
The script works but it logs the user off and back to the log in screen. How do I stop this?
I am not seeing what this does overall? Can you please explain the user experience and what functionality you get by doing this?