Hi,

I am trying to create azure images getting the following error. Not able to 
find any clue on this.



azure-arm output will be in this color.

==> azure-arm: Running builder ...
    azure-arm: Creating Azure Resource Manager (ARM) client ...
Build 'azure-arm' errored: azure.BearerAuthorizer#WithAuthorization: Failed 
to refresh the Token for request to 
https://management.azure.com/subscriptions/44cae533-4247-4093-42cf-897ded6e7823/resourceGroups/packerdemo/providers/Microsoft.St
orage/storageAccounts/virtualmachines/listKeys?api-version=2016-12-01: 
StatusCode=0 -- Original Error: adal: Refresh request failed. Status Code = 
'400'

==> Some builds didn't complete successfully and had errors:
--> azure-arm: azure.BearerAuthorizer#WithAuthorization: Failed to refresh 
the Token for request to 
https://management.azure.com/subscriptions/44cae533-4247-4093-42cf-897ded6e7823/resourceGroups/packerdemo/providers/Microsoft.Storage/storag
eAccounts/virtualmachines/listKeys?api-version=2016-12-01: StatusCode=0 -- 
Original Error: adal: Refresh request failed. Status Code = '400'

==> Builds finished but no artifacts were created.

I use the sample json from https://www.packer.io/docs/builders/azure.html.

Did I miss anything in the config? 

Thanks in advance.

Thanks,
Jeya

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/3c4079f5-75b8-45fd-9cc2-4f0cf3f00f5b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to