The creation of variables is initiated by generating eight Azure Automation variables on the Automation Account. These variables will hold the information/credentials that the Runbook script needs to connect to Teams, get the queue details, and store them in a JSON file in the Container.
1. Go to the Automation Account you created earlier.
On the left menu click on Variables.
2. Create the Variables one by one, as shown below in the table.
Variable Name |
Value |
Encrypted |
---|---|---|
TenantID |
The Azure AD tenant ID. |
Yes |
SubscriptionId |
Your Azure Subscription ID. |
Yes |
ApplicationID |
Azure Bot Application (client) ID. |
Yes |
ClientSecret |
Client secret of Azure Bot. |
Yes |
StorageAccountRG |
Resource group or Storage Account. |
Yes |
StorageAccountName |
Storage Account Name. |
Yes |
StorageContainerName |
Storage Account Container Name. |
Yes |
UserAssignedIdentityObjectId |
Object ID of the User Assigned Managed Identity |
Yes |