Version 2.28 of OneDriveMapperĀ has beenĀ released.
- Added support for Auto-Acceleration in Sharepoint Online in combination with ADFS (or other SSO solutions).
- Added a fix that would prevent mapping of the drive if a user was already logged in without the ‘keep me logged in’ checkbox checked.
Get the new versionĀ here
Hi
I am using the script to map my One Drive for Business on my desktop. The scripts ends without error. But the drives are not mapped. I had look into the log file and it shows this. Please let me know how to solve it
lookupUPNbySAM is set to True -> Using UPNlookup by SAMAccountName feature
Script elevation level: Administrator
Possible critical error: Microsoft Office installation not detected, script may fail
NOTICE: HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Security HKLM only not found in registry, your zone configuration could be set on both levels
Possible critical error: onevmw.sharepoint.com not found in IE Trusted Sites on user or machine level, the script will likely fail
Possible critical error: onevmw-my.sharepoint.com not found in IE Trusted Sites on user or machine level, the script will likely fail
WARNING: WebDav File Locking support is enabled, this could cause files to become locked in your OneDrive
Adding to mapping list: X: (\\onevmw-my.sharepoint.com@SSL\DavWWWRoot\personal\)
X: is not yet mapped
Base URL: https://onevmw-my.sharepoint.com
autoKillIE enabled, stopping IE processes
Stopped process with handle 17716
Stopped process with handle 2016
autoProtectedMode is set to True, disabling ProtectedMode temporarily
Zone 0 was set to 3, setting it to 3
Zone 1 was set to 3, setting it to 3
Zone 2 was set to 3, setting it to 3
Zone 3 was set to 3, setting it to 3
Zone 4 was set to 3, setting it to 3
current URL: https://login.microsoftonline.com/
Detected running explorer process
Login attempt at Office 365 signin page
Found sign in elements type 2 on Office 365 login page, proceeding
attempting to trigger a redirect to ADFS
login detected, login function succeeded, final url: https://portal.office.com/Home
Failed to get the username from the URL for 30 seconds, aborting
autoProtectedMode is set to True, reverting to old settings
Hi. This is great, but we’re running into a problem where intermittently the script will error at line 462 as follows:
Exception from HRESULT: 0x800A01B6
At C:\temp\OneDriveMapper.ps1:462 char:8
+ if($ie.document.GetElementById(“_link”).tagName -ne $Null){
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (:) [], NotSupportedException
+ FullyQualifiedErrorId : System.NotSupportedException
Any suggestions as to what I should be looking for?
Thanks,
James