Forum Discussion
Grace Yin
Nov 12, 2018Iron Contributor
How to map OneDrive?
Hi, Is it possible to map a drive letter to OneDrive? If it is, how to? Need help! Thanks in advance!
- Nov 12, 2018I’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?
Grace Yin
Nov 12, 2018Iron Contributor
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!
Nov 12, 2018
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
- Fred YNov 12, 2018Steel Contributor
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
- Grace YinNov 12, 2018Iron Contributor
Hi Fred,
Thank you for your reply and letting me know your experience.
- Nov 12, 2018True, when the token expires an reauthentication needs to be done! The script above does help you out with that though
- Grace YinNov 12, 2018Iron Contributor
Hi Adam,
Thank you for your help! You answered my question.
Thanks again,