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.0
Depends: R (≥ 3.3)
Imports: utils, httr (≥ 1.3), openssl, jsonlite, jose, R6, rappdirs
Suggests: knitr, rmarkdown, testthat, httpuv, shiny, AzureRMR, AzureGraph
Published: 2021-01-11
Author: Hong Ooi [aut, cre], 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: Shiny
Acquire an OAuth token
Package source: AzureAuth_1.3.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release: AzureAuth_1.3.0.tgz, r-oldrel: AzureAuth_1.3.0.tgz
Old sources: AzureAuth archive

Reverse dependencies:

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


Please use the canonical form to link to this page.