Skip to content

Latest commit

 

History

History
80 lines (60 loc) · 2.32 KB

New-AzureADMSPasswordSingleSignOnCredential.md

File metadata and controls

80 lines (60 loc) · 2.32 KB
external help file Module Name online version schema
Microsoft.Open.MS.GraphBeta.PowerShell.dll-Help.xml
AzureADPreview
2.0.0

New-AzureADMSPasswordSingleSignOnCredential

SYNOPSIS

Creates the password SSO credentials

SYNTAX

New-AzureADMSPasswordSingleSignOnCredential -ObjectId <String> -PasswordSSOCredential <PasswordSSOCredentials>
 [<CommonParameters>]

DESCRIPTION

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.

EXAMPLES

New password single-sign-on credentials

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.

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

-PasswordSSOCredential

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

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

OUTPUTS

Microsoft.Online.Administration.PasswordSSOCredentials

NOTES

RELATED LINKS