Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 1.21 KB

Get-CIPPTenants.md

File metadata and controls

24 lines (19 loc) · 1.21 KB

Get-CIPPTenants

SYNOPSIS

Retrieves a list of CIPP tenants.

DESCRIPTION

The Get-CIPPTenants function retrieves a list of CIPP tenants based on the specified parameters. It makes a REST API call to the "/api/listtenants" endpoint and returns the result.

PARAMETERS

-CustomerTenantID

Foo Foo
Specifies the ID of the customer tenant. This parameter is optional.

-ClearCache

Foo Foo Foo
Indicates whether to clear the cache before retrieving the tenants. This parameter is optional.

-TriggerRefresh

Foo Foo Foo
Indicates whether to trigger a refresh before retrieving the tenants. This parameter is optional.

EXAMPLE 1

PS > Get-CIPPTenants -CustomerTenantID "contoso.onmicrosoft.com" -ClearCache