Update-UserType

指定したユーザーの UserType 値を Azure AD から更新します。

構文

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

説明

このコマンドレットは、指定したユーザーの UserType 値を取得し、Office 365 テナント内のすべての SharePoint Online サイトで UserType を更新します。 これは、たとえば、ユーザーの UserType が Azure AD で以前に更新された場合に、ゲスト ユーザーを標準 (メンバー) ユーザーに変換するために使用できます。

例 1

Update-UserType -LoginName jdoe@contoso.com

Azure AD の jdoe@contoso.comUserType 値に基づいて、テナント内のすべての SharePoint Online サイトで 's UserType を更新します。

パラメーター

-LoginName

SharePoint Online 全体で更新する対象ユーザーのログイン名。

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online

入力

None

出力

System.Object