OneDriveMapper

OneDriveMapper is a free (non-commerial use), open source script I wrote to be used as a logon or on demand script to map OneDrive for Business and/or Sharepoint Online to driveletters and/or Network Locations, it has been downloaded over 2,500,000 times and has millions of users.

It was designed to run in scenario’s where using the Onedrive for Business client is not feasible, such as legacy multi-user environments like Citrix or within a RemoteApp. Syncing in such environments is a bad idea as each user potentially has to re-sync data at each login and can potentially access other user’s data.

Download open source version:

OnedriveMapper V3 / older releases (does not support all types of MFA, conditional access etc but has more features. Still seems to work on all OS’es but can be retired by Msft anytime without warning)

OnedriveMapper v5 (next iteration of v4 using Edge instead of Explorer, but does not work on older OS’es like W2008/2012)

Enterprise alternative (with support & discount):

IAM Cloud Drive Mapper

How to install (instruction for V5)

  1. Make sure Edge Chromium is installed
  2. Make sure .NET 3.5 and PowerShell v3 or higher are present on the Machine
  3. Download the latest version at GitHub to a network share or your devices
  4. Download the Selenium Webdriver.dll from NuGet or GitHub to the same folder as OnedriveMapper.ps1
  5. Download the Edge msedgedriver.exe from NuGet to the same folder as OnedriveMapper.ps1 or ensure autoUpdateEdgeDriver is set to $True (default) and the user has write-access to the script’s location
  6. Add https://tenantname-my.sharepoint.com to your Trusted Sites list if mapping to O4B
  7. Add https://tenantname.sharepoint.com to your Trusted Sites list if mapping to Sharepoint Sites, O365 Groups or Microsoft Teams
  8. Add adfs.yourdomain.com to your local intranet sites (both http and https) to get SSO if you’re using ADFS. Make sure that whatever method you use to set this, runs BEFORE the script runs.
  9. Set $O365CustomerName to your Tenant Name (xxx.onmicrosoft.com) in the script’s source code
  10. disable file locking
  11. Run it on a representative test machine / user and thoroughly check the log it generates in %APPDATA%
  12. Add the configured script to a Group Policy or deploy as MSI to make it run upon logon for all users, automatically mapping your OneDrive for Business webdav share to a driveletter.

Maintenance

the msedgedriver.exe file requires that the version of Edge installed on your systems is similar. So if you update Edge, the edge driver also has to be updated. OnedriveMapper will try to do this automatically by default, but if the user that runs ODM does not have write access to the same folder as the script, this will fail and you will have to update the edge driver manually.

When do I use OnedriveMapper?

In short: only when you have no other choice!
With Files On Demand and GPO support for passthrough auth and automatic mapping of sharepoint and teams sites, the need for OnedriveMapper has been greatly reduced. When you’re thinking of adopting VDI, go Azure Virtual Desktop with FSLogix instead of OnedriveMapper.

Please try to make the effort to educate your users, don’t swim against the current; start embracing new cloud technologies.

If you really have no other option, e.g. you have automated processes you cannot yet rewrite to use the Onedrive API, or are working in a W7/W2012 multi user environment and can’t just use the web interface. Do make sure your systems do not fully depend on mapping drives as they could break at any time, WebDAV is not a very….’recent’ technology and Microsoft does not give any hard guarantees as till when it will be supported.

So what does OnedriveMapper do?

  • Runs at logon or on demand (group policy, RES, etc)
  • Maps to Onedrive for Business (with auto detection of the user’s URL)
  • Maps to Office 365 Groups and Teams
  • Maps to Sharepoint Online
  • No Sync, online WebDav connection over HTTPS
  • No user interaction if SSO is enabled
  • On Demand Provisioning of the OneDrive MySite
  • Detailed and configurable logging
  • Map based on AD security groups
  • Custom labeling of drives
  • Can also run on non domain joined machines or Workplace Joined machines
  • Detects changed user names/url’s automatically
  • Can map drives inside (Azure) RemoteApps or Citrix Seamless Apps
  • Can redirect OS folders (like My Documents)
  • Can converge multiple mappings in a single driveletter
  • SSO for MDM Intune AzureAD W10 devices
  • Can be deployed as logon script through Intune
  • Can easily run from a shortcut as well

Recommendations

Limitations

  • If SSO is not configured or MFA is required, the script will show the user a popup to authenticate
  • This script does not work Powershell V2 or lower (comes with Windows 7), install V3 or higher
  • This script does not operate on Windows 2012 R2 (or lower) as the Selenium webdriver component does not support this.
  • If libraries become too big (total count of files and folders) webdav will show an empty drive

Disclaimer

I’m not a real programmer, this code is meant as an example. I do not guarantee this product will work in your setup, and I offer no dedicated support, I try to help everyone on a best-effort basis but also have to work for a living. So make sure you test well before you use it. This script may suddenly become obsolete without prior warning if Microsoft feels that WebDAV should no longer be supported. For an enterprise worthy and supported product, I recommend using IAM Cloud Drive Mapper instead of an open source script. If you use LIEBEN25 as referral code with IAM Cloud, you’ll get a 25% discount.

old changelog

FAQ

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

2.5K Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments
Ian
Ian
7 years ago

OnedriveMapper no longer mapping drives and coming up with error message that the website is not listed in the Trusted Sites list.. v3.13

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.

Dennis
Dennis
4 years ago

Hi, we are also testing the script but are receiving
—————————————————————-
“ERROR | Failed to browse to the Office 365 Sign in page, this is a fatal error Exception calling “GoToUrl” with “1” argument(s): “The HTTP request to the remote WebDriver server for URL http://localhost:60451/session/f37fe94c560bff82d4812ca5d9f5ecdd/url timed out after 60 seconds.”
xception calling “GoToUrl” with “1” argument(s): “The HTTP request to the remote WebDriver server for URL http://localhost:60451/session/f37fe94c560bff82d4812ca5d9f5ecdd/url
—————————————————————-
If we try to browse to the O365 Sign in page manually, everything is working fine. Any Ideas

Ricardo Fonseca
Ricardo Fonseca
3 years ago

When i run the script appear everytime this error

