New-AzureADMSApplicationPassword
Adds a strong password to an application.
Syntax
Default (Default)
New-AzureADMSApplicationPassword
-ObjectId <String>
-PasswordCredential <PasswordCredential>
[<CommonParameters>]
Description
Adds a strong password to an application.
Examples
Example 1: Add a password to an application
PS C:\>New-AzureADMSApplicationPassword -ObjectId aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb -PasswordCredential @{ displayname = "mypassword" }
CustomKeyIdentifier :
EndDateTime : 10/28/2021 3:57:37 PM
DisplayName :
KeyId : aaaaaaaa-0b0b-1c1c-2d2d-333333333333
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.
Parameters
-ObjectId
The unique identifier of the object specific Azure Active Directory object
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-PasswordCredential
Represents a password credential associated with an application or a service principal.
Parameter properties
Type: | PasswordCredential |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.