azure-powershell icon indicating copy to clipboard operation
azure-powershell copied to clipboard

provide powershell object for .Net PSADPasswordCredential type

Open matt-gibbs opened this issue 11 years ago • 1 comments

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

matt-gibbs avatar Nov 20 '15 23:11 matt-gibbs

@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

markcowl avatar Nov 25 '15 18:11 markcowl