You cannot call a method on a null-valued expression.
At \\xxx\OneDriveMapper511.ps1:507 char:12
+     if($url.StartsWith($item)){
+      ~~~~~~~~~~~~~~~~~~~~~~
  + CategoryInfo     : InvalidOperation: (:) [], RuntimeException
  + FullyQualifiedErrorId : InvokeMethodOnNull

trackback

[…] OneDriveMapper […]

Bill Hixon
7 years ago

I’m having the dreaded 224 error come up regularly now. I’ve reset IE and rebooted, no change. I am getting this error before the 224:

Failed to set a cookie: Exception calling “SetWinINETCookieString” with “3” argument(s): “Exception setting cookie: Win32 Error code=4317”

Is this the cause, and if so, what do I do to fix this?

Pierre
Pierre
4 years ago

Hi, i add an issue with the v5 script with Terminal server with UPD.
we have this message
ERROR | Failed to load Edge driver, cannot continue. error details: Exception calling “.ctor” with “2” argument(s): “unknown error: MSEdge failed to start: crashed.
 (chrome not reachable)
 (The process started from msedge location C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe is no longer running, so MSEdgeDriver is assuming that MSEdge has crashed.)”

the debug file of the driver give use that
The GPU process has crashed 9 time(s)
[8144:6328:1002/003038.737:FATAL:gpu_data_manager_impl_private.cc(426)]GPU process isn’t usable. Goodbye.

i found the issue at line 1130
$global:edgeOptions.addArguments(“user-data-dir=$($Env:appdata)\Lieben Consultancy\OnedriveMapper\Profile”)

with the UPD the appdata and localappdata are store on the vhdx of the user and the msedgedrive dont seems to like it

if i change the line for exemple to the local disk like that it works
$global:edgeOptions.addArguments(“user-data-dir=c:\log\$($Env:username)\Lieben Consultancy\OnedriveMapper\Profile”)

Edwin
8 years ago

Our mapped drives have stopped working. The error 224 is thrown when the NET USE command is executed. Did MS removed completely the “stay logged-in” option?

Rick de Vries
Rick de Vries
8 years ago

Anyone notice OnedriveMapper no longer mapping drives and coming up with error message that the website is not listed in the Trusted Sites list, while it actually is? I had a few users experience that in the past few days and each day another user experiences it, so the list of users unable to map is growing.

Albert
7 years ago

Hi!! Thanks for the script! It is really great! i have been testing it in my environment and it works like a charm. The only drawback that I have, is when I configure O365 MFA on the user account, in my case it starts to send SMS text to the mobile, but is it not possible to bypass this step. I have seen that in the script you have something like “handle MFA in native auth mode” but I tried to put “native” and “ie” in $authodmethod in case to try all possible cases, but unfortunately with the same result. Could you tell me in which case the script could handle the MFA? will be great to have more info to approach the problem or evaluate a third party solution to bypass this problem. Thanks in advance!

Sam
Sam
9 years ago

Hi Jos,

OneDrive mapped has stopped mapping OneDrive this morning for all our users, still maps the additional Sharepoint sites, just not the OneDrive, error below;

Mapping target: \{domain}-my.sharepoint.com@SSLDavWWWRootpersonal{user_domain}Documents
ERROR: detected string error 224 in return code of net use command, this usually means your trusted sites are misconfigured or KB2846960 is missing
failed to contact H: after mapping it to \{domain}-my.sharepoint.com@SSLDavWWWRootpersonal{user_domain}Documents
, check if the URL is valid. Error:
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 a
utomatically.
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 a
utomatically.

Chris L-M
Chris L-M
8 years ago

Hi Jos, Awesome script, thanks for making it.

I wanted to inform you of issues we have been having with “ie” mode for the last couple of weeks. When logging in to O365 the script is not finding the expected URL for a successful login. As a result, it asks for a new password, then tries again, asks again, then the script continues, gives an error message with the URL that it didn’t like, maps the drives correctly, then pops up an error message saying that mapping was unsuccessful.

I suspect that Microsoft have changed the format of the URL of the page (perhaps as part of the changes to extra-organisational sharing) and that the script just needs to be updated to recognise the new page encountered after a successful login.

When “native” mode is working this is not an issue, but sometimes it fails for us. When this happened last week, and the script failed over to “ie” mode everyone in the office panicked over the error messages, but in actual fact, everything still worked just fine.

Just hoping that my feedback helps fix “ie” authentication mode for future releases. The issue is still present in 3.09.

Many thanks for your excellent work, Chris

Alan
Alan
7 years ago

For those with a 224 error regarding access denied, I was able to solve my issue by updating my ADFS configuration to set persistent cookies which are required by WebDav per this article: https://blogs.technet.microsoft.com/sposupport/2017/09/16/cookie-persistence-in-sharepoint-online/

Adriano
Adriano
2 years ago

Hello
We are currently experiencing an issue with autosave and version histories.
These functions no longer work knowing that our sharepoint are under office 365 and they are mapped as a onedrivemapper
Do you have an idea ?

Andy
Andy
7 years ago

The script has and is working perfectly. Thanks Jos. However we have had OneDrive drops. This seems to be related to the cookie being deleted \ dropping. When this happens we get the trusted sites error. Running the script fixes until the cookie drops again. Anyone else getting this? We are on W10 various builds.

Vrajes
Vrajes
6 years ago

Thanks for the amazing script.. We are running into issue where your script is not working few Machins(Citrix VDI) . Looking forward for your help in fixing this issue .

1 . If i map drive URL via Net use fails
2. Use run command \\Path\\ works fine
3. If i map drive via Computer–>Map drive fails

02/14/2019 00:59:03 | INFO | Mapping target: \\XXXXXXXX.sharepoint.com@SSL\DavWWWRoot\personal\username_net\Documents
02/14/2019 00:59:04 | ERROR | ERROR: detected string error 67 in return code of net use command, this usually means the WebClient isn’t running
02/14/2019 00:59:04 | ERROR | failed to contact O: after mapping it to \\xxxxxxxxxxxxxx@SSL\DavWWWRoot\personal\username\Documents, check if the URL is valid. Error:
System error 67 has occurred.
The network name cannot be found.

PS: Webdav client is running on the server(Windows 2016)

Looking forward for your suggestion to fix this issue.

Kevin De Schrijver
Kevin De Schrijver
9 years ago

Feature request: Great script. I have hidden the powershell window but at the moment the statusbar “Mapping your Office 365 Drives” is persistent and cannot be minimized during the mapping stage.

Could you make it minimizeable so that users have the choice to wait for their drives to connect or open another application and start working without the statusbar stuck in their face.

Emil Sandberg Lyngved
8 years ago

Having an issue with a new user, all the other users work fine, but this one does not. we are using version 3.0.8 — after a lot of retries and after entering the passord, a box pops up saying: “Mapping cannot continue because we cannot detect your username”. and also the script itself is reporting in red: ERROR: Failed to find the correct controls at (customers site) to log in by the script. The element cred_keep_me_signed_in_checkbox was not found (2) or had no tagName.
what could be the problem? the only user it doesnt work for is this one, and it was created just a week ago.

trackback

[…] OneDriveMapper […]

Jason
Jason
7 years ago

We’re getting this error now

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.

We have the sites added to trusted sites and ave for a while.

We recently updated to Windows 10 1709 could that be a factor?

Maikel
Maikel
2 years ago

Since today we’re receiving an HTTP 403 when running version 3.22 of the script native auth. Just updated to 3.28, but the same error remains.

Maybe a change at Microsoft broke the script or am I overlooking something? anyone else seeing this?

INFO | Login attempt using native method at tenant xxxxxxxxxxx
ERROR | Unable to find user realm due to Exception calling “GetResponse” with “0” argument(s): “The remote server returned an error: (403) Forbidden.”
ERROR | native auth login mode failed, aborting script

Peter Sumner
Peter Sumner
2 years ago

we tried the IAM cloudmapper and it was a disaster, any time a GPupdate happened it went into a fit, we are asking for our money back. Long live the onedrivemapper script 🙂

trackback

[…] OneDriveMapper […]

John
John
7 years ago

I have been using your script for months and only occasionally does it stop working usually there is a later version which fixes it for us but this time we are on the latest so am after a bit of help with the errors, I have been through the FAQ and nothing has helped solve it.
To note nothing has changed on our network since it was last working to now so no updates to clients no policy changes no adfs changes etc.

through the appdata log these are our errors.

ERROR | IE Zone 3 protectedmode is enabled through group policy, autoprotectedmode cannot disable it. This will likely cause the script to fail.
ALWAYS GOT THIS ERROR AND IT WOULD CARRY ON AND WORK NORMALLY

INFO | No redirect to new sign in method detected
INFO | Failed to find signin element type 1 on Office 365 login page. Error details: The element otherTileText was not found (2) or had no tagName

EVERY SO OFTEN APPEARS

The script continues right to the end with lots of success’s like cookie generated and mapping drive then the errrors which end it.

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
ERROR | failed to contact H: after mapping it to ……., 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.

Now all the trusted sites are correct as per guides and like I said this was working till a couple days ago and none of this has changed, all the KBs etc are also installed.

Mike
Mike
7 years ago

Recently we have been getting error 224 out of nowhere. we haven’t made any changes to IE or the settings. We do manage IE settings via group policy but I cannot seem to find what the “misconfiguration” is. I tried to reset IE and still no luck. Any help would be greatly appreciated!

ERROR: detected string error 224 in return code of net use command, this usually means your trusted sites are misconfigured or KB2846960 is missing or Internet Explorer needs a reset

SThurston
SThurston
7 years ago

We successfully mapped drive using the $adsfSmartLink setting set to “https://login.microsoftonline.com/login.srf?wa=wsignin1.0&whr=my.company.domain&wreply=https://mycomp-my.sharepoint.com&LoginOptions=1” where my.company.domain and mycomp are replaced with your values. I had been unable to map it before as I was never getting the Stay Signed In box in the browser.

Adam Huszar
4 years ago

OneDrive mapper v5 can work under Server2012r2, if you start from a shared network path, and let domain users to write data there.

BenP
BenP
7 months ago

Has been running fine, but this morning failing with the following, retried a number of times…. no joy?

This is same account as normal which has had ODB for several years.

Other users also getting the same problem too.

06/20/2025 07:40:09 | INFO | MFA check result: No MFA method detected
06/20/2025 07:40:09 | INFO | Login succeeded
06/20/2025 07:40:10 | INFO | Retrieving Onedrive for Business cookie step 1…
06/20/2025 07:40:10 | INFO | MFA check result: No MFA method detected
06/20/2025 07:40:10 | INFO | Waited for 0 seconds for O4b auto provisioning…
06/20/2025 07:40:20 | INFO | Waited for 10 seconds for O4b auto provisioning…
06/20/2025 07:40:32 | INFO | Waited for 20 seconds for O4b auto provisioning…
06/20/2025 07:40:43 | INFO | Waited for 30 seconds for O4b auto provisioning…
06/20/2025 07:40:53 | INFO | Waited for 40 seconds for O4b auto provisioning…

Last edited 7 months ago by BenP
Trond
Trond
9 years ago

Jos, suddenly one computer got the error “userLookupMode is set to 3, but we failed to detect a proper username” in the log. While manually doing the lookup for SID and, username and SAM, everything seems normal, also the registry keys are in place.
Here are the contents from HKLM Reg key: (Added a bunc of X’es)
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\IdentityStore\Cache\S-1-12-1-2648678820-1127942705-2445130163-XXXXXXXXXXXX\IdentityCache\S-1-12-1-2648678820-1127942705-2445130163-XXXXXXXXXXXXXXXX]
“UserName”=”guxxxxxxxx@xxxxxxxxxxxxxkk.no”
“SAMName”=”XXXXXguXXXX”
“DisplayName”=”guxxxxxxxx@xxxxxxxxxxxxxkk.no”
“ProviderName”=”XXXXXX”
“ProviderGUID”=”{XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXXXXX}”
Also, while debugging, I tried to set username in the file, but that logic is not honored any more. It stills try to use the UserLookupMode.
Delete that whole section: “switch($userLookupMode)”
and where able to use username.
Do you have any clue what could be wrong?

