ARM Templates deployment Using CLI 2.0

Following are steps to use CLI 2.0

1. Goto command prompt

2. Type for Login

3. Copy and past the following link in Internet Explorer and put the code shown below

 

4. Set the subscription for example : Production/Preprod or Test etc.

5. First validate the template

6. Start deployment of deployment of template

above # 5 and 6 commands are almost same other than create –name SPdeployment which is deployment name.

az login

az account set -s preprod

az group deployment validate –resource-group rg-ae-sharepoint –template-file sp-template.json –parameters @sp-parameters-preprod.json

az group deployment create –name SPdeployment –resource-group rg-ae-sharepoint –template-file sp-template.json –parameters @sp-parameters-preprod.json

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at WordPress.com.

Up ↑

%d bloggers like this: