Add tenant Id lookup command

This commit is contained in:
Duncan Godwin 2017-01-10 17:19:04 +00:00 committed by Andrea Turli
parent d36ceddbb3
commit cf256fb48b
1 changed files with 8 additions and 0 deletions

View File

@ -42,6 +42,14 @@ Run the following commands to assign roles to the service principal
azure role assignment create --objectId <Object-id> -o Contributor -c /subscriptions/<Subscription-id>/ azure role assignment create --objectId <Object-id> -o Contributor -c /subscriptions/<Subscription-id>/
``` ```
Look up the the tenant Id
```bash
azure account show -s <Subscription-id> --json
# output will be a JSON which will include the `Tenant id`
```
Verify service principal Verify service principal
```bash ```bash