Márton Bacsó
Márton Bacsó
9 years ago

Dear Jos,

I have just upgraded the script from 2.38 to 2.43. Now it only works when I set “userLookupMode” to 4 and it still asks for my e-mail address in a pop-up window, although I have saved both my username and password into the script. 2.41 from TechNet gives me the same error message:

“A username was already specified in the script configuration: bacsom@thankaroly.hu
userLookupMode is set to 1 -> checking Active Directory UPN
Failed to lookup username, active directory connection failed, please change userLookupMode”

Your help would be greatly appriciated!

trackback

[…] OneDriveMapper […]

Kevin De Schrijver
Kevin De Schrijver
8 years ago

Has anyone found a solution for the slow upload speeds towards OneDrive/Sharepoint using Windows Explorer? Already deactivated the “Automaticlly detect settings” in IE but still getting abysmall upload speeds

Luke
8 years ago

Hi Jos, this script is amazing and I love it, however I regularly get an error “>AADSTS165000: Invalid Request: The request tokens do not match the user context.” which causes fallback mode.
That’s not a big problem, except that once signin in fallback mode is successful, a modal appears underneath every other open window titled “Are you sure you want to leave this page?” with “Message from webpage: null” and two buttons to either “Leave this page” or “Stay on this page.”

Is anybody else getting this?

Tom
Tom
8 years ago

Hi Jos

The script is working perfectly for us, however if a user opens an Office file from the mapped drive and they haven’t signed in to Office 2016 they are prompted for their password. Strangely though if they close the prompt then the file does open.

From what I have read this is due to how Office works with WebDAV, but wanted to see if other people are having the same problem.

Thanks

Mickael Selander
Mickael Selander
8 years ago

We just started to get an login promt seems to only accure on our Win7 machines, ADFS says wrong password or username but I can successfully login with SSO on the users machine but not in the script. anyone recieved anything simulare?

trackback

[…] OneDriveMapper […]

Handun
Handun
8 years ago

Hi Jos,

I have used your script to map SharePoint drives in one of my client’s environments. However, every time when the scripts is executed, it asks for a Office 365 password two times.

I haves used the version 3.08.
After getting the password, even with several errors, script runs until the end, and maps the drives. However, users are complaining that they have to enter O365 password twice. I have used a Logon script to execute the PowerShell script. Please advise. Following is the error log.

07/03/2017 14:58:53 | INFO | —–07/03/2017 14:58:53 OneDriveMapper v3.08 – bookkeeper on TEST-WS03 starting—–
07/03/2017 14:58:53 | INFO | Script elevation level: User
07/03/2017 14:58:53 | ERROR | Failed to set TLS protocol to version 1.2 Exception setting “SecurityProtocol”: “Cannot convert null to type “System.Net.SecurityProtocolType” due to invalid enumeration values. Specify one of the following enumeration values and try again. The possible enumeration values are “Ssl3, Tls”.”
07/03/2017 14:58:53 | INFO | You are S-1-5-21-3101080036-3734308197-2643912792-1775 running on Windows 6 with IE 11 and Powershell version 2
07/03/2017 14:58:53 | ERROR | ERROR: you’re trying to use Native auth on Powershell V2 or lower, switching to IE mode
07/03/2017 14:58:55 | ERROR | ERROR: OnedriveMapper version mismatch, current version: v3.08, latest version: v3.09
07/03/2017 14:59:08 | INFO | KB2846960 detected as installed
07/03/2017 14:59:08 | INFO | NOTICE: HKLM:SoftwarePoliciesMicrosoftWindowsCurrentVersionInternet SettingsSecurity HKLM only not found in registry, your zone configuration could be set on both levels
07/03/2017 14:59:08 | INFO | NOTICE: nettko1-my.sharepoint.com found in IE Trusted Sites on user level
07/03/2017 14:59:08 | INFO | NOTICE: nettko1.sharepoint.com found in IE Trusted Sites on user level
07/03/2017 14:59:09 | WARNING | HKLM:SoftwarePoliciesMicrosoftInternet ExplorerMainDisableFirstRunCustomize not found or not set to 1 registry, if script hangs this may be due to the First Run popup in IE, checking at user level…
07/03/2017 14:59:09 | INFO | IE Automatic Proxy Detection is not yet disabled, attempting to disable…
07/03/2017 14:59:09 | INFO | IE Automatic Proxy Detection disabled
07/03/2017 14:59:09 | INFO | userLookupMode is set to 1 -> checking Active Directory UPN
07/03/2017 14:59:09 | INFO | Login for caching supplied, not querying user for login
07/03/2017 14:59:09 | INFO | Stored user’s new login to user login cache file C:UsersbookkeeperAppDataRoamingOneDriveMapper.tmp2
07/03/2017 14:59:09 | ERROR | ERROR: WebDav File Locking support is enabled, this could cause files to become locked in your OneDrive or Sharepoint site
07/03/2017 14:59:09 | WARNING | Maximum file upload size is set to 48 MB
07/03/2017 14:59:09 | INFO | Adding to mapping list: P: (\nettko1-my.sharepoint.com@SSLDavWWWRootpersonal)
07/03/2017 14:59:09 | INFO | Adding to mapping list: H: (\nettko1.sharepoint.com@SSLDavWWWRootcco)
07/03/2017 14:59:09 | INFO | Adding to mapping list: I: (\nettko1.sharepoint.com@SSLDavWWWRootcre)
07/03/2017 14:59:09 | INFO | Adding to mapping list: L: (\nettko1.sharepoint.com@SSLDavWWWRootmar)
07/03/2017 14:59:09 | INFO | Adding to mapping list: M: (\nettko1.sharepoint.com@SSLDavWWWRootope)
07/03/2017 14:59:09 | INFO | Adding to mapping list: O: (\nettko1.sharepoint.com@SSLDavWWWRootdev)
07/03/2017 14:59:09 | INFO | Adding to mapping list: S: (\nettko1.sharepoint.com@SSLDavWWWRootcla)
07/03/2017 14:59:09 | INFO | Adding to mapping list: U: (\nettko1.sharepoint.com@SSLDavWWWRootfur)
07/03/2017 14:59:09 | INFO | Adding to mapping list: V: (\nettko1.sharepoint.com@SSLDavWWWRootinr)
07/03/2017 14:59:09 | INFO | Adding to mapping list: W: (\nettko1.sharepoint.com@SSLDavWWWRootcld)
07/03/2017 14:59:09 | INFO | P: is not yet mapped
07/03/2017 14:59:09 | INFO | H: is not yet mapped
07/03/2017 14:59:09 | INFO | I: is not yet mapped
07/03/2017 14:59:09 | INFO | L: is not yet mapped
07/03/2017 14:59:09 | INFO | M: is not yet mapped
07/03/2017 14:59:09 | INFO | O: is not yet mapped
07/03/2017 14:59:09 | ERROR | problem detecting network path for S:, You cannot call a method on a null-valued expression.
07/03/2017 14:59:09 | INFO | U: is not yet mapped
07/03/2017 14:59:09 | INFO | V: is not yet mapped
07/03/2017 14:59:09 | INFO | W: is not yet mapped
07/03/2017 14:59:09 | INFO | Base URL: https://nettko1-my.sharepoint.com/_layouts/15/MySite.aspx?MySiteRedirect=AllDocuments

