Skip to content

Commit 7b6aade

Browse files
committed
Revert "Update scripted.Rmd (#213)"
This reverts commit cde984a.
1 parent 9128617 commit 7b6aade

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

vignettes/scripted.Rmd

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ tenant <- "your-tenant-here"
134134

135135
# the application/client ID of the app registration to use
136136
app <- "your-app-id-here"
137-
app_secret <- "your-app-secret-here"
138137

139138
# get the service account username and password
140139
user <- Sys.getenv("EXAMPLE_MS365R_SERVICE_USER")
@@ -145,7 +144,7 @@ target_drive <- Sys.getenv("EXAMPLE_MS365R_TARGET_DRIVE")
145144
target_path <- Sys.getenv("EXAMPLE_MS365R_TARGET_PATH")
146145

147146
drv <- get_business_onedrive(tenant=tenant, app=app, username=user, password=pwd,
148-
token_args = list(client_secret = app_secret), auth_type="resource_owner")
147+
auth_type="resource_owner")
149148

150149
# search for the desired item in the list of shared items
151150
shared <- drv$list_shared_files(info="items")

0 commit comments

Comments
 (0)