Skip to content

Latest commit

 

History

History
58 lines (44 loc) · 3.28 KB

Get-CIPPGraphRequest.md

File metadata and controls

58 lines (44 loc) · 3.28 KB

Get-CIPPGraphRequest

SYNOPSIS

Retrieves graph data from a specified endpoint for a given tenant.

DESCRIPTION

The Get-CIPPGraphRequest function queries a specified Graph endpoint for a specific tenant and retrieves the graph data. It supports various optional parameters for customization.

PARAMETERS

-CustomerTenantId

Foo Foo
Specifies the ID of the customer tenant for which the graph data is requested. This parameter is mandatory.

-GraphEndPoint

Foo Foo
Specifies the endpoint URL of the Graph API. This parameter is mandatory.

-count

Foo Foo Foo
Specifies whether to include the count of items in the response. This parameter is optional.

-Select

Foo Foo
Specifies the properties to include in the response. This parameter is optional.

-DisablePagination

Foo Foo Foo
Specifies whether to disable pagination in the response. This parameter is optional.

-Top

Foo Foo
Specifies the maximum number of items to include in the response. This parameter is optional.

-Format

Foo Foo
Specifies the format of the response. This parameter is optional.

-Filter

Foo Foo
Specifies the filter to apply to the response. This parameter is optional.

-Expand

Foo Foo
Specifies the properties to expand in the response. This parameter is optional.

-Search

Foo Foo
Specifies the search query to apply to the response. This parameter is optional.

-ReverseTenantLookupProperty

Foo Foo
Specifies the property to use for reverse tenant lookup. This parameter is optional.

EXAMPLE 1

PS > Get-CIPPGraphRequest -CustomerTenantId "contoso.onmicrosoft.com" -GraphEndPoint "users" -Select "displayName,mail" -DisablePagination $true -Top 10

Retrieves graph data from the specified endpoint for the tenant with ID "contoso.onmicrosoft.com". The response includes only the "displayName" and "mail" properties, disables pagination, and includes a maximum of 10 items in the response.