07/03/2017 14:59:11 | INFO | autoKillIE enabled, stopping IE processes
07/03/2017 14:59:11 | INFO | Stopped process with handle 5228
07/03/2017 14:59:11 | INFO | Stopped process with handle 6596
07/03/2017 14:59:11 | INFO | autoProtectedMode is set to True, disabling ProtectedMode temporarily
07/03/2017 14:59:11 | INFO | Zone 0 was set to 3, setting it to 3
07/03/2017 14:59:11 | INFO | Zone 1 was set to 3, setting it to 3
07/03/2017 14:59:11 | INFO | Zone 2 was set to 3, setting it to 3
07/03/2017 14:59:11 | INFO | Zone 3 was set to 3, setting it to 3
07/03/2017 14:59:11 | INFO | Zone 4 was set to 3, setting it to 3
07/03/2017 14:59:15 | INFO | Starting logon process at: https://login.microsoftonline.com/login.srf?msafed=0
07/03/2017 14:59:15 | INFO | Detected running explorer process
07/03/2017 14:59:15 | INFO | Login attempt using IE method
07/03/2017 14:59:15 | INFO | Found sign in elements type 1 on Office 365 login page, proceeding
07/03/2017 14:59:15 | INFO | Found sign in elements type 2 on Office 365 login page, proceeding
07/03/2017 14:59:15 | INFO | Found sign in elements type 3 on Office 365 login page, proceeding
07/03/2017 14:59:16 | INFO | Will use bookkeeper@nettko.com.au as login
07/03/2017 14:59:16 | INFO | attempting to trigger a redirect to SSO Provider using method 1
07/03/2017 14:59:16 | INFO | Signin Option persistence selected
07/03/2017 14:59:19 | INFO | Waited 0 of 10 seconds for SSO redirect. While looking for userNameInput at https://login.microsoftonline.com/login.srf?msafed=0#. If you’re not using SSO this message is expected.
07/03/2017 14:59:20 | INFO | Waited 0.5 of 10 seconds for SSO redirect. While looking for userNameInput at https://login.microsoftonline.com/login.srf?msafed=0#. If you’re not using SSO this message is expected.
07/03/2017 14:59:20 | INFO | Waited 1 of 10 seconds for SSO redirect. While looking for userNameInput at https://login.microsoftonline.com/login.srf?msafed=0#. If you’re not using SSO this message is expected.
07/03/2017 14:59:21 | INFO | Waited 1.5 of 10 seconds for SSO redirect. While looking for userNameInput at https://login.microsoftonline.com/login.srf?msafed=0#. If you’re not using SSO this message is expected.
07/03/2017 14:59:21 | INFO | Waited 2 of 10 seconds for SSO redirect. While looking for userNameInput at https://login.microsoftonline.com/login.srf?msafed=0#. If you’re not using SSO this message is expected.
07/03/2017 14:59:22 | INFO | Waited 2.5 of 10 seconds for SSO redirect. While looking for userNameInput at https://login.microsoftonline.com/login.srf?msafed=0#. If you’re not using SSO this message is expected.
07/03/2017 14:59:22 | INFO | Waited 3 of 10 seconds for SSO redirect. While looking for userNameInput at https://login.microsoftonline.com/login.srf?msafed=0#. If you’re not using SSO this message is expected.
07/03/2017 14:59:23 | INFO | Waited 3.5 of 10 seconds for SSO redirect. While looking for userNameInput at https://login.microsoftonline.com/login.srf?msafed=0#. If you’re not using SSO this message is expected.
07/03/2017 14:59:23 | INFO | Waited 4 of 10 seconds for SSO redirect. While looking for userNameInput at https://login.microsoftonline.com/login.srf?msafed=0#. If you’re not using SSO this message is expected.
07/03/2017 14:59:24 | INFO | Waited 4.5 of 10 seconds for SSO redirect. While looking for userNameInput at https://login.microsoftonline.com/login.srf?msafed=0#. If you’re not using SSO this message is expected.
07/03/2017 14:59:24 | INFO | Waited 5 of 10 seconds for SSO redirect. While looking for userNameInput at https://login.microsoftonline.com/login.srf?msafed=0#. If you’re not using SSO this message is expected.
07/03/2017 14:59:25 | INFO | Waited 5.5 of 10 seconds for SSO redirect. While looking for userNameInput at https://login.microsoftonline.com/login.srf?msafed=0#. If you’re not using SSO this message is expected.
07/03/2017 14:59:25 | INFO | Waited 6 of 10 seconds for SSO redirect. While looking for userNameInput at https://login.microsoftonline.com/login.srf?msafed=0#. If you’re not using SSO this message is expected.
07/03/2017 14:59:26 | INFO | Waited 6.5 of 10 seconds for SSO redirect. While looking for userNameInput at https://login.microsoftonline.com/login.srf?msafed=0#. If you’re not using SSO this message is expected.
07/03/2017 14:59:27 | INFO | Waited 7 of 10 seconds for SSO redirect. While looking for userNameInput at https://login.microsoftonline.com/login.srf?msafed=0#. If you’re not using SSO this message is expected.
07/03/2017 14:59:27 | INFO | Waited 7.5 of 10 seconds for SSO redirect. While looking for userNameInput at https://login.microsoftonline.com/login.srf?msafed=0#. If you’re not using SSO this message is expected.
07/03/2017 14:59:28 | INFO | Waited 8 of 10 seconds for SSO redirect. While looking for userNameInput at https://login.microsoftonline.com/login.srf?msafed=0#. If you’re not using SSO this message is expected.
07/03/2017 14:59:28 | INFO | Waited 8.5 of 10 seconds for SSO redirect. While looking for userNameInput at https://login.microsoftonline.com/login.srf?msafed=0#. If you’re not using SSO this message is expected.
07/03/2017 14:59:29 | INFO | Waited 9 of 10 seconds for SSO redirect. While looking for userNameInput at https://login.microsoftonline.com/login.srf?msafed=0#. If you’re not using SSO this message is expected.
07/03/2017 14:59:29 | INFO | Waited 9.5 of 10 seconds for SSO redirect. While looking for userNameInput at https://login.microsoftonline.com/login.srf?msafed=0#. If you’re not using SSO this message is expected.
07/03/2017 14:59:29 | INFO | waited for more than 10 to get redirected by SSO provider, attempting normal signin
07/03/2017 14:59:29 | INFO | Signin Option persistence was already selected
07/03/2017 14:59:29 | INFO | Retrieved user password from cache C:UsersbookkeeperAppDataRoamingOneDriveMapper.tmp
07/03/2017 14:59:32 | ERROR | There was an issue while trying to log in during attempt 1
07/03/2017 14:59:32 | INFO | Signin Option persistence selected
07/03/2017 14:59:32 | INFO | asking user for password
07/03/2017 15:01:59 | INFO | Stored user’s new password to user password cache file C:UsersbookkeeperAppDataRoamingOneDriveMapper.tmp
07/03/2017 15:02:00 | ERROR | There was an issue while trying to log in during attempt 2
07/03/2017 15:02:00 | INFO | Signin Option persistence was already selected
07/03/2017 15:02:00 | INFO | asking user for password
07/03/2017 15:02:05 | INFO | Stored user’s new password to user password cache file C:UsersbookkeeperAppDataRoamingOneDriveMapper.tmp
07/03/2017 15:02:06 | ERROR | There was an issue while trying to log in during attempt 3
07/03/2017 15:02:07 | ERROR | We attempted to login without using ADFS, but did not end up at the expected location. Detected url: https://login.microsoftonline.com/common/oauth2/authorize?client_id=00000006-0000-0ff1-ce00-000000000000&response_mode=form_post&response_type=code+id_token&scope=openid+profile&state=OpenIdConnect.AuthenticationProperties%3d5trN6u9VJGoLH7xMLDbiPGiodV08wBYxD6xr_SHMTEDfrCSrCEOGOmcJciGzgOpzRsi2GMArCQLK2RVQC6AjEGUabVQzPgORVQBOZmaF4pbhH1QIjfhsDoFEMbSefCysgijBJEHb_4gxNh7Bvc5h7Ww0c__7-5IlJMwKuWaJzzf58iLzc91fQWvW4Uhqb4vnbY2K-G8tIkK4V3842YWkOGoDuOhavOc7OMQdVoRM4wU&nonce=636346547707296239.OGZlZDE4NWYtYzgxNC00Mzg1LWEyZjEtZmZhM2M2MmI2ZGQ2MmE5MzM1MDktYWJhZC00MDBhLThlMjctNmViZjljNjdkNzE1&redirect_uri=https%3a%2f%2fportal.office.com%2flanding&ui_locales=en-US&mkt=en-US&client-request-id=36521b2f-963c-4b6f-88e3-be7143172f5a&prompt=select_account&msafed=0, expected URL: https://nettko1-my.sharepoint.com/_layouts/15/MySite.aspx?MySiteRedirect=AllDocuments
07/03/2017 15:02:07 | INFO | IE login function succeeded
07/03/2017 15:02:14 | INFO | Detected user: bookkeeper_nettko_com_au
07/03/2017 15:02:14 | INFO | Onedrive cookie generated, mapping drive…
07/03/2017 15:02:14 | INFO | Mapping target: \nettko1-my.sharepoint.com@SSLDavWWWRootpersonalbookkeeper_nettko_com_auDocuments
07/03/2017 15:02:17 | INFO | A drive label has been specified, attempting to set the label for P:
07/03/2017 15:02:17 | INFO | Label has been set to Personal OneDrive
07/03/2017 15:02:17 | INFO | P: mapped successfully

