Convert-MsolFederatedUser

Updates a user in a domain that was recently converted from single sign-on.

Syntax

Convert-MsolFederatedUser [-NewPassword <String>] [-TenantId <Guid>] -UserPrincipalName <String>
 [<CommonParameters>]

Description

The Convert-MsolFederatedUser cmdlet updates a user in a domain that was recently converted from single sign-on to standard authentication type.
Single sign-on is also known as identity federation.
A new password must be provided for the user.

Examples

Example 1: Convert a federated user

PS C:\> Convert-MsolFederatedUser -UserPrincipalName "pattifuller@contoso.com"
This command converts a federated user into a standard user.

Parameters

-NewPassword

Specifies the new password of the user.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)

-TenantId

Specifies the unique ID of the tenant on which to perform the operation.
The default value is the tenant of the current user.
This parameter applies only to partner users.

Type:Guid
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)

-UserPrincipalName

Specifies the Azure Active Directory user ID for the user to convert.

Type:String
Required:True
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)