Azure Automation module that defines key (password) based Azure AD Service Principal connection asset and offers easier way to sign in to Azure using the service principals. It also provides a function Get-AzureADToken that generates Azure AD oAuth token either using a user principal or a service principal.

Minimum PowerShell version


Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name AzureServicePrincipalAccount

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More


Tao Yang


(c) 2017-2021 TY Consulting Pty Ltd. All rights reserved.

Package Details


Version History

Version Downloads Last updated
2.1.0 (current version) 937 4/7/2021
2.0.0 3,209 5/2/2019
1.5.0 2,212 2/4/2018
1.4.0 150 11/21/2017
1.3.0 45 11/20/2017
1.2.3 41 11/19/2017
1.2.0 75 10/31/2017
1.1.0 57 10/23/2017
1.0.1 61 10/9/2017
Show more