Skip to content

Latest commit

 

History

History
87 lines (64 loc) · 2.12 KB

New-AzureADMSApplicationPassword.md

File metadata and controls

87 lines (64 loc) · 2.12 KB
external help file Module Name online version schema
Microsoft.Open.MS.GraphV10.PowerShell.dll-Help.xml
AzureAD
2.0.0

New-AzureADMSApplicationPassword

SYNOPSIS

Adds a strong password to an application.

SYNTAX

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 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.

PARAMETERS

-ObjectId

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

-PasswordCredential

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

string

Microsoft.Open.MSGraph.Model.PasswordCredential

OUTPUTS

Microsoft.Open.MSGraph.Model.PasswordCredential

NOTES

RELATED LINKS

Remove-AzureADMSApplicationPassword