Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 1.68 KB

File metadata and controls

29 lines (24 loc) · 1.68 KB

Set-CIPPExcludeTenant

SYNOPSIS

Sets the exclusion status for a customer tenant in the CIPP system.

DESCRIPTION

The Set-CIPPExcludeTenant function is used to add or remove a customer tenant from the exclusion list in the CIPP system. Exclusion means that the tenant will be excluded from certain operations or processes in the system.

PARAMETERS

-CustomerTenantID

Foo Foo
Specifies the ID of the customer tenant. If you are adding a tenant, this needs to be their default domain (contoso.onmicrosoft.com), if you are excluding a tenant this needs to be the tenant ID Guid (1fefeb73-0947-4803-a720-92be0e9a7d8e)

-AddExclusion

Foo Foo Foo
Indicates whether to add the customer tenant to the exclusion list. This switch cannot be used together with the RemoveExclusion switch.

-RemoveExclusion

Foo Foo Foo
Indicates whether to remove the customer tenant from the exclusion list. This switch cannot be used together with the AddExclusion switch.

EXAMPLE 1

PS > Set-CIPPExcludeTenant -CustomerTenantID "1fefeb73-0947-4803-a720-92be0e9a7d8e" -AddExclusion

EXAMPLE 2

PS > Set-CIPPExcludeTenant -CustomerTenantID "contoso.onmicrosoft.com" -RemoveExclusion