Skip to content

Commit 237c934

Browse files
Merge pull request #243752 from BlackRider97/patch-1
Updating concepts-byol-and-credentials.md file for AZ Cli command
2 parents b2fd6b1 + 41ad6eb commit 237c934

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/data-manager-for-agri/concepts-byol-and-credentials.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ Follow one of the following methods to enable:
6161

6262
:::image type="content" source="./media/concepts-byol-and-credentials/enable-system-via-ui.png" alt-text="Screenshot showing usage of UI to enable key.":::
6363

64-
2. Via Azure Resource Manager client
64+
2. Via Azure CLI
6565

66-
```cmd
67-
armclient patch /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{ADMA_instance_name}?api-version=2023-06-01-preview "{identity: { type: 'systemAssigned' }}
66+
```azurecli
67+
az rest --method patch --url /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{ADMA_instance_name}?api-version=2023-06-01-preview --body "{'identity': {'type': 'SystemAssigned'}}"
6868
```
6969
7070
### Step 4: Access policy

0 commit comments

Comments
 (0)