OnedriveMapper v3.16 released!

Version 3.16 of OneDriveMapperĀ has beenĀ released:

  • Minor code improvements regarding the 3.15 new automapping feature
  • By default, OnedriveMapper will now always disconnect/delete ALL onedrive/spo mappings before running
  • Drives won’t be double-mapped when running the script twice in a row
  • Only set cookies when running in native mode

Get the new versionĀ here

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

14 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments
Deepak Varshney
Deepak Varshney
7 years ago

Hi Jos,

We are using onedrivemapper v3.12. Recently we have enabled MFA for some pilot users and found that the script is stopped working and the onedrive is not getting mapped for these users.

We have troubleshooted the issue and enabled $adfsMode = 3 and we are start getting the authentication request on MS authentication app. Once we approves the request it shows the ” IE login function succeeded” and
INFO | Mapping target: \\XXXXXXXX-my.sharepoint.com@SSL\DavWWWRoot\personal\deepak_varshney_XXXXXXXX_co_uk\Documents

but after few seconds we are getting the below messaged and onedrive is not mapped for the user.

INFO | login detected, login function succeeded, final url: https://www.office.com/
INFO | IE login function succeeded
INFO | Detected user: deepak_varshney_XXXXXXXX_co_uk
INFO | Onedrive cookie generated, mapping drive…
INFO | Mapping target: \\XXXXXXXX-my.sharepoint.com@SSL\DavWWWRoot\personal\deepak_varshney_XXXXXXXX_co_uk\Documents
ERROR | ERROR: detected string error 224 in return code of net use command, this usually means your trusted sites are misconfigured or KB2846960 is missing
ERROR | failed to contact Y: after mapping it to \\XXXXXXXX-my.sharepoint.com@SSL\DavWWWRoot\personal\deepak_varshney_XXXXXXXXX_co_uk\Documents, check if the URL is valid. Error:
System error 224 has occurred.
Access Denied. Before opening files in this location, you must first add the web site to your trusted sites list, browse to the web site, and select the option to login automatically.

Requesting you if you can please help us in getting this issue fixed for the MFA enabled users. We did tried onedrive mapper script v3.15 but the error is still the same.

NOTICE: XXXXXXXXX-my.sharepoint.com found in IE Trusted Sites on user level
NOTICE: XXXXXXXXX.sharepoint.com found in IE Trusted Sites on user level

Please help.

Nicolas Coons
Nicolas Coons
7 years ago

I’m having trouble with the MFA. When running the script in native, it asks for the password 3 times, then switches to ie mode. After that I am prompted for my password again (after SSO is not detected), and I get into a continuous loop of MFA requests while the script reads “username not detected”.

However, if I dump the .config file created from version 3.13 into my roaming folder with the .tmp files, it connects my drive after sending me the first MFA push in ie mode.

Is it just a configuration error on our end? I’m not sure why native mode fails and changes to ie in either case.

Thank you,

Dominique
Dominique
7 years ago

Hi Jos,

thanks for that great tool!

Unfortunately we are facing the problem that when the drives are mapped and we start an ie we get the error that we can not access the sharepoint.

Did we miss some parameters?

Thanks for your help.

steve
steve
7 years ago

Hello Jos,

If we are using a 3rd party SSO for authentication (BitGlass), do you have suggestion on how to use? When testing I get the following errors:

ERROR | userLookupMode is set to 3, but the registry path HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WorkplaceJoin\AADNGC does not exist! Using method 2
ERROR | userLookupMode is set to 3, but the registry path HKCU:\Software\Classes\Local Settings\Software\Microsoft\SettingSyncHost.exe\WinMSIPC does not exist! Using method 3
ERROR | userLookupMode is set to 3, but the registry path HKLM:\SOFTWARE\Microsoft\IdentityStore\Cache\S-1-5-21-

Steve

SEAN DELESSIO
SEAN DELESSIO
7 years ago

Hello,

Using OneDriveMapper 3.16 in a XenDesktop enviornment running Windows 10 1709. Script runs fine, and it maps my drive fine. My question though is around the Quick Link it creates in File Explorer – currnetly it comes up as the drive letter – is there a way to change that to be something custom? I’d like it to be the same “OneDrive – CompanyName” that the sync client would create to provide a consistent look and feel for users when they have to use Citrix. I didn’t see anyplace in the script where that is set, not sure if there is a switch that I can hard set in the code someplace?