The interactive configurator goes fine. The single command doesn't.
This is the output of -vv with the interactive configurator.
PS C:\Users\Thijs\redacted\it - Documents\migratie ARC\scripts_csv> rclone config -vv --dump bodies
2023/09/13 21:04:51 DEBUG : rclone: Version "v1.64.0" starting with parameters ["C:\\Users\\Thijs\\AppData\\Local\\Microsoft\\WinGet\\Packages\\Rclone.Rclone_Microsoft.Winget.Source_8wekyb3d8bbwe\\rclone-v1.64.0-windows-amd64\\rclone.exe" "config" "-vv" "--dump" "bodies"]
2023/09/13 21:04:51 DEBUG : Using config file from "C:\\Users\\Thijs\\AppData\\Roaming\\rclone\\rclone.conf"
Current remotes:
Name Type
==== ====
google drive
thijstest1 onedrive
thijstestarchive onedrive
e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q> n
Enter name for new remote.
name> teamstest
Option Storage.
Type of storage to configure.
Choose a number from below, or type in your own value.
31 / Microsoft OneDrive
\ (onedrive)
3
Storage> 31
2023/09/13 21:04:59 DEBUG : teamstest: config in: state="*all", result=""
2023/09/13 21:04:59 DEBUG : teamstest: config out: out=&{State:*all-set,0,false Option: OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:04:59 DEBUG : teamstest: config: reading config parameter "client_id"
Option client_id.
OAuth Client Id.
Leave blank normally.
Enter a value. Press Enter to leave empty.
client_id>
2023/09/13 21:05:00 DEBUG : teamstest: config in: state="*all-set,0,false", result=""
2023/09/13 21:05:00 DEBUG : teamstest: config out: out=&{State:*all,1,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:00 DEBUG : teamstest: config in: state="*all,1,false", result=""
2023/09/13 21:05:00 DEBUG : teamstest: config out: out=&{State:*all-set,1,false Option: OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:00 DEBUG : teamstest: config: reading config parameter "client_secret"
Option client_secret.
OAuth Client Secret.
Leave blank normally.
Enter a value. Press Enter to leave empty.
client_secret>
2023/09/13 21:05:00 DEBUG : teamstest: config in: state="*all-set,1,false", result=""
2023/09/13 21:05:00 DEBUG : teamstest: config out: out=&{State:*all,2,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:00 DEBUG : teamstest: config in: state="*all,2,false", result=""
2023/09/13 21:05:00 DEBUG : teamstest: config out: out=&{State:*all,3,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:00 DEBUG : teamstest: config in: state="*all,3,false", result=""
2023/09/13 21:05:00 DEBUG : teamstest: config out: out=&{State:*all,4,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:00 DEBUG : teamstest: config in: state="*all,4,false", result=""
2023/09/13 21:05:00 DEBUG : teamstest: config out: out=&{State:*all,5,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:00 DEBUG : teamstest: config in: state="*all,5,false", result=""
2023/09/13 21:05:00 DEBUG : teamstest: config out: out=&{State:*all-set,5,false Option:global OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:00 DEBUG : teamstest: config: reading config parameter "region"
Option region.
Choose national cloud region for OneDrive.
Choose a number from below, or type in your own string value.
Press Enter for the default (global).
1 / Microsoft Cloud Global
\ (global)
2 / Microsoft Cloud for US Government
\ (us)
3 / Microsoft Cloud Germany
\ (de)
4 / Azure and Office 365 operated by Vnet Group in China
\ (cn)
region>
2023/09/13 21:05:01 DEBUG : teamstest: config in: state="*all-set,5,false", result="global"
2023/09/13 21:05:01 DEBUG : teamstest: config out: out=&{State:*all,6,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:01 DEBUG : teamstest: config in: state="*all,6,false", result=""
2023/09/13 21:05:01 DEBUG : teamstest: config out: out=&{State:*all,7,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:01 DEBUG : teamstest: config in: state="*all,7,false", result=""
2023/09/13 21:05:01 DEBUG : teamstest: config out: out=&{State:*all,8,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:01 DEBUG : teamstest: config in: state="*all,8,false", result=""
2023/09/13 21:05:01 DEBUG : teamstest: config out: out=&{State:*all,9,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:01 DEBUG : teamstest: config in: state="*all,9,false", result=""
2023/09/13 21:05:01 DEBUG : teamstest: config out: out=&{State:*all,10,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:01 DEBUG : teamstest: config in: state="*all,10,false", result=""
2023/09/13 21:05:01 DEBUG : teamstest: config out: out=&{State:*all,11,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:01 DEBUG : teamstest: config in: state="*all,11,false", result=""
2023/09/13 21:05:01 DEBUG : teamstest: config out: out=&{State:*all,12,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:01 DEBUG : teamstest: config in: state="*all,12,false", result=""
2023/09/13 21:05:01 DEBUG : teamstest: config out: out=&{State:*all,13,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:01 DEBUG : teamstest: config in: state="*all,13,false", result=""
2023/09/13 21:05:01 DEBUG : teamstest: config out: out=&{State:*all,14,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:01 DEBUG : teamstest: config in: state="*all,14,false", result=""
2023/09/13 21:05:01 DEBUG : teamstest: config out: out=&{State:*all,15,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:01 DEBUG : teamstest: config in: state="*all,15,false", result=""
2023/09/13 21:05:01 DEBUG : teamstest: config out: out=&{State:*all,16,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:01 DEBUG : teamstest: config in: state="*all,16,false", result=""
2023/09/13 21:05:01 DEBUG : teamstest: config out: out=&{State:*all,17,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:01 DEBUG : teamstest: config in: state="*all,17,false", result=""
2023/09/13 21:05:01 DEBUG : teamstest: config out: out=&{State:*all,18,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:01 DEBUG : teamstest: config in: state="*all,18,false", result=""
2023/09/13 21:05:01 DEBUG : teamstest: config out: out=&{State:*all,19,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:01 DEBUG : teamstest: config in: state="*all,19,false", result=""
2023/09/13 21:05:01 DEBUG : teamstest: config out: out=&{State:*all,20,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:01 DEBUG : teamstest: config in: state="*all,20,false", result=""
2023/09/13 21:05:01 DEBUG : teamstest: config out: out=&{State:*all,21,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:01 DEBUG : teamstest: config in: state="*all,21,false", result=""
2023/09/13 21:05:01 DEBUG : teamstest: config out: out=&{State:*all,22,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:01 DEBUG : teamstest: config in: state="*all,22,false", result=""
2023/09/13 21:05:01 DEBUG : teamstest: config out: out=&{State:*all-advanced Option:false OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:01 DEBUG : teamstest: config: reading config parameter "config_fs_advanced"
Edit advanced config?
y) Yes
n) No (default)
y/n>
2023/09/13 21:05:02 DEBUG : teamstest: config in: state="*all-advanced", result="false"
2023/09/13 21:05:02 DEBUG : teamstest: config out: out=&{State:*postconfig Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:02 DEBUG : teamstest: config in: state="*postconfig", result=""
2023/09/13 21:05:02 DEBUG : teamstest: config in: state="", result=""
2023/09/13 21:05:02 DEBUG : teamstest: config out: out=&{State:*oauth,choose_type,, Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:02 DEBUG : teamstest: config out: out=&{State:*oauth,choose_type,, Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:02 DEBUG : teamstest: config in: state="*oauth,choose_type,,", result=""
2023/09/13 21:05:02 DEBUG : teamstest: config out: out=&{State:*oauth-confirm,choose_type,, Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:02 DEBUG : teamstest: config in: state="*oauth-confirm,choose_type,,", result=""
2023/09/13 21:05:02 DEBUG : teamstest: config out: out=&{State:*oauth-islocal,choose_type,, Option:true OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:02 DEBUG : teamstest: config: reading config parameter "config_is_local"
Use web browser to automatically authenticate rclone with remote?
* Say Y if the machine running rclone has a web browser you can use
* Say N if running rclone on a (remote) machine without web browser access
If not sure try Y. If Y failed, try N.
y) Yes (default)
n) No
y/n>
2023/09/13 21:05:03 DEBUG : teamstest: config in: state="*oauth-islocal,choose_type,,", result="true"
2023/09/13 21:05:03 DEBUG : teamstest: config out: out=&{State:*oauth-do,choose_type,, Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:03 DEBUG : teamstest: config in: state="*oauth-do,choose_type,,", result=""
2023/09/13 21:05:03 DEBUG : Starting auth server on 127.0.0.1:53682
2023/09/13 21:05:03 NOTICE: If your browser doesn't open automatically go to the following link: http://127.0.0.1:53682/auth?state=redacted
2023/09/13 21:05:03 NOTICE: Log in and authorize rclone for access
2023/09/13 21:05:03 NOTICE: Waiting for code...
2023/09/13 21:05:03 DEBUG : Redirecting browser to: https://login.microsoftonline.com/common/oauth2/v2.0/authorize?access_type=offline&client_id=redactedresponse_type=code&scope=Files.Read+Files.ReadWrite+Files.Read.All+Files.ReadWrite.All+Sites.Read.All+offline_access&state=redacted
2023/09/13 21:05:05 DEBUG : Received GET request on auth server to "/"
2023/09/13 21:05:05 NOTICE: Got code
2023/09/13 21:05:05 DEBUG : Closing auth server
2023/09/13 21:05:05 DEBUG : Closed auth server with error: accept tcp 127.0.0.1:53682: use of closed network connection
2023/09/13 21:05:05 DEBUG : You have specified to dump information. Please be noted that the Accept-Encoding as shown may not be correct in the request and the response may not show Content-Encoding if the go standard libraries auto gzip encoding was in effect. In this case the body of the request will be gunzipped before showing it.
2023/09/13 21:05:05 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/09/13 21:05:05 DEBUG : HTTP REQUEST (req 0xc0001ffd00)
2023/09/13 21:05:05 DEBUG : POST /common/oauth2/v2.0/token HTTP/1.1
Host: login.microsoftonline.com
User-Agent: rclone/v1.64.0
Content-Length: 903
Authorization: XXXX
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
code=redacted
2023/09/13 21:05:05 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/09/13 21:05:05 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/09/13 21:05:05 DEBUG : HTTP RESPONSE (req 0xc0001ffd00)
2023/09/13 21:05:05 DEBUG : HTTP/1.1 200 OK
Content-Length: 3289
Cache-Control: no-store, no-cache
Content-Type: application/json; charset=utf-8
Date: Wed, 13 Sep 2023 19:05:06 GMT
Expires: -1
P3p: CP="DSP CUR OTPi IND OTRi ONL FIN"
Pragma: no-cache
Set-Cookie: fpc=Aredacted; expires=Fri, 13-Oct-2023 19:05:06 GMT; path=/; secure; HttpOnly; SameSite=None
Set-Cookie: x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly
Set-Cookie: stsservicecookie=estsfd; path=/; secure; samesite=none; httponly
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Ms-Ests-Server: 2.1.16253.5 - FRC ProdSlices
X-Ms-Request-Id: 6955f1a5-76a1-4d6d-9ddc-0370dec6aa00
X-Xss-Protection: 0
{"token_type":"Bearer","scope":"Files.Read Files.Read.All Files.ReadWrite Files.ReadWrite.All Sites.Read.All profile openid email","expires_in":4714,"ext_expires_in":4714,"access_token":"redactedf"}
2023/09/13 21:05:05 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/09/13 21:05:05 DEBUG : Saving config "token" in section "teamstest" of the config file
2023/09/13 21:05:05 DEBUG : Keeping previous permissions for config file: -rw-rw-rw-
2023/09/13 21:05:05 DEBUG : teamstest: Saved new token in config file
2023/09/13 21:05:05 DEBUG : teamstest: config out: out=&{State:*oauth-done,choose_type,, Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:05 DEBUG : teamstest: config in: state="*oauth-done,choose_type,,", result=""
2023/09/13 21:05:05 DEBUG : teamstest: config out: out=&{State:choose_type Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:05 DEBUG : teamstest: config in: state="choose_type", result=""
2023/09/13 21:05:05 DEBUG : teamstest: config out: out=&{State:choose_type_done Option:onedrive OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:05 DEBUG : teamstest: config: reading config parameter "config_type"
Option config_type.
Type of connection
Choose a number from below, or type in an existing string value.
Press Enter for the default (onedrive).
1 / OneDrive Personal or Business
\ (onedrive)
2 / Root Sharepoint site
\ (sharepoint)
/ Sharepoint site name or URL
3 | E.g. mysite or https://contoso.sharepoint.com/sites/mysite
\ (url)
4 / Search for a Sharepoint site
\ (search)
5 / Type in driveID (advanced)
\ (driveid)
6 / Type in SiteID (advanced)
\ (siteid)
/ Sharepoint server-relative path (advanced)
7 | E.g. /teams/hr
\ (path)
config_type> 7
2023/09/13 21:05:07 DEBUG : teamstest: config in: state="choose_type_done", result="path"
2023/09/13 21:05:07 DEBUG : teamstest: config out: out=&{State:path Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:07 DEBUG : teamstest: config in: state="path", result=""
2023/09/13 21:05:07 DEBUG : teamstest: config out: out=&{State:path_end Option: OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:07 DEBUG : teamstest: config: reading config parameter "config_sharepoint_url"
Option config_sharepoint_url.
Server-relative URL
Enter a value.
config_sharepoint_url> /teams/redactedf
2023/09/13 21:05:30 DEBUG : teamstest: config in: state="path_end", result="/teams/redacted"
2023/09/13 21:05:30 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/09/13 21:05:30 DEBUG : HTTP REQUEST (req 0xc000a92100)
2023/09/13 21:05:30 DEBUG : GET /v1.0/sites/root:/teams/redacted HTTP/1.1
Host: graph.microsoft.com
User-Agent: rclone/v1.64.0
Authorization: XXXX
Accept-Encoding: gzip
2023/09/13 21:05:30 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/09/13 21:05:30 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/09/13 21:05:30 DEBUG : HTTP RESPONSE (req 0xc000a92100)
2023/09/13 21:05:30 DEBUG : HTTP/1.1 200 OK
Transfer-Encoding: chunked
Cache-Control: no-store, no-cache
Client-Request-Id: 086a5f3f-1af1-4e1d-87d4-99517884ca58
Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
Date: Wed, 13 Sep 2023 19:05:31 GMT
Odata-Version: 4.0
Request-Id: 086a5f3f-1af1-4e1d-87d4-99517884ca58
Strict-Transport-Security: max-age=31536000
Vary: Accept-Encoding
X-Ms-Ags-Diagnostic: {"ServerInfo":{"DataCenter":"West Europe","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"AM1PEPF000105A5"}}
211
{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#sites/$entity","createdDateTime":"2020-02-03T14:01:42.027Z","description":"","id":"redactednl.sharepoint.com,8a7ae0c5-7338-4257-b3a8-f6c08f369e15,38123ead-933e-4596-9359-d2f673c1c644","lastModifiedDateTime":"2023-09-13T18:58:48Z","name":"redacted","webUrl":"https://redactednl.sharepoint.com/teams/redacted","displayName":"redacted-SLA 2020 - deel 1","root":{},"siteCollection":{"hostname":"redactednl.sharepoint.com"}}
0
2023/09/13 21:05:30 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/09/13 21:05:30 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/09/13 21:05:30 DEBUG : HTTP REQUEST (req 0xc000a92500)
2023/09/13 21:05:30 DEBUG : GET /v1.0/sites/redactednl.sharepoint.com,redacted-7338-4257-b3a8-redacted,redacted-933e-4596-9359-redacted/drives HTTP/1.1
Host: graph.microsoft.com
User-Agent: rclone/v1.64.0
Authorization: XXXX
Accept-Encoding: gzip
2023/09/13 21:05:30 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/09/13 21:05:30 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/09/13 21:05:30 DEBUG : HTTP RESPONSE (req 0xc000a92500)
2023/09/13 21:05:30 DEBUG : HTTP/1.1 200 OK
Transfer-Encoding: chunked
Cache-Control: no-store, no-cache
Client-Request-Id: redacted-0a8c-4844-b5b4-redacted
Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
Date: Wed, 13 Sep 2023 19:05:31 GMT
Odata-Version: 4.0
Request-Id: redacted-0a8c-4844-b5b4-redacted
Strict-Transport-Security: max-age=31536000
Vary: Accept-Encoding
X-Ms-Ags-Diagnostic: {"ServerInfo":{"DataCenter":"West Europe","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"AM1PEPF000105A5"}}
23d
{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives","value":[{"createdDateTime":"2020-02-02T05:29:40Z","description":"","id":"b!xeredactedqTS","lastModifiedDateTime":"2020-05-15T11:08:26Z","name":"Documents","webUrl":"https://redactednl.sharepoint.com/teams/redacted/Shared%20Documents","driveType":"documentLibrary","createdBy":{"user":{"displayName":"System Account"}},"quota":{"deleted":0,"remaining":27482993160070,"state":"normal","total":27487790694400,"used":4797534330}}]}
0
2023/09/13 21:05:30 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/09/13 21:05:30 DEBUG : teamstest: config out: out=&{State:driveid_final Option:b!xeB6ijhzV0KredactedTS OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:30 DEBUG : teamstest: config: reading config parameter "config_driveid"
Option config_driveid.
Select drive you want to use
Choose a number from below, or type in your own string value.
Press Enter for the default (b!xredactedgqTS).
1 / Documents (documentLibrary)
\ (b!xeB6redacted)
config_driveid> 1
2023/09/13 21:05:37 DEBUG : teamstest: config in: state="driveid_final", result="b!redactedS"
2023/09/13 21:05:37 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/09/13 21:05:37 DEBUG : HTTP REQUEST (req 0xc000a92800)
2023/09/13 21:05:37 DEBUG : GET /v1.0/drives/b!xeredacted/root HTTP/1.1
Host: graph.microsoft.com
User-Agent: rclone/v1.64.0
Authorization: XXXX
Accept-Encoding: gzip
2023/09/13 21:05:37 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/09/13 21:05:37 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/09/13 21:05:37 DEBUG : HTTP RESPONSE (req 0xc000a92800)
2023/09/13 21:05:37 DEBUG : HTTP/1.1 200 OK
Transfer-Encoding: chunked
Cache-Control: no-store, no-cache
Client-Request-Id: redacted-09cf-4587-87b0-redacted
Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
Date: Wed, 13 Sep 2023 19:05:37 GMT
Odata-Version: 4.0
Request-Id: redacted-09cf-4587-87b0-redacted
Strict-Transport-Security: max-age=31536000
Vary: Accept-Encoding
X-Ms-Ags-Diagnostic: {"ServerInfo":{"DataCenter":"West Europe","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"AM1PEPF000105A5"}}
2b2
{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives('b%redactedTS')/root/$entity","createdDateTime":"2020-02-02T05:29:40Z","id":"0redactedZ","lastModifiedDateTime":"2023-09-11T07:25:14Z","name":"root","webUrl":"https://redactednl.sharepoint.com/teams/5redacted/Shared%20Documents","size":3195645508,"parentReference":{"driveType":"documentLibrary","driveId":"b!redactedLgqTS"},"fileSystemInfo":{"createdDateTime":"2020-02-02T05:29:40Z","lastModifiedDateTime":"2023-09-11T07:25:14Z"},"folder":{"childCount":8},"root":{}}
0
2023/09/13 21:05:37 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/09/13 21:05:37 DEBUG : Saving config "drive_id" in section "teamstest" of the config file
2023/09/13 21:05:37 DEBUG : Keeping previous permissions for config file: -rw-rw-rw-
2023/09/13 21:05:37 DEBUG : Saving config "drive_type" in section "teamstest" of the config file
2023/09/13 21:05:37 DEBUG : Keeping previous permissions for config file: -rw-rw-rw-
2023/09/13 21:05:37 DEBUG : teamstest: config out: out=&{State:driveid_final_end Option:true OAuth:<nil> Error: Result:}, err=<nil>
2023/09/13 21:05:37 DEBUG : teamstest: config: reading config parameter "config_drive_ok"
Drive OK?
Found drive "root" of type "documentLibrary"
URL: https://redactednl.sharepoint.com/teams/redacted/Shared%20Documents
y) Yes (default)
n) No
y/n>
2023/09/13 21:06:14 DEBUG : teamstest: config in: state="driveid_final_end", result="true"
2023/09/13 21:06:14 DEBUG : teamstest: config out: out=<nil>, err=<nil>
2023/09/13 21:06:14 DEBUG : Keeping previous permissions for config file: -rw-rw-rw-
Configuration complete.
Options:
- type: onedrive
- token: {"access_token":"redacted"}
- drive_id: b!redacted
- drive_type: documentLibrary
Keep this "teamstest" remote?
y) Yes this is OK (default)
e) Edit this remote
d) Delete this remote
y/e/d>
2023/09/13 21:06:16 DEBUG : Keeping previous permissions for config file: -rw-rw-rw-
which I haven't been able to reproduce with a single command.