external help file | Module Name | online version | schema |
---|---|---|---|
Microsoft.Open.MS.GraphBeta.PowerShell.dll-Help.xml |
AzureADPreview |
2.0.0 |
Creates the password SSO credentials
New-AzureADMSPasswordSingleSignOnCredential -ObjectId <String> -PasswordSSOCredential <PasswordSSOCredentials>
[<CommonParameters>]
This cmdlet enables users to create their Password Single-sign-on credentials for an application which they are part of. Admin could create the group credentials as well.
PS C:\> $credentials = New-Object -TypeName Microsoft.Open.MSGraph.Model.PasswordSSOCredentials
PS C:\> $credentials.Id = "a4210a97-5e26-4cfe-88f1-118ed4886f27"
PS C:\> $creds1 = [Microsoft.Open.MSGraph.Model.PasswordSSOCredential]@{FieldId="param_1"; Value="foobar@ms.com"; Type="text"}
PS C:\> $creds2 = [Microsoft.Open.MSGraph.Model.PasswordSSOCredential]@{FieldId="param_2"; Value="my-secret"; Type="password"}
PS C:\> $credentials.Credentials = @($creds1, $creds2)
PS C:\> $new_creds_output = New-AzureADMSPasswordSingleSignOnCredential -ObjectId 9ac9883e-0ac5-4c32-8737-4267f56a28cc -PasswordSSOCredential $credentials
This command creates the password sso credentials for the given ObjectId and PasswordSSOObjectId.
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
User or group id
Type: PasswordSSOCredentials
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
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.