Skip to content

Commit 374519b

Browse files
authored
Merge pull request #21376 from v-alje/scope-bulk-fix
Bulk fix adding --scopes parameter
2 parents 811aee5 + ce162fd commit 374519b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/sql-server/azure-arc/connect-at-scale.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Each target machine must have the [Azure CLI installed](/cli/azure/install-azure
9090
1. Create the service principal using the ['az ad sp create-for-rbac'](/cli/azure/ad/sp#az-ad-sp-create-for-rbac) command.
9191

9292
```azurecli-interactive
93-
az ad sp create-for-rbac --name <your service principal name> --role <your custom role name>
93+
az ad sp create-for-rbac --name <your service principal name> --role <your custom role name> --scopes /subscriptions/<subscription id>
9494
```
9595

9696
2. Download the Linux shell script from the Portal following the instructions in [Connect your SQL Server to Azure Arc](connect.md).

0 commit comments

Comments
 (0)