Untitled2.ps1

$cred = Get-StoredCredential -Target "admin@atticwareonmicrosoft.com"
Connect-AzureAD -Credential $cred