New-AzureADMSApplicationPassword

アプリケーションに強力なパスワードを追加します。

構文

New-AzureADMSApplicationPassword
   -ObjectId <String>
   -PasswordCredential <PasswordCredential>
   [<CommonParameters>]

説明

アプリケーションに強力なパスワードを追加します。

例 1: アプリケーションにパスワードを追加する

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:

このコマンドは、指定したアプリケーションにパスワードを追加します。

パラメーター

-ObjectId

オブジェクト固有の Azure Active Directory オブジェクトの一意識別子

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-PasswordCredential

アプリケーションまたはサービス プリンシパルに関連付けられているパスワード資格情報を表します。

Type:PasswordCredential
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

入力

string

Microsoft.Open.MSGraph.Model.PasswordCredential

出力

Microsoft.Open.MSGraph.Model.PasswordCredential