
With version 4.00 OnedriveMapper now fully supports ‘Modern’ Authentication!
As I wrote started this script in my early programming days and there’s a lot of crap code in there I also finally cleaned up a little, reducing the total number of lines by ~50% 🙂
The result is a much faster, leaner script that will map and/or redirect to anything in Office 365 for any of your users. MFA? Not a problem. External MFA? Also not a problem. Conditional Access? Totally fine.
Some older rarely used legacy features were removed, and login is only silent if no MFA / SSO is configured for IE.
The older version (3.X) will remain in my git repo but will not be actively maintained.
Nice!
Hello- i have been using your privous v3 script. im unable to redirection. see error below. 06/01/2020 16:23:19 | INFO | Redirecting Desktop to H:\Desktop 06/01/2020 16:23:19 | ERROR | Failed to redirect to : Error redirecting Desktop. Return code -2147024891 = Access is denied 06/01/2020 16:23:20 | INFO | Redirecting MyDocuments to H:\My Documents 06/01/2020 16:23:20 | ERROR | Failed to redirect to : Error redirecting Documents. Return code -2147024891 = Access is denied 06/01/2020 16:23:20 | INFO | Redirecting MyPictures to H:\My Pictures 06/01/2020 16:23:20 | ERROR | Failed to redirect to : Error redirecting Pictures. Return code… Read more »