azure-powershell
azure-powershell copied to clipboard
provide powershell object for .Net PSADPasswordCredential type
Currently, when creating an ADApplication, you have to directly create the underlying .NET PSADPasswordCredential type. Suggestion is to provide a powershell wrapper object instead:
$psadCredential = New-Object Microsoft.Azure.Commands.Resources.Models.ActiveDirectory.PSADPasswordCredential
@namratab It's a bit difficult to create this type in PowerSHell - consider a helper cmdlet to create the type and pipe it into the New-AzureADApplication cmdlet