Quick screenshot episode on how to create a basic SMA Connection and how to use it for an AD connection to get an AD user in Azure Pack.
Create a SMA Connection
Click Automation and then Assets.
Click Add Settings.
Select the Connection type. In this example I have used ”ADD CONNECTION” type.
Configure the connection.
Create a Runbook to test the connection
Click the + sign, Runbook and then quick create. Input the parameters.
Choose the new Runbook, Author and then Draft.
Add the PowerShell code.
Click Test to test the Runbook.
Input a username that exist in the AD.
If successful, the output should look something like this.