Azure Automation Deployment Services (1)

Source: Internet
Author: User

The PAAs functionality for automated Deployment Services has been published in Azure.

This article describes the Automation service automation initialization process.

On the left side of Azure Management portal You can see a variety of azure services, one of which is automation, the automation PAAs service.

Check "Automation" and then click "Create"

For automation named "MyTest", currently only North China has automation services:

Click "MyTest" to enter this automation:

Once created, the user authentication information is added first. This article will first describe how to connect to Azure through a username/password, and then connect to Azure through the "certificate" method.

First, connect to Azure via "username/password" mode

1. Click New, select Runbook, quickly create, enter a name and description:

2. Enter the asset and select Add Settings

3. Add Credential for Azure:

4. Edit the Runbook:

Enter the Runbook:

Edit in draft in the authoring for the Runbook:

Workflow Mytest_addaccount


$credential = Get-automationpscredential-name ' mycredential '

Add-azureaccount-credential $credential-environment Azurechinacloud


Write-output $VM


The output results are as follows:

Now that the initialization of the Automation Runbook has ended, you can add a PowerShell script to

5. Click Post:


Two Create a task schedule

1. Create a "scheduled schedule"

Click "Link to new plan"

2. Configure scheduled Schedules

3. Define the time

This runbook is now associated with this scheduling schedule. You can implement the task of running this script on a daily schedule.

Azure Automation Deployment Services (1)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.