07/03/2017 15:02:17 | INFO | Initiating session with: https://nettko1.sharepoint.com/cco
07/03/2017 15:02:17 | INFO | Current location: https://nettko1-my.sharepoint.com/personal/bookkeeper_nettko_com_au/_layouts/15/onedrive.aspx
07/03/2017 15:02:18 | INFO | waited 1 seconds to load https://nettko1.sharepoint.com/cco, currently at https://nettko1.sharepoint.com/cco/Forms/AllItems.aspx
07/03/2017 15:02:21 | INFO | Current location: https://nettko1.sharepoint.com/cco/Forms/AllItems.aspx
07/03/2017 15:02:21 | INFO | SpO cookie generated, attempting to map drive
07/03/2017 15:02:21 | INFO | Mapping target: \nettko1.sharepoint.com@SSLDavWWWRootcco
07/03/2017 15:02:22 | INFO | A drive label has been specified, attempting to set the label for H:
07/03/2017 15:02:22 | INFO | Label has been set to Clients – Consulting
07/03/2017 15:02:22 | INFO | H: mapped successfully

07/03/2017 15:02:22 | INFO | Initiating session with: https://nettko1.sharepoint.com/cre
07/03/2017 15:02:22 | INFO | Current location: https://nettko1.sharepoint.com/cco/Forms/AllItems.aspx
07/03/2017 15:02:24 | INFO | waited 1 seconds to load https://nettko1.sharepoint.com/cre, currently at https://nettko1.sharepoint.com/cre/Forms/AllItems.aspx
07/03/2017 15:02:28 | INFO | Current location: https://nettko1.sharepoint.com/cre/Forms/AllItems.aspx
07/03/2017 15:02:28 | INFO | SpO cookie generated, attempting to map drive
07/03/2017 15:02:28 | INFO | Mapping target: \nettko1.sharepoint.com@SSLDavWWWRootcre
07/03/2017 15:02:28 | INFO | A drive label has been specified, attempting to set the label for I:
07/03/2017 15:02:28 | INFO | Label has been set to Clients – Research
07/03/2017 15:02:28 | INFO | I: mapped successfully

07/03/2017 15:02:28 | INFO | Initiating session with: https://nettko1.sharepoint.com/mar
07/03/2017 15:02:28 | INFO | Current location: https://nettko1.sharepoint.com/cre/Forms/AllItems.aspx
07/03/2017 15:02:30 | INFO | waited 1 seconds to load https://nettko1.sharepoint.com/mar, currently at https://nettko1.sharepoint.com/mar/Forms/AllItems.aspx
07/03/2017 15:02:33 | INFO | Current location: https://nettko1.sharepoint.com/mar/Forms/AllItems.aspx
07/03/2017 15:02:33 | INFO | SpO cookie generated, attempting to map drive
07/03/2017 15:02:33 | INFO | Mapping target: \nettko1.sharepoint.com@SSLDavWWWRootmar
07/03/2017 15:02:36 | INFO | A drive label has been specified, attempting to set the label for L:
07/03/2017 15:02:37 | INFO | Label has been set to Marketing
07/03/2017 15:02:37 | INFO | L: mapped successfully

07/03/2017 15:02:37 | INFO | Initiating session with: https://nettko1.sharepoint.com/ope
07/03/2017 15:02:37 | INFO | Current location: https://nettko1.sharepoint.com/mar/Forms/AllItems.aspx
07/03/2017 15:02:42 | INFO | Current location: https://nettko1.sharepoint.com/ope/Forms/AllItems.aspx
07/03/2017 15:02:42 | INFO | SpO cookie generated, attempting to map drive
07/03/2017 15:02:42 | INFO | Mapping target: \nettko1.sharepoint.com@SSLDavWWWRootope
07/03/2017 15:02:43 | INFO | A drive label has been specified, attempting to set the label for M:
07/03/2017 15:02:43 | INFO | Label has been set to Operations
07/03/2017 15:02:43 | INFO | M: mapped successfully

