Skip to content

Commit afb9261

Browse files
author
Xiaoming Huang
committed
Update Batch Account creation steps.
1 parent 2c07a9a commit afb9261

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

articles/batch/batch-account-create-portal.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Get-AzMarketplaceTerms -Publisher 'microsoft-azure-batch' -Product 'ubuntu-serve
9898
<a name="allow-azure-batch-to-access-the-subscription-one-time-operation"></a>
9999
### Allow Batch to access the subscription
100100

101-
When you create the first user subscription mode Batch account in an Azure subscription, you must register your subscription with Batch. You need to do this registration only once per subscription.
101+
When you create the first user subscription mode Batch account in an Azure subscription, you must register your subscription with Batch and assign **Azure Batch Service Orchestration Role** to Batch. You need to do this registration only once per subscription.
102102

103103
> [!IMPORTANT]
104104
> You need **Owner** permissions in the subscription to take this action.
@@ -112,9 +112,9 @@ When you create the first user subscription mode Batch account in an Azure subsc
112112

113113
1. Return to the **Subscription** page and select **Access control (IAM)** from the left navigation.
114114
1. At the top of the **Access control (IAM)** page, select **Add** > **Add role assignment**.
115-
1. On the **Add role assignment** screen, under **Assignment type**, select **Privileged administrator role**, and then select **Next**.
116-
1. On the **Role** tab, select either the **Contributor** or **Owner** role for the Batch account, and then select **Next**.
117-
1. On the **Members** tab, select **Select members**. On the **Select members** screen, search for and select **Microsoft Azure Batch**, and then select **Select**.
115+
1. On the **Role** tab, search for and select **Azure Batch Service Orchestration Role**, and then select **Next**.
116+
1. On the **Members** tab, select **Select members**. On the **Select members** screen, search for and select **Microsoft Azure Batch**, and then select **Select**.
117+
1. Select **Review + assign** to go to **Review + assign** tab, and select **Review + create** again to apply role assignment changes.
118118

119119
For detailed steps, see [Assign Azure roles by using the Azure portal](../role-based-access-control/role-assignments-portal.yml).
120120

@@ -157,21 +157,20 @@ To create a Batch account with authentication mode settings:
157157
158158
### Grant access to the key vault manually
159159

160-
You can also grant access to the key vault manually in [Azure portal](https://portal.azure.com).
160+
To grant access to the key vault manually in [Azure portal](https://portal.azure.com), you need to assign **Key Vault Secrets Officer** role for Batch:
161161

162-
#### If the Key Vault permission model is **Azure role-based access control**:
163162
1. Select **Access control (IAM)** from the left navigation of the key vault page.
164163
1. At the top of the **Access control (IAM)** page, select **Add** > **Add role assignment**.
165-
1. On the **Add role assignment** screen, under **Role** tab, under **Job function roles** sub tab, select either **Key Vault Secrets Officer** or **Key Vault Administrator** role for the Batch account, and then select **Next**.
164+
1. On the **Add role assignment** screen, under **Role** tab, under **Job function roles** sub tab, search and select **Key Vault Secrets Officer** role for the Batch account, and then select **Next**.
166165
1. On the **Members** tab, select **Select members**. On the **Select members** screen, search for and select **Microsoft Azure Batch**, and then select **Select**.
167166
1. Click the **Review + create** button on the bottom to go to **Review + assign** tab, and click the **Review + create** button on the bottom again.
168167

169168
For detailed steps, see [Assign Azure roles by using the Azure portal](../role-based-access-control/role-assignments-portal.yml).
170169

171-
#### If the Key Vault permission model is **Vault access policy**:
170+
If the Key Vault permission model is **Vault access policy**, you need to also configure the **Access policies**:
172171
1. Select **Access policies** from the left navigation of the key vault page.
173172
1. On the **Access policies** page, select **Create**.
174-
1. On the **Create an access policy** screen, select a minimum of **Get**, **List**, **Set**, and **Delete** permissions under **Secret permissions**. For [key vaults with soft-delete enabled](/azure/key-vault/general/soft-delete-overview), also select **Recover**.
173+
1. On the **Create an access policy** screen, select a minimum of **Get**, **List**, **Set**, **Delete** and **Recover** permissions under **Secret permissions**.
175174

176175
:::image type="content" source="media/batch-account-create-portal/secret-permissions.png" alt-text="Screenshot of the Secret permissions selections for Azure Batch":::
177176

64.2 KB
Loading

0 commit comments

Comments
 (0)