Remove-SPOExternalUser

Removes a collection of external users from the tenancy's folder.

Syntax

Remove-SPOExternalUser
      [-Confirm]
      -UniqueIDs <String[]>
      [-WhatIf]
      [<CommonParameters>]

Description

The Remove-SPOExternalUser cmdlet permanently removes a collection of external users from the tenancy's folder.

Users who are removed lose access to all tenant resources.

For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at http://go.microsoft.com/fwlink/p/?LinkId=251832 (http://go.microsoft.com/fwlink/p/?LinkId=251832).

Examples

-----------------------EXAMPLE-----------------------------

PS C:\> {{ Add example code here }}

{{ Add example description here }}

Required Parameters

-UniqueIDs

{{Fill UniqueIDs Description}}

Type:String[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online