07/03/2017 15:02:43 | INFO | Initiating session with: https://nettko1.sharepoint.com/dev
07/03/2017 15:02:43 | INFO | Current location: https://nettko1.sharepoint.com/ope/Forms/AllItems.aspx
07/03/2017 15:02:44 | INFO | waited 1 seconds to load https://nettko1.sharepoint.com/dev, currently at https://nettko1.sharepoint.com/ope/Forms/AllItems.aspx
07/03/2017 15:02:45 | INFO | waited 2 seconds to load https://nettko1.sharepoint.com/dev, currently at https://nettko1.sharepoint.com/ope/Forms/AllItems.aspx
07/03/2017 15:02:46 | INFO | waited 3 seconds to load https://nettko1.sharepoint.com/dev, currently at https://nettko1.sharepoint.com/ope/Forms/AllItems.aspx
07/03/2017 15:02:48 | INFO | waited 4 seconds to load https://nettko1.sharepoint.com/dev, currently at https://nettko1.sharepoint.com/_layouts/15/AccessDenied.aspx?Source=https%3A%2F%2Fnettko1%2Esharepoint%2Ecom%2Fdev&correlation=1290019e%2Dd062%2D4000%2De19b%2Dc596dbe2223a&Type=list&name=35e9d691%2D76f8%2D4fb6%2Db852%2Da80191983762
07/03/2017 15:02:50 | INFO | waited 5 seconds to load https://nettko1.sharepoint.com/dev, currently at https://nettko1.sharepoint.com/_layouts/15/AccessDenied.aspx?Source=https%3A%2F%2Fnettko1%2Esharepoint%2Ecom%2Fdev&correlation=1290019e%2Dd062%2D4000%2De19b%2Dc596dbe2223a&Type=list&name=35e9d691%2D76f8%2D4fb6%2Db852%2Da80191983762
07/03/2017 15:02:50 | ERROR | waited longer than 5 seconds to load https://nettko1.sharepoint.com/dev! This mapping may fail
07/03/2017 15:02:50 | INFO | Current location: https://nettko1.sharepoint.com/_layouts/15/AccessDenied.aspx?Source=https%3A%2F%2Fnettko1%2Esharepoint%2Ecom%2Fdev&correlation=1290019e%2Dd062%2D4000%2De19b%2Dc596dbe2223a&Type=list&name=35e9d691%2D76f8%2D4fb6%2Db852%2Da80191983762
07/03/2017 15:02:50 | INFO | SpO cookie generated, attempting to map drive
07/03/2017 15:02:50 | INFO | Mapping target: \nettko1.sharepoint.com@SSLDavWWWRootdev
07/03/2017 15:02:50 | INFO | A drive label has been specified, attempting to set the label for O:
07/03/2017 15:02:50 | INFO | Label has been set to Development
07/03/2017 15:02:50 | INFO | O: mapped successfully

07/03/2017 15:02:50 | INFO | Initiating session with: https://nettko1.sharepoint.com/cla
07/03/2017 15:02:50 | INFO | Current location: https://nettko1.sharepoint.com/_layouts/15/AccessDenied.aspx?Source=https%3A%2F%2Fnettko1%2Esharepoint%2Ecom%2Fdev&correlation=1290019e%2Dd062%2D4000%2De19b%2Dc596dbe2223a&Type=list&name=35e9d691%2D76f8%2D4fb6%2Db852%2Da80191983762
07/03/2017 15:02:54 | INFO | waited 1 seconds to load https://nettko1.sharepoint.com/cla, currently at https://nettko1.sharepoint.com/_layouts/15/AccessDenied.aspx?Source=https%3A%2F%2Fnettko1%2Esharepoint%2Ecom%2Fcla&correlation=1490019e%2Db029%2D4000%2De122%2D37f4eafe65e0&Type=list&name=37a6c086%2D1f38%2D40cb%2D9224%2D1258142d47c7
07/03/2017 15:02:55 | INFO | waited 2 seconds to load https://nettko1.sharepoint.com/cla, currently at https://nettko1.sharepoint.com/_layouts/15/AccessDenied.aspx?Source=https%3A%2F%2Fnettko1%2Esharepoint%2Ecom%2Fcla&correlation=1490019e%2Db029%2D4000%2De122%2D37f4eafe65e0&Type=list&name=37a6c086%2D1f38%2D40cb%2D9224%2D1258142d47c7
07/03/2017 15:02:56 | INFO | waited 3 seconds to load https://nettko1.sharepoint.com/cla, currently at https://nettko1.sharepoint.com/_layouts/15/AccessDenied.aspx?Source=https%3A%2F%2Fnettko1%2Esharepoint%2Ecom%2Fcla&correlation=1490019e%2Db029%2D4000%2De122%2D37f4eafe65e0&Type=list&name=37a6c086%2D1f38%2D40cb%2D9224%2D1258142d47c7
07/03/2017 15:02:57 | INFO | waited 4 seconds to load https://nettko1.sharepoint.com/cla, currently at https://nettko1.sharepoint.com/_layouts/15/AccessDenied.aspx?Source=https%3A%2F%2Fnettko1%2Esharepoint%2Ecom%2Fcla&correlation=1490019e%2Db029%2D4000%2De122%2D37f4eafe65e0&Type=list&name=37a6c086%2D1f38%2D40cb%2D9224%2D1258142d47c7
07/03/2017 15:02:58 | INFO | waited 5 seconds to load https://nettko1.sharepoint.com/cla, currently at https://nettko1.sharepoint.com/_layouts/15/AccessDenied.aspx?Source=https%3A%2F%2Fnettko1%2Esharepoint%2Ecom%2Fcla&correlation=1490019e%2Db029%2D4000%2De122%2D37f4eafe65e0&Type=list&name=37a6c086%2D1f38%2D40cb%2D9224%2D1258142d47c7
07/03/2017 15:02:58 | ERROR | waited longer than 5 seconds to load https://nettko1.sharepoint.com/cla! This mapping may fail
07/03/2017 15:02:58 | INFO | Current location: https://nettko1.sharepoint.com/_layouts/15/AccessDenied.aspx?Source=https%3A%2F%2Fnettko1%2Esharepoint%2Ecom%2Fcla&correlation=1490019e%2Db029%2D4000%2De122%2D37f4eafe65e0&Type=list&name=37a6c086%2D1f38%2D40cb%2D9224%2D1258142d47c7
07/03/2017 15:02:58 | INFO | SpO cookie generated, attempting to map drive
07/03/2017 15:02:58 | INFO | Mapping target: \nettko1.sharepoint.com@SSLDavWWWRootcla
07/03/2017 15:02:58 | INFO | A drive label has been specified, attempting to set the label for S:
07/03/2017 15:02:58 | INFO | Label has been set to Client Administration
07/03/2017 15:02:58 | INFO | S: mapped successfully

07/03/2017 15:02:58 | INFO | Initiating session with: https://nettko1.sharepoint.com/fur
07/03/2017 15:02:58 | INFO | Current location: https://nettko1.sharepoint.com/_layouts/15/AccessDenied.aspx?Source=https%3A%2F%2Fnettko1%2Esharepoint%2Ecom%2Fcla&correlation=1490019e%2Db029%2D4000%2De122%2D37f4eafe65e0&Type=list&name=37a6c086%2D1f38%2D40cb%2D9224%2D1258142d47c7
07/03/2017 15:03:00 | INFO | waited 1 seconds to load https://nettko1.sharepoint.com/fur, currently at https://nettko1.sharepoint.com/_layouts/15/AccessDenied.aspx?Source=https%3A%2F%2Fnettko1%2Esharepoint%2Ecom%2Ffur&correlation=1690019e%2D9022%2D4000%2De122%2D398769b6b1f2&Type=list&name=43d0c2c3%2D04b1%2D4ca3%2D8dd1%2D99bb521c4cb5
07/03/2017 15:03:01 | INFO | waited 2 seconds to load https://nettko1.sharepoint.com/fur, currently at https://nettko1.sharepoint.com/_layouts/15/AccessDenied.aspx?Source=https%3A%2F%2Fnettko1%2Esharepoint%2Ecom%2Ffur&correlation=1690019e%2D9022%2D4000%2De122%2D398769b6b1f2&Type=list&name=43d0c2c3%2D04b1%2D4ca3%2D8dd1%2D99bb521c4cb5
07/03/2017 15:03:02 | INFO | waited 3 seconds to load https://nettko1.sharepoint.com/fur, currently at https://nettko1.sharepoint.com/_layouts/15/AccessDenied.aspx?Source=https%3A%2F%2Fnettko1%2Esharepoint%2Ecom%2Ffur&correlation=1690019e%2D9022%2D4000%2De122%2D398769b6b1f2&Type=list&name=43d0c2c3%2D04b1%2D4ca3%2D8dd1%2D99bb521c4cb5
07/03/2017 15:03:03 | INFO | waited 4 seconds to load https://nettko1.sharepoint.com/fur, currently at https://nettko1.sharepoint.com/_layouts/15/AccessDenied.aspx?Source=https%3A%2F%2Fnettko1%2Esharepoint%2Ecom%2Ffur&correlation=1690019e%2D9022%2D4000%2De122%2D398769b6b1f2&Type=list&name=43d0c2c3%2D04b1%2D4ca3%2D8dd1%2D99bb521c4cb5
07/03/2017 15:03:04 | INFO | waited 5 seconds to load https://nettko1.sharepoint.com/fur, currently at https://nettko1.sharepoint.com/_layouts/15/AccessDenied.aspx?Source=https%3A%2F%2Fnettko1%2Esharepoint%2Ecom%2Ffur&correlation=1690019e%2D9022%2D4000%2De122%2D398769b6b1f2&Type=list&name=43d0c2c3%2D04b1%2D4ca3%2D8dd1%2D99bb521c4cb5
07/03/2017 15:03:04 | ERROR | waited longer than 5 seconds to load https://nettko1.sharepoint.com/fur! This mapping may fail
07/03/2017 15:03:04 | INFO | Current location: https://nettko1.sharepoint.com/_layouts/15/AccessDenied.aspx?Source=https%3A%2F%2Fnettko1%2Esharepoint%2Ecom%2Ffur&correlation=1690019e%2D9022%2D4000%2De122%2D398769b6b1f2&Type=list&name=43d0c2c3%2D04b1%2D4ca3%2D8dd1%2D99bb521c4cb5
07/03/2017 15:03:04 | INFO | SpO cookie generated, attempting to map drive
07/03/2017 15:03:04 | INFO | Mapping target: \nettko1.sharepoint.com@SSLDavWWWRootfur
07/03/2017 15:03:05 | INFO | A drive label has been specified, attempting to set the label for U:
07/03/2017 15:03:05 | INFO | Label has been set to Fund Research
07/03/2017 15:03:05 | INFO | U: mapped successfully

