Skip to content

Commit 7988232

Browse files
committed
Adding new conceptual file
1 parent b8e1131 commit 7988232

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

articles/automation/automation-use-azure-ad.md

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ You can enable Azure AD through the following PowerShell modules:
2222
* Microsoft Azure Active Directory for Windows PowerShell (MSOnline module). This module enables interactions with Microsoft Online, including Office 365.
2323
Note: PowerShell Core does not support the MSOnline module. To use the module cmdlets, you must run them from Windows PowerShell. You are encouraged to use the newer Azure Active Directory PowerShell for Graph modules instead of the MSOnline module.
2424

25-
* Azure Automation Authoring Toolkit. This module is the [Microsoft Azure Automation ISE add-on for the PowerShell ISE](https://github.com/azureautomation/azure-automation-ise-addon).
26-
2725
### Preinstallation
2826

2927
Before installing the Azure AD modules on your computer:
@@ -60,23 +58,11 @@ Before installing the Azure AD modules on your computer:
6058

6159
### Install support for PSCredential
6260

63-
Azure Automation uses the [PSCredential](https://docs.microsoft.com/dotnet/api/system.management.automation.pscredential?view=pscore-6.2.0) class to represent a credential asset. Your scripts retrieve `PSCredential` objects using the `Get-AutomationPSCredential` cmdlet. For local development using the Azure Automation Authoring Toolkit, the cmdlet is part of assembly `AzureAutomationAuthoringToolkit`. For Azure working with the Automation context, the cmdlet is in `Orchestrator.AssetManagement.Cmdlets`.
64-
65-
To be able to retrieve the Azure Automation credential asset `PSCredential` in your code, you can install the [Microsoft Azure Automation ISE add-on for the PowerShell ISE](https://github.com/azureautomation/azure-automation-ise-addon).
66-
67-
```azurepowershell
68-
Install-Module AzureAutomationAuthoringToolkit -Scope CurrentUser -Force
69-
```
70-
71-
Your script can also import the required module where needed, as in the following example:
72-
73-
```azurepowershell
74-
Import-Module Orchestrator.AssetManagement.Cmdlets -ErrorAction SilentlyContinue
75-
```
61+
Azure Automation uses the [PSCredential](https://docs.microsoft.com/dotnet/api/system.management.automation.pscredential?view=pscore-6.2.0) class to represent a credential asset. Your scripts retrieve `PSCredential` objects using the `Get-AutomationPSCredential` cmdlet. For more information, see [Credential assets in Azure Automation](https://docs.microsoft.com/azure/automation/shared-resources/credentials).
7662

7763
## Assigning a subscription administrator
7864

79-
You must assign an administrator for the Azure subscription. This person has the role of Owner for the subscription scope. See [Role-based access control in Azure Automation](automation-role-based-access-control.md).
65+
You must assign an administrator for the Azure subscription. This person has the role of Owner for the subscription scope. See [Role-based access control in Azure Automation](automation-role-based-access-control.md).
8066

8167
## Changing the Azure AD user's password
8268

@@ -168,5 +154,6 @@ Workflow Stop-Start-AzureVM
168154
## Next steps
169155

170156
* You can find information about Automation credential assets in [Credential assets in Azure Automation](https://docs.microsoft.com/azure/automation/shared-resources/credentials).
157+
* See [Manage modules in Azure Automation](https://docs.microsoft.com/en-us/azure/automation/shared-resources/modules) to find out how to work with Automation modules.
171158
* To learn more about the methods that can be used to start a runbook in Azure Automation, see [Starting a runbook in Azure Automation](automation-starting-a-runbook.md).
172159
* For more information on PowerShell, including language reference and learning modules, refer to the [PowerShell Docs](https://docs.microsoft.com/powershell/scripting/overview).

0 commit comments

Comments
 (0)