The problem still remains. As I mentioned before, if I create a connection for OneDrive private account, the window appears and everything works.
Using Total Commander with OneDrive For Business
Moderators: Hacker, petermad, Stefan2, white
Re: Using Total Commander with OneDrive For Business
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Using Total Commander with OneDrive For Business
You need the 2.0 beta to choose a different browser:
https://www.totalcommander.ch/beta/cloudplugin2.0beta2.zip
https://www.totalcommander.ch/beta/cloudplugin2.0beta2.zip
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Using Total Commander with OneDrive For Business
It does work now, thanks!
Btw, it works with Firefox and Chrome but not with IE and MS Edge.
Btw, it works with Firefox and Chrome but not with IE and MS Edge.
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Using Total Commander with OneDrive For Business
That's funny that the Microsoft service doesn't work with the two Microsoft browsers only. 

Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- I-Vladimir
- Junior Member
- Posts: 29
- Joined: 2012-09-26, 15:18 UTC
Re: Using Total Commander with OneDrive For Business
Some time ago I was able to connect to OneDrive Business with MFA, couldn't create any folders, but copy worked.
Tried recently, both 11 (used Chromium version, IE didn't work) and 2.0 beta didn't work. Explorer window gets opened, redirects me to the company login screen. I get a notification from MS Authenticator to accept. IE window closed and Unauthorized error in the log.
POST /common/oauth2/v2.0/token HTTP/1.1
Content-type: application/x-www-form-urlencoded
User-Agent: cloudplugin/2.0 TotalCommander/9.2 (Windows/10; en_EN)
Host: login.microsoftonline.com
Content-Length: 1407
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: buid=AQABAAEAAADXzZ3ifr-GRbDT45zNSEFE_Zp_kj2nWZCBbUurKymfhNs3LeECEb2aiROowwWCL3LPTJbf9kynbeZ-WTb-IVBsT0y3Lf1GF8gTVXROqef1N55bibZUioJu3Bo_TDi1SCvMHlX0Tlb8fZddN5laQciiWlAt0KZjSoe4p2hSbmFPSQEPGzpdGyFCQfHqTbhOzxcgAA; CCState=RWhJS0VGQmpYWEtieGxGQnNxR2R2bHF5NnVnPQ==; ESTSAUTHPERSISTENT=AQABAAQAAADXzZ3ifr-GRbDT45zNSEFEGARUrB9DMhJ9tPCnRVmprxr5EcOmR3T4EqmMZQNWTF7PdKR9nA0QgVXohtgbC2Q019jLQwf5TOth0A1_aotfTd4UEKdw4qrwYgGmBR5tHdIPmenjbsUtQzgIJxUncllnZ81XfszachXTa9ucW7Xp8xh_r1X0QrShAD3-RbD9NTsSLKS3KXGM1FYDQ29ViDJykITAsK5PGeQVf09EsfOfCT-3E358W4zfficBrNNVUWhLgz5J3mdgURyRwiLjs-pk-TQ6V-J2RPCYJoNy7V_mefqtW9q9QWEzoSWCdsDb-1-MgJKAmGemE1Ax9QXJZzmEX3vxQ6FKPN-nB3mRPZCrcoOQINxtZxL68flVBAPMbC_bir6BlQu9d7CldV9O2G2kJyKuOyyQnvZmQ4ymVMOyr5AYod1OOYlJYCeMl5QtmqhturXt_eark43kcEIOZiAbgjHh9J8_f8r7uzUzeFMLCaND00-mGgshuhSaET******Received headers
HTTP/1.1 200 OK
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json; charset=utf-8
Expires: -1
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
x-ms-request-id: 5d2b028a-ad5a-4919-b4b4-82d01c87b000
P3P: CP="DSP CUR OTPi IND OTRi ONL FIN"
Set-Cookie: x-ms-gateway-slice=003; path=/; secure; HttpOnly
Set-Cookie: stsservicecookie=ests; path=/; secure; HttpOnly
Date: Wed, 26 Sep 2018 17:24:39 GMT
Content-Length: 3453
200 OK
CONNECT \MyCompany
=================
Get dir: \
GET /v1.0/me/drives HTTP/1.1
User-Agent: cloudplugin/2.0 TotalCommander/9.2 (Windows/10; en_EN)
Host: graph.microsoft.com
Connection: Close
Cache-Control: no-cache
Cookie: SRCHUID=V=2&GUID=207ACA405C6E4C13B85F205778F2DCB7&dmnchg=1; SRCHD=AF=NOFORM; MC1=GUID=d7e79e17b4b946e28720db0adbf21271&HASH=d7e7&LV=201807&V=4&LU=1532024662198; MUID=001381D4777E66601C768DB5737E607B; SRCHUSR=DOB=20180507
******Received headers
HTTP/1.1 401 Unauthorized
Content-Type: application/json; charset=utf-8
request-id: 19b59004-1d86-49e4-8e70-2054ad7b607d
client-request-id: 19b59004-1d86-49e4-8e70-2054ad7b607d
x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"Canada Central","Slice":"SliceC","Ring":"5","ScaleUnit":"002","Host":"AGSFE_IN_0","ADSiteName":"CAC"}}
WWW-Authenticate: Bearer realm="", authorization_uri="https://login.microsoftonline.com/common/oauth2/authorize", client_id="00000003-0000-0000-c000-000000000000"
Strict-Transport-Security: max-age=31536000
Date: Wed, 26 Sep 2018 17:24:40 GMT
Connection: close
Content-Length: 244
Error: 401 Unauthorized
POST /common/oauth2/v2.0/token HTTP/1.1
Content-type: application/x-www-form-urlencoded
User-Agent: cloudplugin/2.0 TotalCommander/9.2 (Windows/10; en_EN)
Host: login.microsoftonline.com
Content-Length: 1190
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: x-ms-gateway-slice=003; stsservicecookie=ests; buid=AQABAAEAAADXzZ3ifr-GRbDT45zNSEFEu7tA-ciEbHbz0HD2aR8pAA6RdDdWdn-4KVrftMRNzYYnJ2IauE8G_HUO3TOsZPSEv6jYVFJSxW3ZY7ycDJZWMR6uuOUXg9FG2GPcavQZpoHK611AXOAOoqJSO_LrI7kXOewV_DDxYYs_Ky75qViL7jn-_NKpXzHpOXTwmcI8GbggAA; CCState=RWhJS0VGQmpYWEtieGxGQnNxR2R2bHF5NnVnPQ==; ESTSAUTHPERSISTENT=AQABAAQAAADXzZ3ifr-GRbDT45zNSEFEZmgWcDOs35LSwXsYDY3shuvLy_6WkjrJCrHwNfZQ-PEe15HvuyuPhbJDmW90HacBY-vQStnQORUiSpMtcXfHlTWzw9Jkk1poHuhYP2iEhJkkzM3Ol83PwjaLFWGtpiHPNxj5BitMR3AyyheW59yxvcyNBiphDSIML9pv4mpFxy3M6y40U6zmhprpkCasxSbdv_9xWl29SXSnIYUCQQfdZE8YoelnSvW3qQJSzINxZvdSUUAEgDYs7iWF8KBu8ill4FVvJ5stneLPBpnUzPO2IeXku0LK2FVX9qSdJZ7gCKMNr2Je_DT0rjmoULRXzerPMwtYPAcKTkQJROJBxRdmNBTPYcx9nt8W3TkYVxITtOKvOAXMax7tMqnCv_kfxwfD-97a97VsHJdH7YeCKgT_konWHQnurrSFvp0gp1zuNY4P2oTz2AHVCCi******Received headers
HTTP/1.1 200 OK
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json; charset=utf-8
Expires: -1
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
x-ms-request-id: 1dbcd550-798b-4308-80ac-7d66e94ac700
P3P: CP="DSP CUR OTPi IND OTRi ONL FIN"
Set-Cookie: x-ms-gateway-slice=012; path=/; secure; HttpOnly
Set-Cookie: stsservicecookie=ests; path=/; secure; HttpOnly
Date: Wed, 26 Sep 2018 17:24:55 GMT
Content-Length: 3459
200 OK
GET /v1.0/me/drives HTTP/1.1
User-Agent: cloudplugin/2.0 TotalCommander/9.2 (Windows/10; en_EN)
Host: graph.microsoft.com
Connection: Close
Cache-Control: no-cache
Cookie: SRCHUID=V=2&GUID=207ACA405C6E4C13B85F205778F2DCB7&dmnchg=1; SRCHD=AF=NOFORM; MC1=GUID=d7e79e17b4b946e28720db0adbf21271&HASH=d7e7&LV=201807&V=4&LU=1532024662198; MUID=001381D4777E66601C768DB5737E607B; SRCHUSR=DOB=20180507
******Received headers
HTTP/1.1 401 Unauthorized
Content-Type: application/json; charset=utf-8
request-id: 9316743a-79d5-4374-8381-c5f2b9bbd2fb
client-request-id: 9316743a-79d5-4374-8381-c5f2b9bbd2fb
x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"Canada Central","Slice":"SliceC","Ring":"5","ScaleUnit":"002","Host":"AGSFE_IN_3","ADSiteName":"CAC"}}
WWW-Authenticate: Bearer realm="", authorization_uri="https://login.microsoftonline.com/common/oauth2/authorize", client_id="00000003-0000-0000-c000-000000000000"
Strict-Transport-Security: max-age=31536000
Date: Wed, 26 Sep 2018 17:24:56 GMT
Connection: close
Content-Length: 244
Error: 401 Unauthorized
Disconnected
Tried recently, both 11 (used Chromium version, IE didn't work) and 2.0 beta didn't work. Explorer window gets opened, redirects me to the company login screen. I get a notification from MS Authenticator to accept. IE window closed and Unauthorized error in the log.
POST /common/oauth2/v2.0/token HTTP/1.1
Content-type: application/x-www-form-urlencoded
User-Agent: cloudplugin/2.0 TotalCommander/9.2 (Windows/10; en_EN)
Host: login.microsoftonline.com
Content-Length: 1407
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: buid=AQABAAEAAADXzZ3ifr-GRbDT45zNSEFE_Zp_kj2nWZCBbUurKymfhNs3LeECEb2aiROowwWCL3LPTJbf9kynbeZ-WTb-IVBsT0y3Lf1GF8gTVXROqef1N55bibZUioJu3Bo_TDi1SCvMHlX0Tlb8fZddN5laQciiWlAt0KZjSoe4p2hSbmFPSQEPGzpdGyFCQfHqTbhOzxcgAA; CCState=RWhJS0VGQmpYWEtieGxGQnNxR2R2bHF5NnVnPQ==; ESTSAUTHPERSISTENT=AQABAAQAAADXzZ3ifr-GRbDT45zNSEFEGARUrB9DMhJ9tPCnRVmprxr5EcOmR3T4EqmMZQNWTF7PdKR9nA0QgVXohtgbC2Q019jLQwf5TOth0A1_aotfTd4UEKdw4qrwYgGmBR5tHdIPmenjbsUtQzgIJxUncllnZ81XfszachXTa9ucW7Xp8xh_r1X0QrShAD3-RbD9NTsSLKS3KXGM1FYDQ29ViDJykITAsK5PGeQVf09EsfOfCT-3E358W4zfficBrNNVUWhLgz5J3mdgURyRwiLjs-pk-TQ6V-J2RPCYJoNy7V_mefqtW9q9QWEzoSWCdsDb-1-MgJKAmGemE1Ax9QXJZzmEX3vxQ6FKPN-nB3mRPZCrcoOQINxtZxL68flVBAPMbC_bir6BlQu9d7CldV9O2G2kJyKuOyyQnvZmQ4ymVMOyr5AYod1OOYlJYCeMl5QtmqhturXt_eark43kcEIOZiAbgjHh9J8_f8r7uzUzeFMLCaND00-mGgshuhSaET******Received headers
HTTP/1.1 200 OK
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json; charset=utf-8
Expires: -1
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
x-ms-request-id: 5d2b028a-ad5a-4919-b4b4-82d01c87b000
P3P: CP="DSP CUR OTPi IND OTRi ONL FIN"
Set-Cookie: x-ms-gateway-slice=003; path=/; secure; HttpOnly
Set-Cookie: stsservicecookie=ests; path=/; secure; HttpOnly
Date: Wed, 26 Sep 2018 17:24:39 GMT
Content-Length: 3453
200 OK
CONNECT \MyCompany
=================
Get dir: \
GET /v1.0/me/drives HTTP/1.1
User-Agent: cloudplugin/2.0 TotalCommander/9.2 (Windows/10; en_EN)
Host: graph.microsoft.com
Connection: Close
Cache-Control: no-cache
Cookie: SRCHUID=V=2&GUID=207ACA405C6E4C13B85F205778F2DCB7&dmnchg=1; SRCHD=AF=NOFORM; MC1=GUID=d7e79e17b4b946e28720db0adbf21271&HASH=d7e7&LV=201807&V=4&LU=1532024662198; MUID=001381D4777E66601C768DB5737E607B; SRCHUSR=DOB=20180507
******Received headers
HTTP/1.1 401 Unauthorized
Content-Type: application/json; charset=utf-8
request-id: 19b59004-1d86-49e4-8e70-2054ad7b607d
client-request-id: 19b59004-1d86-49e4-8e70-2054ad7b607d
x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"Canada Central","Slice":"SliceC","Ring":"5","ScaleUnit":"002","Host":"AGSFE_IN_0","ADSiteName":"CAC"}}
WWW-Authenticate: Bearer realm="", authorization_uri="https://login.microsoftonline.com/common/oauth2/authorize", client_id="00000003-0000-0000-c000-000000000000"
Strict-Transport-Security: max-age=31536000
Date: Wed, 26 Sep 2018 17:24:40 GMT
Connection: close
Content-Length: 244
Error: 401 Unauthorized
POST /common/oauth2/v2.0/token HTTP/1.1
Content-type: application/x-www-form-urlencoded
User-Agent: cloudplugin/2.0 TotalCommander/9.2 (Windows/10; en_EN)
Host: login.microsoftonline.com
Content-Length: 1190
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: x-ms-gateway-slice=003; stsservicecookie=ests; buid=AQABAAEAAADXzZ3ifr-GRbDT45zNSEFEu7tA-ciEbHbz0HD2aR8pAA6RdDdWdn-4KVrftMRNzYYnJ2IauE8G_HUO3TOsZPSEv6jYVFJSxW3ZY7ycDJZWMR6uuOUXg9FG2GPcavQZpoHK611AXOAOoqJSO_LrI7kXOewV_DDxYYs_Ky75qViL7jn-_NKpXzHpOXTwmcI8GbggAA; CCState=RWhJS0VGQmpYWEtieGxGQnNxR2R2bHF5NnVnPQ==; ESTSAUTHPERSISTENT=AQABAAQAAADXzZ3ifr-GRbDT45zNSEFEZmgWcDOs35LSwXsYDY3shuvLy_6WkjrJCrHwNfZQ-PEe15HvuyuPhbJDmW90HacBY-vQStnQORUiSpMtcXfHlTWzw9Jkk1poHuhYP2iEhJkkzM3Ol83PwjaLFWGtpiHPNxj5BitMR3AyyheW59yxvcyNBiphDSIML9pv4mpFxy3M6y40U6zmhprpkCasxSbdv_9xWl29SXSnIYUCQQfdZE8YoelnSvW3qQJSzINxZvdSUUAEgDYs7iWF8KBu8ill4FVvJ5stneLPBpnUzPO2IeXku0LK2FVX9qSdJZ7gCKMNr2Je_DT0rjmoULRXzerPMwtYPAcKTkQJROJBxRdmNBTPYcx9nt8W3TkYVxITtOKvOAXMax7tMqnCv_kfxwfD-97a97VsHJdH7YeCKgT_konWHQnurrSFvp0gp1zuNY4P2oTz2AHVCCi******Received headers
HTTP/1.1 200 OK
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json; charset=utf-8
Expires: -1
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
x-ms-request-id: 1dbcd550-798b-4308-80ac-7d66e94ac700
P3P: CP="DSP CUR OTPi IND OTRi ONL FIN"
Set-Cookie: x-ms-gateway-slice=012; path=/; secure; HttpOnly
Set-Cookie: stsservicecookie=ests; path=/; secure; HttpOnly
Date: Wed, 26 Sep 2018 17:24:55 GMT
Content-Length: 3459
200 OK
GET /v1.0/me/drives HTTP/1.1
User-Agent: cloudplugin/2.0 TotalCommander/9.2 (Windows/10; en_EN)
Host: graph.microsoft.com
Connection: Close
Cache-Control: no-cache
Cookie: SRCHUID=V=2&GUID=207ACA405C6E4C13B85F205778F2DCB7&dmnchg=1; SRCHD=AF=NOFORM; MC1=GUID=d7e79e17b4b946e28720db0adbf21271&HASH=d7e7&LV=201807&V=4&LU=1532024662198; MUID=001381D4777E66601C768DB5737E607B; SRCHUSR=DOB=20180507
******Received headers
HTTP/1.1 401 Unauthorized
Content-Type: application/json; charset=utf-8
request-id: 9316743a-79d5-4374-8381-c5f2b9bbd2fb
client-request-id: 9316743a-79d5-4374-8381-c5f2b9bbd2fb
x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"Canada Central","Slice":"SliceC","Ring":"5","ScaleUnit":"002","Host":"AGSFE_IN_3","ADSiteName":"CAC"}}
WWW-Authenticate: Bearer realm="", authorization_uri="https://login.microsoftonline.com/common/oauth2/authorize", client_id="00000003-0000-0000-c000-000000000000"
Strict-Transport-Security: max-age=31536000
Date: Wed, 26 Sep 2018 17:24:56 GMT
Connection: close
Content-Length: 244
Error: 401 Unauthorized
Disconnected
Re: Using Total Commander with OneDrive For Business
Just FYI, OneDrive for Business still works fine for me, also with MFA.
Roman
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Using Total Commander with OneDrive For Business
Try deleting all cookies for the domain graph.microsoft.com in Internet Explorer. It is used via Microsoft Internet* functions to access the actual site once the login has been completed (indepentend from the browser used for login).
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- I-Vladimir
- Junior Member
- Posts: 29
- Joined: 2012-09-26, 15:18 UTC
Re: Using Total Commander with OneDrive For Business
I had no IE on my system, uninstalled. IE version didn't work since the beginning, Chromium version 1.11 worked only the first time.
I tried to install IE back, deleted cookies - didn't work.
Tried Chromium version with cookies deleted from Cent Browser - didn't work.
Beta version also didn't work with both external IE and Chromium.
EDIT: After a login attempt c:\console.log file generated with an error message, not sure if that related.
---
Message: Viewport argument value "1.0;" for key "initial-scale" was truncated to its numeric prefix. Note that ';' is not a separator in viewport values. The list should be comma-separated.
---
I tried to install IE back, deleted cookies - didn't work.
Tried Chromium version with cookies deleted from Cent Browser - didn't work.
Beta version also didn't work with both external IE and Chromium.
EDIT: After a login attempt c:\console.log file generated with an error message, not sure if that related.
---
Message: Viewport argument value "1.0;" for key "initial-scale" was truncated to its numeric prefix. Note that ';' is not a separator in viewport values. The list should be comma-separated.
---
Re: Using Total Commander with OneDrive For Business
It's "MS-CSV" with separator defined in system regional settings, see RFC 4180: https://tools.ietf.org/html/rfc4180I-Vladimir wrote: 2018-10-01, 21:56 UTCNote that ';' is not a separator in viewport values. The list should be comma-separated.
Andrzej P. Wozniak
Polish subforum moderator
Polish subforum moderator
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Using Total Commander with OneDrive For Business
That may indeed be your problem. Could you try logging in on a different PC?I had no IE on my system, uninstalled.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- I-Vladimir
- Junior Member
- Posts: 29
- Joined: 2012-09-26, 15:18 UTC
Re: Using Total Commander with OneDrive For Business
Yes, I tried from my company laptop, same error.
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Using Total Commander with OneDrive For Business
Unfortunately the log doesn't tell me why the server returns Unauthorized. It may be set in a company policy that third party apps are not allowed to access their OneDrive data.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- I-Vladimir
- Junior Member
- Posts: 29
- Joined: 2012-09-26, 15:18 UTC
Re: Using Total Commander with OneDrive For Business
Installed plugin version 2 and it fixed the issue.
Thanks
Thanks
Re: Using Total Commander with OneDrive For Business
v.2.02 after
authentication in browser i get
Code received!
Please close browser and return to Total Commander.
but in tc i get no acess code recieved!
i try chrome,edge, ie - all the same ((( what's wrong?
authentication in browser i get
Code received!
Please close browser and return to Total Commander.
but in tc i get no acess code recieved!
i try chrome,edge, ie - all the same ((( what's wrong?
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Using Total Commander with OneDrive For Business
If you get a "Code received!" message, this is a small web page returned by the cloud plugin web server. It means that the browser did return a code to the cloud plugin! The question is what happens then. Try enable logging:
1. Enable "Detailed log" in the connection settings (Alt+Enter)
2. Enable logging in menu Configuration - Options - FTP (which also logs all plugins)
Please do not post the result here because it may contain login tokens. Instead, please send it to support at ghisler dot com. You may change some characters in the token so I can't try to access your account, but please don't delete anything.
1. Enable "Detailed log" in the connection settings (Alt+Enter)
2. Enable logging in menu Configuration - Options - FTP (which also logs all plugins)
Please do not post the result here because it may contain login tokens. Instead, please send it to support at ghisler dot com. You may change some characters in the token so I can't try to access your account, but please don't delete anything.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com