07/03/2017 15:03:05 | INFO | Initiating session with: https://nettko1.sharepoint.com/inr
07/03/2017 15:03:05 | INFO | Current location: https://nettko1.sharepoint.com/_layouts/15/AccessDenied.aspx?Source=https%3A%2F%2Fnettko1%2Esharepoint%2Ecom%2Ffur&correlation=1690019e%2D9022%2D4000%2De122%2D398769b6b1f2&Type=list&name=43d0c2c3%2D04b1%2D4ca3%2D8dd1%2D99bb521c4cb5
07/03/2017 15:03:09 | INFO | waited 1 seconds to load https://nettko1.sharepoint.com/inr, currently at https://nettko1.sharepoint.com/_layouts/15/AccessDenied.aspx?Source=https%3A%2F%2Fnettko1%2Esharepoint%2Ecom%2Finr&correlation=1790019e%2Dc0c1%2D4000%2De19b%2Dce263bec6d86&Type=list&name=ae9d67d3%2D8386%2D4570%2Db95e%2Dde2456bd8864
07/03/2017 15:03:10 | INFO | waited 2 seconds to load https://nettko1.sharepoint.com/inr, currently at https://nettko1.sharepoint.com/_layouts/15/AccessDenied.aspx?Source=https%3A%2F%2Fnettko1%2Esharepoint%2Ecom%2Finr&correlation=1790019e%2Dc0c1%2D4000%2De19b%2Dce263bec6d86&Type=list&name=ae9d67d3%2D8386%2D4570%2Db95e%2Dde2456bd8864
07/03/2017 15:03:11 | INFO | waited 3 seconds to load https://nettko1.sharepoint.com/inr, currently at https://nettko1.sharepoint.com/_layouts/15/AccessDenied.aspx?Source=https%3A%2F%2Fnettko1%2Esharepoint%2Ecom%2Finr&correlation=1790019e%2Dc0c1%2D4000%2De19b%2Dce263bec6d86&Type=list&name=ae9d67d3%2D8386%2D4570%2Db95e%2Dde2456bd8864
07/03/2017 15:03:12 | INFO | waited 4 seconds to load https://nettko1.sharepoint.com/inr, currently at https://nettko1.sharepoint.com/_layouts/15/AccessDenied.aspx?Source=https%3A%2F%2Fnettko1%2Esharepoint%2Ecom%2Finr&correlation=1790019e%2Dc0c1%2D4000%2De19b%2Dce263bec6d86&Type=list&name=ae9d67d3%2D8386%2D4570%2Db95e%2Dde2456bd8864
07/03/2017 15:03:13 | INFO | waited 5 seconds to load https://nettko1.sharepoint.com/inr, currently at https://nettko1.sharepoint.com/_layouts/15/AccessDenied.aspx?Source=https%3A%2F%2Fnettko1%2Esharepoint%2Ecom%2Finr&correlation=1790019e%2Dc0c1%2D4000%2De19b%2Dce263bec6d86&Type=list&name=ae9d67d3%2D8386%2D4570%2Db95e%2Dde2456bd8864
07/03/2017 15:03:13 | ERROR | waited longer than 5 seconds to load https://nettko1.sharepoint.com/inr! This mapping may fail
07/03/2017 15:03:13 | INFO | Current location: https://nettko1.sharepoint.com/_layouts/15/AccessDenied.aspx?Source=https%3A%2F%2Fnettko1%2Esharepoint%2Ecom%2Finr&correlation=1790019e%2Dc0c1%2D4000%2De19b%2Dce263bec6d86&Type=list&name=ae9d67d3%2D8386%2D4570%2Db95e%2Dde2456bd8864
07/03/2017 15:03:13 | INFO | SpO cookie generated, attempting to map drive
07/03/2017 15:03:13 | INFO | Mapping target: \nettko1.sharepoint.com@SSLDavWWWRootinr
07/03/2017 15:03:14 | INFO | A drive label has been specified, attempting to set the label for V:
07/03/2017 15:03:14 | INFO | Label has been set to Investment Research
07/03/2017 15:03:14 | INFO | V: mapped successfully

07/03/2017 15:03:14 | INFO | Initiating session with: https://nettko1.sharepoint.com/cld
07/03/2017 15:03:14 | INFO | Current location: https://nettko1.sharepoint.com/_layouts/15/AccessDenied.aspx?Source=https%3A%2F%2Fnettko1%2Esharepoint%2Ecom%2Finr&correlation=1790019e%2Dc0c1%2D4000%2De19b%2Dce263bec6d86&Type=list&name=ae9d67d3%2D8386%2D4570%2Db95e%2Dde2456bd8864
07/03/2017 15:03:17 | INFO | waited 1 seconds to load https://nettko1.sharepoint.com/cld, currently at https://nettko1.sharepoint.com/_layouts/15/AccessDenied.aspx?Source=https%3A%2F%2Fnettko1%2Esharepoint%2Ecom%2Fcld&correlation=1990019e%2D70ee%2D4000%2De19b%2Dc0133c56ba01&Type=list&name=9c13e860%2D7f7c%2D4e1c%2Da528%2D266af063196b
07/03/2017 15:03:18 | INFO | waited 2 seconds to load https://nettko1.sharepoint.com/cld, currently at https://nettko1.sharepoint.com/_layouts/15/AccessDenied.aspx?Source=https%3A%2F%2Fnettko1%2Esharepoint%2Ecom%2Fcld&correlation=1990019e%2D70ee%2D4000%2De19b%2Dc0133c56ba01&Type=list&name=9c13e860%2D7f7c%2D4e1c%2Da528%2D266af063196b
07/03/2017 15:03:19 | INFO | waited 3 seconds to load https://nettko1.sharepoint.com/cld, currently at https://nettko1.sharepoint.com/_layouts/15/AccessDenied.aspx?Source=https%3A%2F%2Fnettko1%2Esharepoint%2Ecom%2Fcld&correlation=1990019e%2D70ee%2D4000%2De19b%2Dc0133c56ba01&Type=list&name=9c13e860%2D7f7c%2D4e1c%2Da528%2D266af063196b
07/03/2017 15:03:20 | INFO | waited 4 seconds to load https://nettko1.sharepoint.com/cld, currently at https://nettko1.sharepoint.com/_layouts/15/AccessDenied.aspx?Source=https%3A%2F%2Fnettko1%2Esharepoint%2Ecom%2Fcld&correlation=1990019e%2D70ee%2D4000%2De19b%2Dc0133c56ba01&Type=list&name=9c13e860%2D7f7c%2D4e1c%2Da528%2D266af063196b
07/03/2017 15:03:21 | INFO | waited 5 seconds to load https://nettko1.sharepoint.com/cld, currently at https://nettko1.sharepoint.com/_layouts/15/AccessDenied.aspx?Source=https%3A%2F%2Fnettko1%2Esharepoint%2Ecom%2Fcld&correlation=1990019e%2D70ee%2D4000%2De19b%2Dc0133c56ba01&Type=list&name=9c13e860%2D7f7c%2D4e1c%2Da528%2D266af063196b
07/03/2017 15:03:21 | ERROR | waited longer than 5 seconds to load https://nettko1.sharepoint.com/cld! This mapping may fail
07/03/2017 15:03:21 | INFO | Current location: https://nettko1.sharepoint.com/_layouts/15/AccessDenied.aspx?Source=https%3A%2F%2Fnettko1%2Esharepoint%2Ecom%2Fcld&correlation=1990019e%2D70ee%2D4000%2De19b%2Dc0133c56ba01&Type=list&name=9c13e860%2D7f7c%2D4e1c%2Da528%2D266af063196b
07/03/2017 15:03:21 | INFO | SpO cookie generated, attempting to map drive
07/03/2017 15:03:21 | INFO | Mapping target: \nettko1.sharepoint.com@SSLDavWWWRootcld
07/03/2017 15:03:22 | INFO | A drive label has been specified, attempting to set the label for W:
07/03/2017 15:03:22 | INFO | Label has been set to Client Development
07/03/2017 15:03:22 | INFO | W: mapped successfully

