Error 224
Using 4.07 on Windows Server 2019
Works on Windows 10 Client with the exact same settings.
I've checked the proxy and every request the machine makes is allowed and successful.
I've tried to mount the webdav (\tenantname-my.sharepoint.com@SSL\DavWWWRoot\personal\user_name_tenant-name_de\Documents) directly and it does not work on the Server 2019 machine but on the Windows 10 Client it works after running the script once.
I'm connecting to the server with citrix.
11/18/2020 18:03:52 | INFO | -----11/18/2020 18:03:52 OneDriveMapper v4.07 - user.name on SRV-XDT-01 starting-----
11/18/2020 18:03:52 | INFO | Script elevation level: User
11/18/2020 18:03:52 | INFO | Set TLS protocol version to prefer v1.2
11/18/2020 18:03:52 | INFO | You are user.name running on Windows 10 with IE 11 and Powershell version 5
11/18/2020 18:03:52 | INFO | loading interop service
11/18/2020 18:03:52 | INFO | interop service loaded
11/18/2020 18:03:52 | INFO | Microsoft Office installation detected
11/18/2020 18:03:52 | WARNING | Maximum file upload size is set to 48 MB
11/18/2020 18:03:52 | INFO | NOTICE: IE Security zones ambiguous - checking both computer and user
11/18/2020 18:03:52 | INFO | NOTICE: tenantname-my.sharepoint.com found in IE Trusted Sites on user level
11/18/2020 18:03:52 | INFO | NOTICE: tenantname-my.sharepoint.com found in IE Trusted Sites on user level (through GPO)
11/18/2020 18:03:52 | INFO | NOTICE: tenantname.sharepoint.com found in IE Trusted Sites on user level
11/18/2020 18:03:52 | INFO | NOTICE: tenantname.sharepoint.com found in IE Trusted Sites on user level (through GPO)
11/18/2020 18:03:52 | INFO | NOTICE: tenantname-my.sharepoint.com found in IE Trusted Sites on machine level (through GPO)
11/18/2020 18:03:52 | INFO | NOTICE: tenantname.sharepoint.com found in IE Trusted Sites on machine level (through GPO)
11/18/2020 18:03:52 | INFO | IE firstrun Popup is prevented at machine level
11/18/2020 18:03:52 | INFO | Detected running explorer process
11/18/2020 18:03:52 | INFO | IE Automatic Proxy Detection is already disabled
11/18/2020 18:04:05 | INFO | autoKillIE enabled, stopping IE processes
11/18/2020 18:04:05 | INFO | Stopped process with handle 680
11/18/2020 18:04:05 | INFO | Stopped process with handle 8776
11/18/2020 18:04:05 | INFO | autoProtectedMode is set to True, disabling ProtectedMode temporarily
11/18/2020 18:04:05 | INFO | Zone 0 was set to 0, setting it to 3
11/18/2020 18:04:05 | INFO | Zone 1 was set to 3, setting it to 3
11/18/2020 18:04:05 | INFO | Zone 2 was set to 0, setting it to 3
11/18/2020 18:04:05 | INFO | Zone 3 was set to 0, setting it to 3
11/18/2020 18:04:05 | INFO | Zone 4 was set to 0, setting it to 3
11/18/2020 18:04:08 | INFO | Attempting to detect username at https://login.microsoftonline.com/login.srf?msafed=0, waited for 0 seconds
11/18/2020 18:04:09 | INFO | Encountered a dialog, showing dialog to user
11/18/2020 18:04:14 | INFO | User completed dialog
11/18/2020 18:04:16 | INFO | Detected user: user_name_tenant-name_de
11/18/2020 18:04:16 | INFO | Onedrive cookie generated
11/18/2020 18:04:16 | INFO | Mapping target: \\tenantname-my.sharepoint.com@SSL\DavWWWRoot\personal\user_name_tenant-name_de\Documents
11/18/2020 18:04:17 | ERROR | failed to contact X: after mapping it to \\tenantname-my.sharepoint.com@SSL\DavWWWRoot\personal\user_name_tenant-name_de\Documents, check if the URL is valid. Error: System.Management.Automation.RemoteException Systemfehler 224 aufgetreten. System.Management.Automation.RemoteException Der Zugriff wurde verweigert. Bevor Sie Dateien in diesem Speicherort ”ffnen, mssen Sie die Website zuerst der Liste vertrauenswrdiger Sites hinzufgen. Dann mssen Sie auf die Website zugreifen und die Option zur automatischen Anmeldung w„hlen. System.Management.Automation.RemoteException
11/18/2020 18:04:19 | INFO | autoProtectedMode is set to True, reverting to old settings
11/18/2020 18:04:19 | INFO | Setting zone 0 back to 0
11/18/2020 18:04:19 | INFO | Setting zone 1 back to 3
11/18/2020 18:04:19 | INFO | Setting zone 2 back to 0
11/18/2020 18:04:19 | INFO | Setting zone 3 back to 0
11/18/2020 18:04:19 | INFO | Setting zone 4 back to 0
11/18/2020 18:04:19 | ERROR | autoRemapMethod is set to Path, but all mappings failed, OnedriveMapper will exit
11/18/2020 18:04:19 | INFO | OnedriveMapper has finished running
Edited by Fachpersonal