Issues with AzureStor and RStudio Workbench

I've recently had some bug reports of AzureStor 3.6.0 running into problems on RStudio Workbench here. People are able to connect to an Azure storage account on their local machine, but the same code fails when run on Workbench with a 400 error.

This is some sample code from a user which fails in Workbench but succeeds locally:

az_token <-
    resource = "",
    tenant = tenant,
    app = app_id,
    password = app_secret,
    auth_type = "client_credentials", 
    use_cache = FALSE

blob_endpoint <- AzureStor::storage_endpoint(endpoint = "",
  token = az_token)

container <- AzureStor::storage_container(blob_endpoint, cont_name)

adls_files <- AzureStor::list_storage_files(container,
                                            dir = "/folder/subfolder1/subfolder2/",
                                            info = "all",
                                            recursive = TRUE)

Is there something about Workbench that could be causing this error? Is it maybe rewriting URLs or modifying the HTTP headers?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.