07/03/2017 15:03:24 | INFO | autoProtectedMode is set to True, reverting to old settings
07/03/2017 15:03:24 | INFO | Setting zone 0 back to 3
07/03/2017 15:03:24 | INFO | Setting zone 1 back to 3
07/03/2017 15:03:24 | INFO | Setting zone 2 back to 3
07/03/2017 15:03:24 | INFO | Setting zone 3 back to 3
07/03/2017 15:03:24 | INFO | Setting zone 4 back to 3
07/03/2017 15:03:24 | INFO | OnedriveMapper has finished running
07/03/2017 15:03:24 | WARNING | restartExplorer is set to False, if you’re redirecting My Documents, it won’t show until next logon

Simon
Simon
8 years ago

Hi Jos,
The POST Login redirect issue seems to have reared its head again.
Are you aware if Microsoft has made any URL changes again that could be effecting the script?
Thanks
Simon

Emalf13
Emalf13
7 years ago

Great work with this. Thanks.

I have gotten version 3.14 working. Much faster and smoother than 3.13.

However, I am having issues with the Folder Redirection. All work except for the Downloads folder. This keeps insisting on redirecting to the local PC. The downloads folder in the registry is named the same as the SID {374DE290-123F-4565-9164-39C4925E467B} rather than Downloads or MyDownloads. This is present in the GUID’s ($KnownFolders), and ‘Downloads’ is in Set-KnownFolderPath. But NOT in Get-KnownFolderPath. I have tried adding this as Downloads and the SID’s but to no avail.

Any ideas please?

Pradzy
Pradzy
7 years ago

Here is a good bat code to use to execute the PS1 script for the above mapper

@echo off
net use x: /del
PowerShell -NoProfile -ExecutionPolicy Bypass -Command “yourpath\OneDriveMapper.ps1”

Ben
Ben
6 years ago

Thought I’d just mentioned that I’m redirecting the desktop, but instead of using the restart explorer function, I’m issuing a refresh of the desktop.

code:
Add-Type -MemberDefinition $code -Namespace WinAPI -Name Explorer
[WinAPI.Explorer]::Refresh()

It works reliably and is a nicer experience than restarting explorer.

sven
sven
6 years ago

Hi all
OneDriveMapper cann login with sso, see the website goes open and i see my files but the this error apears :failed to contact X: after mapping it to \\ourtenant-my.sharepoint.com@SSL\xxxx_xxxxx_xxxxx_xx\Documents, check if the URL is valid. Error:
Systemfailure 224 add to trusted sites. But when i check via PS all sites are in the trusted zone. Any Idea?
Thanks Sven

Tommy
Tommy
5 years ago

Anyone else getting error 59 or 53 the last few weeks?
Microsoft must have limited something after the huge increase in Teams usage.

Jonathan
Jonathan
4 years ago

Hi,
I can’t seem to run this script without admin rights. As an admin it works like a charm.
Which access does a normal user need to have, in order to get this script run?

Mike
Mike
3 years ago

Trying to use the 5.10 version of the OneDrive Mapper and getting the following errors. Any help would be greatly appreciated:

Unable to connect to the remote server

ERROR | Failed to load Edge driver, cannot continue. error details: Exception calling “.ctor” with “2” argument(s): “Cannot start the driver service on http://localhost:30178/

You cannot call a method on a null-valued expression.
At C:\Program Files\OneDriveMapper\OneDriveMapper.ps1:629 char:5
+   $global:edgeDriver.Quit()
+   ~~~~~~~~~~~~~~~~~~~~~~~~~
  + CategoryInfo     : InvalidOperation: (:) [], RuntimeException
  + FullyQualifiedErrorId : InvokeMethodOnNull
 
ERROR | Failed to cache Edge Window Handles Cannot bind argument to parameter ‘Id’ because it is null.
ERROR | Failed to browse to the Office 365 Sign in page, this is a fatal error You cannot call a method on a null-valued expression.

Jesse
Jesse
3 years ago

Hi Jos, after last weekend our version 3.12 script stopped functioning. I was working on updating our system to use v5.10 but I can’t seem to get it to work. When the script launches, MSEdge opens with google.com in an app window (without an address bar) and it hangs here and does not succeed. I have tried different versions of the WebDriver.dll and this seems to change the behavior but it still does not work. Do you have any ideas about what I could be missing? The error log is: ERROR | Failed to load Edge driver, cannot continue. error details: Exception calling “.ctor” with “2” argument(s): “The HTTP request to the remote WebDriver server for URL http://localhost:57228/session timed out after 60 seconds.”

Joe Morrow
Joe Morrow
3 years ago

I am working on getting my users up and going on version v5.10. The script works for me, but I have some concerns about the MSEdge Windows opening and closing. I am afraid that my users will close the Windows as they can be impatient at times. Is there a way hide the MSEdge windows opening?

Tim
Tim
3 years ago

I just wanted to put this out there. I was having an issue with several computers that sometimes could connect and other times wouldn’t. The logs showed “Failed to connect to…”. Turns out this is an issue with ISPs and resolving/routing IP6 addresses. If you run into this issue, disable IP6. This fixed all my issues. I don’t believe it has anything to do with this script, just the ISPs being used.

Last edited 3 years ago by Tim
Mahesh
Mahesh
2 years ago

V.5
Getting error
10/02/2023 13:21:50 | ERROR | Failed to get the username while at , aborting
10/02/2023 13:21:50 | INFO | Detected user: 
10/02/2023 13:21:50 | INFO | Onedrive cookie generated
10/02/2023 13:21:50 | INFO | Initiating Sharepoint session with: https://Org-my.sharepoint.com
10/02/2023 13:21:50 | INFO | Current location: 
10/02/2023 13:21:50 | INFO | Encountered a dialog, showing dialog to user

trackback

[…] OneDriveMapper […]

Marcelo
Marcelo
7 months ago

I’m still using version 3.29, and I can’t update to edge. Could you help me fix it? I tried adding the changes to the 3.29 script but I couldn’t get it to work.

Microsoft 365, Azure, Automation & Code

2.5K
0
Would love your thoughts, please comment.x
()
x