AzureAuth: Authentication Services for Azure Active Directory

Provides Azure Active Directory (AAD) authentication functionality for R users of Microsoft's 'Azure' cloud <>. Use this package to obtain 'OAuth' 2.0 tokens for services including Azure Resource Manager, Azure Storage and others. It supports both AAD v1.0 and v2.0, as well as multiple authentication methods, including device code and resource owner grant. Tokens are cached in a user-specific directory obtained using the 'rappdirs' package. The interface is based on the 'OAuth' framework in the 'httr' package, but customised and streamlined for Azure. Part of the 'AzureR' family of packages.

Version: 1.3.3
Depends: R (≥ 3.3)
Imports: utils, httr (≥ 1.3), openssl, jsonlite, jose, R6, rappdirs
Suggests: knitr, rmarkdown, testthat, httpuv, shiny, shinyjs, AzureRMR, AzureGraph
Published: 2021-09-13
DOI: 10.32614/CRAN.package.AzureAuth
Author: Hong Ooi [aut, cre], Tyler Littlefield [ctb], httr development team [ctb] (Original OAuth listener code), Scott Holden [ctb] (Advice on AAD authentication), Chris Stone [ctb] (Advice on AAD authentication), Microsoft [cph]
Maintainer: Hong Ooi <hongooi73 at>
License: MIT + file LICENSE
NeedsCompilation: no
Materials: README NEWS
In views: WebTechnologies
CRAN checks: AzureAuth results


Reference manual: AzureAuth.pdf
Vignettes: Authentication scenarios
Acquire an OAuth token


Package source: AzureAuth_1.3.3.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): AzureAuth_1.3.3.tgz, r-oldrel (arm64): AzureAuth_1.3.3.tgz, r-release (x86_64): AzureAuth_1.3.3.tgz, r-oldrel (x86_64): AzureAuth_1.3.3.tgz
Old sources: AzureAuth archive

Reverse dependencies:

Reverse imports: AzureCognitive, AzureGraph, AzureKeyVault, AzureKusto, AzureRMR, Microsoft365R, powerbiR
Reverse suggests: AzureStor, AzureVision, AzureVMmetadata


Please use the canonical form to link to this page.