diff --git a/website/source/docs/builders/azure-setup.html.md b/website/source/docs/builders/azure-setup.html.md index 0c0405844..9917fc43f 100644 --- a/website/source/docs/builders/azure-setup.html.md +++ b/website/source/docs/builders/azure-setup.html.md @@ -17,6 +17,8 @@ In order to build VMs in Azure Packer needs 6 configuration options to be specif - `client_secret` - service principal secret / password +- `object_id` - service principal object id (OSType = Windows Only) + - `resource_group_name` - name of the resource group where your VHD(s) will be stored - `storage_account` - name of the storage account where your VHD(s) will be stored @@ -192,6 +194,12 @@ Get `client_secret` This cannot be retrieved. If you forgot this, you will have to delete and re-create your service principal and the associated permissions. +Get `object_id` (OSTYpe=Windows only) + +```shell +azure ad sp show -n CLIENT_ID +``` + Get `resource_group_name` ```shell