Solved Mapping OneDrive Business to a drive letter
-
We are currently utilizing O365 and Exchange Online. But we are currently not utilizing SharePoint Online or OneDrive for Business. Management is hoping to change this by migrating data off of our internal file server and onto OneDrive for Business.
One of the caveats is that users currently use this mapped drive to move data in and out of our ERP system, which they RDP into in order to use it. The ERP uses 4 terminal servers which are brokered, so they could RDP into any of the 4 servers at any time with discretion of the broker server.
The plan is to use a PS1 script attached to the AD profile login script in order to map the OneDrive to the user's profile so that they can utilize OneDrive in the same way.
With all of that said, I can manually map their OneDrive to their computers and to all of their terminals, but you are talking about 130 users across their own computer and potentially 4 terminals for each user. Meaning about 650 connections that I would have to make just to get started, plus any new users that we gain along the way.
Like the old saying goes, if you have to do it more than twice, then you should automate it, and automate it I want to. I want to create a PS script that I can attach to everybody's profiles and it attaches their respective mailboxes whenever and where ever they sign in. This shouldn't be too hard, but I am not understanding the error that it is throwing me.
This is the script
New-PSDrive -Name "E" -PSProvider "FileSystem" -Root "\\<tenant>-my.sharepoint.com@SSL\personal\<login>" -Persist
This is the error
Am I missing something?
-
This is the script I am using. It works fairly well.
-
@coliver said in Mapping OneDrive Business to a drive letter:
This is the script I am using. It works fairly well.
Oh my gosh, that script is HUGE. I'm not a software developer, but I'll see if I can read through it and put it to practice.
Thanks,
-
@nerdydad said in Mapping OneDrive Business to a drive letter:
@coliver said in Mapping OneDrive Business to a drive letter:
This is the script I am using. It works fairly well.
Oh my gosh, that script is HUGE. I'm not a software developer, but I'll see if I can read through it and put it to practice.
Thanks,
If you go heads down you might be able to do it by Christmas.
-
@nerdydad said in Mapping OneDrive Business to a drive letter:
@coliver said in Mapping OneDrive Business to a drive letter:
This is the script I am using. It works fairly well.
Oh my gosh, that script is HUGE. I'm not a software developer, but I'll see if I can read through it and put it to practice.
Thanks,
3365 lines of code to get a drive mapped on login, that's insanity. I've written entire programs in less than 1000 lines of code!
-
What is the point of OneDrive if you cant mount it as a drive letter easily?
Someone please explain. It seems absoultely horrible. -
@momurda said in Mapping OneDrive Business to a drive letter:
What is the point of OneDrive if you cant mount it as a drive letter easily?
Someone please explain. It seems absoultely horrible.Why woudl you want it as a drive letter? The drive letter is an old holdover that isn't very good. You can mount OneDrive as a folder which is better most of the time.
-
@scottalanmiller said in Mapping OneDrive Business to a drive letter:
@momurda said in Mapping OneDrive Business to a drive letter:
What is the point of OneDrive if you cant mount it as a drive letter easily?
Someone please explain. It seems absoultely horrible.Why woudl you want it as a drive letter? The drive letter is an old holdover that isn't very good. You can mount OneDrive as a folder which is better most of the time.
I would be open to that option as long as it is just a shortcut pointing to OneDrive and not to a place on the server. Have any suggestions as to how to accomplish this?
-
@scottalanmiller said in Mapping OneDrive Business to a drive letter:
@momurda said in Mapping OneDrive Business to a drive letter:
What is the point of OneDrive if you cant mount it as a drive letter easily?
Someone please explain. It seems absoultely horrible.Why woudl you want it as a drive letter? The drive letter is an old holdover that isn't very good. You can mount OneDrive as a folder which is better most of the time.
You apparently cant do that either.
What is the point? -
@momurda said in Mapping OneDrive Business to a drive letter:
@scottalanmiller said in Mapping OneDrive Business to a drive letter:
@momurda said in Mapping OneDrive Business to a drive letter:
What is the point of OneDrive if you cant mount it as a drive letter easily?
Someone please explain. It seems absoultely horrible.Why woudl you want it as a drive letter? The drive letter is an old holdover that isn't very good. You can mount OneDrive as a folder which is better most of the time.
You apparently cant do that either.
What is the point?Well, now THAT would make it stupid. lol
-
Just use NextCloud, keep it simple
-
Ever consider using Junction points or Symbolic links?
https://helgeklein.com/blog/2015/02/manual-folder-redirection-with-symbolic-links/ -
@scottalanmiller said in Mapping OneDrive Business to a drive letter:
@momurda said in Mapping OneDrive Business to a drive letter:
What is the point of OneDrive if you cant mount it as a drive letter easily?
Someone please explain. It seems absoultely horrible.Why woudl you want it as a drive letter? The drive letter is an old holdover that isn't very good. You can mount OneDrive as a folder which is better most of the time.
Assuming that OneDrive syncing actually works, which generally it is pretty poor.
-
@bbigford said in Mapping OneDrive Business to a drive letter:
@scottalanmiller said in Mapping OneDrive Business to a drive letter:
@momurda said in Mapping OneDrive Business to a drive letter:
What is the point of OneDrive if you cant mount it as a drive letter easily?
Someone please explain. It seems absoultely horrible.Why woudl you want it as a drive letter? The drive letter is an old holdover that isn't very good. You can mount OneDrive as a folder which is better most of the time.
Assuming that OneDrive syncing actually works, which generally it is pretty poor.
I find OneDrive itself (the consumer one) works great.
ODfB, though ... LOOKOUT!
-
@brrabill said in Mapping OneDrive Business to a drive letter:
@bbigford said in Mapping OneDrive Business to a drive letter:
@scottalanmiller said in Mapping OneDrive Business to a drive letter:
@momurda said in Mapping OneDrive Business to a drive letter:
What is the point of OneDrive if you cant mount it as a drive letter easily?
Someone please explain. It seems absoultely horrible.Why woudl you want it as a drive letter? The drive letter is an old holdover that isn't very good. You can mount OneDrive as a folder which is better most of the time.
Assuming that OneDrive syncing actually works, which generally it is pretty poor.
I find OneDrive itself (the consumer one) works great.
ODfB, though ... LOOKOUT!
Hah, yeah that's the one I was speaking toward. Assumed that is what is being brought up here since it's for a business. I could be wrong though.
But yeah, ODfB... wow. I hear it's a little better but I've completely written it off as of late.
-
@bbigford said in Mapping OneDrive Business to a drive letter:
@brrabill said in Mapping OneDrive Business to a drive letter:
@bbigford said in Mapping OneDrive Business to a drive letter:
@scottalanmiller said in Mapping OneDrive Business to a drive letter:
@momurda said in Mapping OneDrive Business to a drive letter:
What is the point of OneDrive if you cant mount it as a drive letter easily?
Someone please explain. It seems absoultely horrible.Why woudl you want it as a drive letter? The drive letter is an old holdover that isn't very good. You can mount OneDrive as a folder which is better most of the time.
Assuming that OneDrive syncing actually works, which generally it is pretty poor.
I find OneDrive itself (the consumer one) works great.
ODfB, though ... LOOKOUT!
Hah, yeah that's the one I was speaking toward. Assumed that is what is being brought up here since it's for a business. I could be wrong though.
But yeah, ODfB... wow. I hear it's a little better but I've completely written it off as of late.
Besides Scott's problems, what issues are yall talking about? Honestly, we have had very little issues with Exchange Online and SharePoint Online over the course of 2-3 years.
-
@nerdydad said in Mapping OneDrive Business to a drive letter:
@bbigford said in Mapping OneDrive Business to a drive letter:
@brrabill said in Mapping OneDrive Business to a drive letter:
@bbigford said in Mapping OneDrive Business to a drive letter:
@scottalanmiller said in Mapping OneDrive Business to a drive letter:
@momurda said in Mapping OneDrive Business to a drive letter:
What is the point of OneDrive if you cant mount it as a drive letter easily?
Someone please explain. It seems absoultely horrible.Why woudl you want it as a drive letter? The drive letter is an old holdover that isn't very good. You can mount OneDrive as a folder which is better most of the time.
Assuming that OneDrive syncing actually works, which generally it is pretty poor.
I find OneDrive itself (the consumer one) works great.
ODfB, though ... LOOKOUT!
Hah, yeah that's the one I was speaking toward. Assumed that is what is being brought up here since it's for a business. I could be wrong though.
But yeah, ODfB... wow. I hear it's a little better but I've completely written it off as of late.
Besides Scott's problems, what issues are yall talking about? Honestly, we have had very little issues with Exchange Online and SharePoint Online over the course of 2-3 years.
Referring to OneDrive for Business syncing. Outside of SharePoint Online, speaking only to the ODfB syncing; it'll often just break for no apparent reason and stop syncing to workstations.
-
@nerdydad said in Mapping OneDrive Business to a drive letter:
@bbigford said in Mapping OneDrive Business to a drive letter:
@brrabill said in Mapping OneDrive Business to a drive letter:
@bbigford said in Mapping OneDrive Business to a drive letter:
@scottalanmiller said in Mapping OneDrive Business to a drive letter:
@momurda said in Mapping OneDrive Business to a drive letter:
What is the point of OneDrive if you cant mount it as a drive letter easily?
Someone please explain. It seems absoultely horrible.Why woudl you want it as a drive letter? The drive letter is an old holdover that isn't very good. You can mount OneDrive as a folder which is better most of the time.
Assuming that OneDrive syncing actually works, which generally it is pretty poor.
I find OneDrive itself (the consumer one) works great.
ODfB, though ... LOOKOUT!
Hah, yeah that's the one I was speaking toward. Assumed that is what is being brought up here since it's for a business. I could be wrong though.
But yeah, ODfB... wow. I hear it's a little better but I've completely written it off as of late.
Besides Scott's problems, what issues are yall talking about? Honestly, we have had very little issues with Exchange Online and SharePoint Online over the course of 2-3 years.
As far as Exchange/SharePoint Online services, they have been fine for all of our clients.
-
@bbigford said in Mapping OneDrive Business to a drive letter:
@nerdydad said in Mapping OneDrive Business to a drive letter:
@bbigford said in Mapping OneDrive Business to a drive letter:
@brrabill said in Mapping OneDrive Business to a drive letter:
@bbigford said in Mapping OneDrive Business to a drive letter:
@scottalanmiller said in Mapping OneDrive Business to a drive letter:
@momurda said in Mapping OneDrive Business to a drive letter:
What is the point of OneDrive if you cant mount it as a drive letter easily?
Someone please explain. It seems absoultely horrible.Why woudl you want it as a drive letter? The drive letter is an old holdover that isn't very good. You can mount OneDrive as a folder which is better most of the time.
Assuming that OneDrive syncing actually works, which generally it is pretty poor.
I find OneDrive itself (the consumer one) works great.
ODfB, though ... LOOKOUT!
Hah, yeah that's the one I was speaking toward. Assumed that is what is being brought up here since it's for a business. I could be wrong though.
But yeah, ODfB... wow. I hear it's a little better but I've completely written it off as of late.
Besides Scott's problems, what issues are yall talking about? Honestly, we have had very little issues with Exchange Online and SharePoint Online over the course of 2-3 years.
Referring to OneDrive for Business syncing. Outside of SharePoint Online, speaking only to the ODfB syncing; it'll often just break for no apparent reason and stop syncing to workstations.
Not really concerned with syncing, but wanting to use it similarly to a networked drive on a hosted server instead of an on-prem server.
-
@nerdydad said in Mapping OneDrive Business to a drive letter:
@bbigford said in Mapping OneDrive Business to a drive letter:
@nerdydad said in Mapping OneDrive Business to a drive letter:
@bbigford said in Mapping OneDrive Business to a drive letter:
@brrabill said in Mapping OneDrive Business to a drive letter:
@bbigford said in Mapping OneDrive Business to a drive letter:
@scottalanmiller said in Mapping OneDrive Business to a drive letter:
@momurda said in Mapping OneDrive Business to a drive letter:
What is the point of OneDrive if you cant mount it as a drive letter easily?
Someone please explain. It seems absoultely horrible.Why woudl you want it as a drive letter? The drive letter is an old holdover that isn't very good. You can mount OneDrive as a folder which is better most of the time.
Assuming that OneDrive syncing actually works, which generally it is pretty poor.
I find OneDrive itself (the consumer one) works great.
ODfB, though ... LOOKOUT!
Hah, yeah that's the one I was speaking toward. Assumed that is what is being brought up here since it's for a business. I could be wrong though.
But yeah, ODfB... wow. I hear it's a little better but I've completely written it off as of late.
Besides Scott's problems, what issues are yall talking about? Honestly, we have had very little issues with Exchange Online and SharePoint Online over the course of 2-3 years.
Referring to OneDrive for Business syncing. Outside of SharePoint Online, speaking only to the ODfB syncing; it'll often just break for no apparent reason and stop syncing to workstations.
Not really concerned with syncing, but wanting to use it similarly to a networked drive on a hosted server instead of an on-prem server.
Networked? Are you referring to WebDAV shares for a backend way to quickly access content, or do you actually mean OneDrive...?