OneDriveMapper automatically map your OneDrive for Business upon login

This script maps your Onedrive / Sharepoint / Teams document libraries to driveletters (or shortcuts). It can be used in any environment (VDI, RemoteApp, w10 etc).

 
 
 
 
 
4.6 Star
(116)
77,746 times
Add to favorites
Office 365
2/3/2019
E-mail Twitter del.icio.us Digg Facebook
  • I'm getting error message 53
    2 Posts | Last post July 11, 2018
    • This is the error message that i'm getting.
      
      06/12/2018 10:24:36 | ERROR | failed to contact X: after mapping it to \\company-my.sharepoint.com@SSL\DavWWWRoot\personal\chris_v_sterlingsolutions_com\Documents, check if the URL is valid. Error: 
       System error 53 has occurred. 
       The network path was not found.
    • Please check the FAQ on my blog
  • Issue with federation
    1 Posts | Last post May 18, 2018
    • We currently have one of our domains federated, @domain.com (not federated), @student.domain.com (federated).  When user@domain.com logs onto login.microsoftonline.com no issues there, when a user@student.domain.com logs on they get redirected and on the new redirected page they need to enter samaccountname only and no @student.domain.com.  Where can I make the change to allow that samaccountname on the new redirected page along with passing over the username and password to the proper fields?  Hope you can help.
  • why it doesn't work "waited for xx sec for o4b auto provisioning
    1 Posts | Last post May 15, 2018
    • 05/15/2018 10:58:24 | INFO | KMSI prompt detected
      05/15/2018 10:58:24 | INFO | sending cookie persistence request
      05/15/2018 10:58:24 | INFO | Redirect detected...
      05/15/2018 10:58:24 | INFO | Detected a redirect to Office.com, following...
      05/15/2018 10:58:25 | INFO | Logged into Office 365!
      05/15/2018 10:58:25 | INFO | Retrieving Onedrive for Business cookie step 1...
      05/15/2018 10:58:27 | INFO | Retrieving Onedrive for Business cookie step 2 at https://onedrivemapper-my.sharepoint.com/_forms/default.aspx
      05/15/2018 10:58:29 | INFO | Waited for 0 seconds for O4b auto provisioning...
      05/15/2018 10:58:40 | INFO | Waited for 10 seconds for O4b auto provisioning...
      05/15/2018 11:01:37 | INFO | Waited for 20 seconds for O4b auto provisioning...
      05/15/2018 11:01:50 | INFO | Waited for 30 seconds for O4b auto provisioning...
      05/15/2018 11:02:03 | INFO | Waited for 40 seconds for O4b auto provisioning...
      05/15/2018 11:02:15 | INFO | Waited for 50 seconds for O4b auto provisioning...
      05/15/2018 11:02:29 | INFO | Waited for 60 seconds for O4b auto provisioning...
      05/15/2018 11:02:55 | INFO | Waited for 70 seconds for O4b auto provisioning...
      05/15/2018 11:09:01 | INFO | Waited for 80 seconds for O4b auto provisioning...
      etc
      
      can you please help me? thank you
  • Onedrivemapper.ps1
    1 Posts | Last post April 29, 2018
    • Hi Jos,
      
      I used your script to auto configure OneDrive. Users started missing desktop files after deploying the script. Looks like the desktop files resides in C:\Users\username\Desktop and not mapped to C:\Users\username\OneDrive - companyname\Desktop.
      
      Can you help!? 
  • Any updated support for MFA?
    1 Posts | Last post April 12, 2018
    • Having big problems using the script with MFA enabled users. Will upgrading to AAD Premium P1 with SSO resolve the issues?  
  • Sharepoint Document Library
    1 Posts | Last post April 11, 2018
    • I'm trying to use the script to map a particular sharepoint library to a drive. What part of the script can I tweak? 
  • Drive Mapping usinjg TLS1.1
    5 Posts | Last post March 30, 2018
    • The script has been working fine using TLS1.1. But recently it stopped mapping the drive. The log says “Error detected while following redirect, check the FAQ for help”
      
      Does the script only work if using TLS1.2?
      
    • Dear Kaoru,
      
      I have the same error.
      Were you able to solve yours ?
      
      With Kind regards,
      
      Kiran Avinash Ghisaidoobe
    • I'm having the same problem.  Any solution?
    • Having the same problem.
    • It is because portal.microsoftonline.com is down.
      So from ADFS it redirects to the url but it can not do anything.
      I do not know if it is the script or in adfs because normally adfs functions properly
      And Microsoft told me they are not sure if the url is coming back.
      
      If you have any ideas to fix this please share it also with me :)
      
      
  • Error 224 : Access denied
    2 Posts | Last post March 23, 2018
    • Hi Jos,
      
      We did add the site to the trusted sites, but this didn't resolve the issue. The option 'Stay Signed-In' isn't shown on the new sign experience login site. We checked but there is currently no company branding enabled.
      
      Any idea what could be wrong and how we can solve this?
      
      Cheers,
      
      Tom B.
    • I found that sometimes I have to login to office365 first, then the script works. It would be nice if I did not have to do that. 
  • onedrive mapped drive is same size as my hard drive
    1 Posts | Last post February 26, 2018
    • Is that the way it is supposed to be?  I thought we had 1 TB per person atleast but we have some members that their hard drive is only 250 GB and they are getting out of space errors when trying to save to 1 drive.  And their mapped onedrive only shows 250GB.  it shows on everyones that whatever their hard drive is, is what their mapped onedrive is.  
  • Script working perfectly, but it's mapping my personal Sharepoint folder instead of an online location
    1 Posts | Last post February 22, 2018
    • Hello,
      
      It works brilliantly, only problem being that instead of mapping the destination I've fed the script with in $sharepointmappings=https://test.sharepoint.com/testfolder/forms/allitems.aspx
      , it then decides to re assign it to a my.sharepoint location instead.
      
      "Username detected, your onedrive should be at \\test.mysharepoint.com@SSL\DavWWWRoot\personal\Username\Documents.
      
      All I want it to do is to map the specific location that I fed him with.
      
      Any suggestion?
      
      Many Thanks :)
31 - 40 of 197 Items