Convert-MsolFederatedUser

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

Syntax

Convert-MsolFederatedUser
       -UserPrincipalName <String>
       [-NewPassword <String>]
       [-TenantId <Guid>]
       [<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 "[email protected]"

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
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-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
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-UserPrincipalName

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

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