Remove-EntraBetaPasswordSingleSignOnCredential
Removes the password Single-Sign-On (SSO) credentials.
Syntax
Default (Default)
Remove-EntraBetaPasswordSingleSignOnCredential
-ServicePrincipalId <String>
-PasswordSSOObjectId <PasswordSSOObjectId>
[<CommonParameters>]
Description
This cmdlet enables users to remove their Password Single-Sign-On credentials for an application that they're part of. Specify ServicePrincipalId and PasswordSSOCredential parameters to remove specific SSO credentials.
Admin could remove the group credentials as well.
Examples
Example 1: Remove password single-sign-on credentials
Connect-Entra -Scopes 'Application.ReadWrite.All', 'Directory.ReadWrite.All'
$servicePrincipal = Get-EntraBetaservicePrincipal -SearchString '<service-principal-name>'
Remove-EntraBetaPasswordSingleSignOnCredential -ServicePrincipalId $servicePrincipal.Id -PasswordSSOCredential 'bbbbbbbb-1111-2222-3333-cccccccccccc'
This example removes the password SSO credentials for the given ServicePrincipalId and PasswordSSOObjectId.
-PasswordSSOObjectIdparameter specifies the User or Group ID.-ServicePrincipalIdparameter specifies the object ID of a service principal.
Parameters
-PasswordSSOObjectId
User or group ID.
Parameter properties
| Type: | System.PasswordSSOObjectId |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | True |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
-ServicePrincipalId
The unique identifier of the object specific Microsoft Entra ID 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 |
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.