SOLVED

How to map OneDrive?

Iron Contributor

Hi,

 

Is it possible to map a drive letter to OneDrive? If it is, how to?

 

Need help!

 

Thanks in advance!

8 Replies
By design - No!
There is script out there and third party tools doing this, but I mostly do not recommend doing it! Been down that road a few times with customers...
What is your usecase?

Adam

Hi Adam,

 

Thank you for your reply.

 

We plan to migrate users's home directory to OneDrive. The home directory is mapped as letter H, so I wonder if we can keep the same letter so user will be less confused.   

 

Can you share the script to me?

 

Many thanks!

best response confirmed by Grace Yin (Iron Contributor)
Solution
I’ve used this one:
https://www.lieben.nu/liebensraum/onedrivemapper/

Yes you can set the drive letter to H:
Just a warning! This is mostly not the best way of using onedrive! Also mapping onedrive to driveletter via WebDAV is not supported by Microsoft so it can break anytime if Microsoft changes some authentication stuff behind the scenes and so on!
What is your usecase for this?
If it’s only to use onedrive instead of The home drive I would suggest to train users how to work with the onedrive client instead using the sync engine

I agree mapping using WebDAV is not a long-term solution. 

 

I've had issues with my end-users since mapped drive gives an error when the connection expires and logged out the user. This will be confusing to the user since they will need to re-connect before the shortcut works again.

 

https://twitter.com/fredyano/status/1059843707204038656 

 

Fred

 

True, when the token expires an reauthentication needs to be done! The script above does help you out with that though

Hi Adam,

 

Thank you for your help! You answered my question.

 

Thanks again, 

Hi Fred,

 

Thank you for your reply and letting me know your experience. 

1 best response

Accepted Solutions
best response confirmed by Grace Yin (Iron Contributor)
Solution
I’ve used this one:
https://www.lieben.nu/liebensraum/onedrivemapper/

Yes you can set the drive letter to H:
Just a warning! This is mostly not the best way of using onedrive! Also mapping onedrive to driveletter via WebDAV is not supported by Microsoft so it can break anytime if Microsoft changes some authentication stuff behind the scenes and so on!
What is your usecase for this?

View solution in original post