azureGetTokenDeviceCode: Get Azure token using DeviceCode.

Description Usage Arguments Value Note References See Also

Description

Get Azure token using DeviceCode.

Usage

1
2
azureGetTokenDeviceCode(azureActiveContext, tenantID, clientID, resource,
  verbose = FALSE)

Arguments

azureActiveContext

A container used for caching variables used by AzureSMR, created by createAzureContext()

tenantID

The tenant ID provided during creation of the Active Directory application / service principal

clientID

The client ID provided during creation of the Active Directory application / service principal

resource

Resource to use for getting token

verbose

Print Tracing information (Default False)

Value

If successful, returns TRUE

Note

See https://azure.microsoft.com/en-us/documentation/articles/resource-group-create-service-principal-portal/ for instructions to set up an Active Directory application

References

https://azure.microsoft.com/en-us/resources/samples/active-directory-dotnet-deviceprofile/

See Also

Other Azure resource functions: adlFileInputStreamCheck, adlFileOutputStreamCheck, azureAuthenticateOnAuthType, azureAuthenticate, azureCheckToken, azureGetTokenClientCredential, azureGetTokenDeviceCodeFetch, azureGetTokenRefreshToken, showDeviceCodeMessageToUser


Microsoft/AzureSMR documentation built on July 7, 2019, 11:25 p.m.