Skip to content

Commit bd4d6ac

Browse files
Merge pull request #242335 from Grace-MacJones-MSFT/patch-29
(Azure CXP ) fixed syntax error in step 4
2 parents b530800 + 68cb33a commit bd4d6ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/app-service/tutorial-connect-msi-sql-database.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,8 @@ Here's an example of the output:
223223
> If you want, you can add the identity to an [Azure AD group](../active-directory/fundamentals/active-directory-manage-groups.md), then grant SQL Database access to the Azure AD group instead of the identity. For example, the following commands add the managed identity from the previous step to a new group called _myAzureSQLDBAccessGroup_:
224224
>
225225
> ```azurecli-interactive
226-
> groupid=$(az ad group create --display-name myAzureSQLDBAccessGroup --mail-nickname myAzureSQLDBAccessGroup --query objectId --output tsv)
227-
> msiobjectid=$(az webapp identity show --resource-group myResourceGroup --name <app-name> --query principalId --output tsv)
226+
> $groupid=(az ad group create --display-name myAzureSQLDBAccessGroup --mail-nickname myAzureSQLDBAccessGroup --query objectId --output tsv)
227+
> $msiobjectid=(az webapp identity show --resource-group myResourceGroup --name <app-name> --query principalId --output tsv)
228228
> az ad group member add --group $groupid --member-id $msiobjectid
229229
> az ad group member list -g $groupid
230230
> ```

0 commit comments

Comments
 (0)