external help file | Module Name | online version | schema |
---|---|---|---|
Microsoft.Open.MS.GraphV10.PowerShell.dll-Help.xml |
AzureAD |
2.0.0 |
Adds a strong password to an application.
New-AzureADMSApplicationPassword -ObjectId <String> -PasswordCredential <PasswordCredential>
[<CommonParameters>]
Adds a strong password to an application.
PS C:\>New-AzureADMSApplicationPassword -ObjectId 14a3f1ac-46a7-4d00-b1ca-0b2b84f033c2 -PasswordCredential @{ displayname = "mypassword" }
CustomKeyIdentifier :
EndDateTime : 10/28/2021 3:57:37 PM
DisplayName :
KeyId : 024c4c6e-87c3-4473-8e36-650f16bb730d
StartDateTime : 10/28/2019 3:57:37 PM
SecretText : EQ:A-s45?Rt9/3Bp?7]-7__IO]3AG09E
Hint : EQ:
This command adds a password to the specified application.
The unique identifier of the object specific Azure Active Directory object
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
Represents a password credential associated with an application or a service principal.
Type: PasswordCredential
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.