Skip to content

Latest commit

 

History

History
74 lines (49 loc) · 1.86 KB

File metadata and controls

74 lines (49 loc) · 1.86 KB
external help file Module Name online version applicable title schema author ms.author ms.reviewer
sharepointonline.xml
Microsoft.Online.SharePoint.PowerShell
SharePoint Online
Update-UserType
2.0.0
techwriter40
pamgreen

Update-UserType

SYNOPSIS

Updates the specified user's UserType value from Microsoft Entra ID.

SYNTAX

Update-UserType [-LoginName] <String> [<CommonParameters>]

DESCRIPTION

This cmdlet retrieves the UserType value of the specified user and updates the UserType across all SharePoint Online sites in the Office 365 tenant. This can be used, for example, to convert a Guest user to a standard (Member) user if the user's UserType was previously updated in Microsoft Entra ID.

EXAMPLES

Example 1

Update-UserType -LoginName jdoe@contoso.com

Updates the jdoe@contoso.com's UserType on all SharePoint Online sites in the tenant based on the UserType value in Microsoft Entra ID.

PARAMETERS

-LoginName

The login name of the target user to update across SharePoint Online.

Type: String
Parameter Sets: (All)
Aliases:
Applicable: SharePoint Online

Required: True
Position: 1
Default value: None
Accept pipeline input: False
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

None

OUTPUTS

System.Object

NOTES

RELATED LINKS

Properties of a Microsoft Entra B2B collaboration user