Select path and type password. Password is required for uploading certificate on Azure.

Save .cer file:

Right click on AzureAutomation and click on view.

Click on copy to file button.

Upload certificate on Azure

Upload .cer file

Select .cer certificate from local machine.

Upload .pfx file

Navigate to Automation :- AutomationDemo(Account name) :- Assets
Click on Add setting
Click on Credential and provide credential name. This name we will used in Automation workflow as certificate name.

Define connection for Automation Workflow

Parameter: Automation certificate name will be same as Certificate name. Refer below image.
For Subscription ID refer below image.
Now we have completed with installation. Next part is to create wokflow.

Add workflow for automation

Create runbook under AutomationDemo account.

We are creating runbook for auto start/stop VM. I have created runbook as StartVM under AutomationDemo account.