Leave a Reply

12 Comments on "OnedriveMapper v3.13 released!"

Notify of
avatar
Sort by:   newest | oldest | most voted
James
Guest
Hi Jos, Thank you so much for such a powerful script! This script rocks! I have a question please: the script generates the errors below for some users, other users are ok, all are using the same environment. From the log I understand that it cannot set cookies? I tried to access user’s folder and it is accessible and there are already some cookies from different websites. Could you please advise what the error is and how to resolve it? Also, is it possible to set a custom cookie path in the script, for example on a share not in… Read more »
Jay
Guest
I am also getting the same issue. 01/10/2018 10:27:42 | 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 01/10/2018 10:27:42 | ERROR | failed to contact H: after mapping it to *URL removed*, 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. and – can not install… Read more »
Dave
Guest

I had this once before where I had to make the user a local administrator, run the script, and then remove admin and it stayed working fine. It may not be the problem you’re having but I tried everything I could think off. It worked for other users without admin on the same device and it worked for that user on another device.

Luke Pollard
Guest

Just posting to say I’m also getting the same issue. Sometimes it will work other times it fails to get the cookies. It works in IE mode every time but the auth on that is soo much slower than native.

Henry
Guest
Hello Jos and thank you for all of your hard work and time on this continuing project. I have a problem running the script. Any help figuring out why it’s doing this would be appreciated greatly. The error in Powershell is as follows: Method invocation failed because [System.Int32] does not contain a method named ‘IndexOf’. At C:\Users\xxxxx\Desktop\OneDriveMapper_v3.13.ps1:1965 char:16 + if($nextURL.IndexOf(“https:”) -eq -1){ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : MethodNotFound Exception calling “Create” with “1” argument(s): “Invalid URI: The format of the URI could not be determined.” At C:\Users\xxxxx\Desktop\OneDriveMapper_v3.13.ps1:329 char:13 + $request = [System.Net.WebRequest]::Create($url) +… Read more »
Maria
Guest
i just updated to the new file and it seemed to work the first time, now I am getting waited for seconds for 04b auto provisioning and it takes a few minutes then it does not map. ERROR | Failed to auto provision onedrive and/or retrieve username from the response URL. Is this user licensed? INFO | Will attempt to use auto-guessed value of \\onedrivemapper-my.sharepoint.com@SSL\DavWWWRoot\personal\mrivera_ccsofl_net\Documents INFO | Waited for 190 seconds for O4b auto provisioning… INFO | Onedrive cookie loop finished, mapping drive… INFO | Mapping target: \\onedrivemapper-my.sharepoint.com@SSL\DavWWWRoot\personal\mrivera_ccsofl_net\Documents ERROR | failed to contact O: after mapping it to \\onedrivemapper-my.sharepoint.com@SSL\DavWWWRoot\personal\mrivera_ccsofl_net\Documents, check… Read more »
Maria
Guest

oh shoot, I see, I forgot to change something in the script. AUGH!

Marko Stanojevic
Guest

ADFS – Workgroup Computers

Hi Jos,

I’m trying to use onedrivemapper in a workgroup environemnt with ADFS login. I’m getting ADFS error all the time:

ERROR | Error received from ADFS server: Exception calling “GetResponse” with “0” argument(s): “The remote server return
ed an error: (401) Unauthorized.”

It works on domain-joined PCs

Marko Stanojevic
Guest

I’ve unchecked “Windows Authentication” under global authentication policy – primary authentication and everything is working just fine.

Jos, thank you for this wonderful peace of powershell.
Keep up the good work. you’re the ‘batman’ of office365 community. Just to quote “The Dark Knight” movie: “Because Jos is the hero Office365 needs, but not the one it deserves right now”

Jos
Guest

Thanks! :))

Mark
Guest

I seem to be having issues getting this working with our BC proxies. I get the following;

Method invocation failed because [System.__ComObject] does not contain a method named ‘navigate’

I also see some proxy auth errors, any ideas? I’ve tried ie and native auth with no difference.