Edit

Share via


New-EntraApplicationPassword

Adds a strong password to an application.

Syntax

Default (Default)

New-EntraApplicationPassword

    -ApplicationId <String>
    -PasswordCredential <PasswordCredential>
    [<CommonParameters>]

Description

Adds a strong password to an application.

Parameters

-ApplicationId

The unique identifier of the application object.

Parameter properties

Type:System.String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:ObjectId

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.

Inputs

String

Microsoft.Open.MSGraph.Model.PasswordCredential