Azure Functions(4.2)
The Azure OAuth Token functions include:
acquireAzureOAuthToken
acquireAzureOAuthToken
Contacts Azure to set up an OAuth Token based on the stated parameters.
AzureOAuthToken acquireAzureOAuthToken(
string tenantID,
string resourceID,
string clientID,
string certificate,
string certifcatePassword )Parameters
Parameter | Description |
|---|---|
| The Tenant ID is a GUID for your instance, or domain. |
| The Resource ID that you want to receive an OAuth Token for. |
| Also known as an Application ID, a GUID that identifies the application that is requesting the OAuth Token. |
| The path to a local keystore. Must be set up on the EC that the workflow is running on. |
| The password to the keystore. |
Returns | An AzureOAuthToken UDR, or an exception if the parameters/credentials were incorrect. |
Example
AzureOAuth.AzureOAuthToken = AzureOAuth.acquireAzureOAuthToken("733f2c27-a0ca-45e1-a3b7-014bd4518ea3", "c039d2b9-3aaa-47fd-8414-732249a94a65", "69bca157-2362-4ca7-adf3-6a26f6bd842f", "/keystores/azureKeystore", "verysecretpass");