Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in CreateAzureServicesScript.ps1 - invalid JSON template deployment #61

Closed
bgriffeth opened this issue Feb 13, 2017 · 2 comments
Closed

Comments

@bgriffeth
Copy link

bgriffeth commented Feb 13, 2017

Following the instructions in the video, when I run the ps1 file after changing the name of the subscription, I get:

VERBOSE:

 Performing the operation "Creating Deployment" on target "aui-resource-group20".
New-AzureRmResourceGroupDeployment : 3:51:00 PM - Error: Code=InvalidTemplateDeployment; Message=The template
deployment 'CreateAzureServicesScriptResources' is not valid according to the validation procedure. The tracking id is
'5ef3ec4a-7c14-41eb-8bd2-5bd19b249eb4'. See inner errors for details. Please see https://aka.ms/arm-deploy for usage
details.
At .\CreateAzureServicesScript.ps1:107 char:1
+ New-AzureRmResourceGroupDeployment -ResourceGroupName $ResourceGroupN ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception
    + FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDep
   loymentCmdlet
@AkodoShado
Copy link

This script create azure storage account and their name must be unique. So please check if the your finally storage name is globally unique

@mustafakasap
Copy link
Contributor

Issue fixed, now storage name is autogenerated with unique name. User don't need to provide a name unless he/she is sure about what is being done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants