Skip to content

Commit 22b5d23

Browse files
Merge pull request #224232 from SnehaSudhirG/17Jan-Runbook-VSC
Added two new sections - connect to Azure account and subscriptions
2 parents 13eaca6 + f8d87d5 commit 22b5d23

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

articles/automation/how-to/runbook-authoring-extension-for-vscode.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,36 @@ following these steps:
3030
1. Select **Azure Automation** from the search results, and then select **Install**.
3131
1. Select **Reload** when necessary.
3232

33+
## Connect to Azure Account
34+
35+
To view all the resources within your Automation account, you must connect to your Azure account. Follow the steps to connect to Azure from Visual Studio Code:
36+
37+
1. You can sign in to Azure from the Azure Automation extension or the Command Palette.
38+
- To sign in from the Azure Automation extension: select **Sign in to Azure**.
39+
40+
Or
41+
42+
- To sign in from the Command Palette: from the menu bar, go to **View > Command Palette** and enter **Azure:Sign-in**.
43+
44+
1. Follow the sign in instructions to sign in to Azure.
45+
After you're connected, you will find the Azure account name on the status bar of Visual Studio Code.
46+
47+
## Select subscriptions
48+
49+
When you sign in for the first time, the extension loads only the default subscription resources and Automation accounts. To add or remove subscriptions, follow these steps:
50+
51+
1. You can use the Command Palette or the window footer to start the subscription command.
52+
- To sign in from Command Palette - from the menu bar, go to **View > Command Palette** and enter **Azure: Select Subscriptions**.
53+
54+
Or
55+
56+
- To sign in from window footer - In the window footer, select the segment that matches **Azure: your account**.
57+
58+
1. Use the filter to find the subscriptions by name.
59+
1. Check or uncheck each subscription to add or remove them from the list of subscriptions shown by Azure Automation extension.
60+
1. Select **OK** after you have completed adding or removing the subscriptions.
61+
62+
3363
## Using the Azure Automation extension
3464

3565
The extension simplifies the process of creating and editing runbooks. You can now test them locally without logging into the Azure portal. The various actions that you can perform are listed below:

0 commit comments

Comments
 (0)