Retrieves a list of excluded tenants.
The Get-CIPPExcludedTenants function retrieves a list of excluded tenants from CIPP. It can retrieve all tenants or only the ones that are currently excluded.
Specifies whether to retrieve all tenants or only the ones that are currently excluded. By default, it retrieves only the excluded tenants.
PS > Get-CIPPExcludedTenants
PS > Get-CIPPExcludedTenants -ListAll