library("AzureOAuth")
library("httr")

This will work better with screeshots of how to set up a service app on the Azure side of things.

token <- 
  oauth_service_token_azure(
    tenant_id = Sys.getenv("azure_tenant_id"),
    application_id = Sys.getenv("azure_service_application_id"),
    application_secret = Sys.getenv("azure_service_application_secret")
  )    


ijlyttle/AzureOAuth documentation built on May 5, 2019, 11:09 p.m.