Retrieves graph data from a specified endpoint for a given tenant.
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.
Specifies the ID of the customer tenant for which the graph data is requested. This parameter is mandatory.
Specifies the endpoint URL of the Graph API. This parameter is mandatory.
Specifies whether to include the count of items in the response. This parameter is optional.
Specifies the properties to include in the response. This parameter is optional.
Specifies whether to disable pagination in the response. This parameter is optional.
Specifies the maximum number of items to include in the response. This parameter is optional.
Specifies the format of the response. This parameter is optional.
Specifies the filter to apply to the response. This parameter is optional.
Specifies the properties to expand in the response. This parameter is optional.
Specifies the search query to apply to the response. This parameter is optional.
Specifies the property to use for reverse tenant lookup. This parameter is optional.
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.