Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 1.09 KB

Get-CIPPAuditLogTest.md

File metadata and controls

28 lines (24 loc) · 1.09 KB

Get-CIPPAuditLogTest

SYNOPSIS

Retrieves audit logs for a specified customer tenant.

DESCRIPTION

The Get-CIPPAuditLogTest function retrieves audit logs for a specified customer tenant based on the log type.

PARAMETERS

-CustomerTenantId

Foo Foo
Specifies the ID of the customer tenant for which to retrieve audit logs.

-LogType

Foo Foo
Specifies the type of audit logs to retrieve. Valid values are 'Audit.Exchange' and 'Audit.AzureActiveDirectory'.

EXAMPLE 1

PS > Get-CIPPAuditLogTest -CustomerTenantId "7ced1621-b8f7-4231-868c-bc6b1a2f1778" -LogType "Audit.Exchange"

EXAMPLE 2

PS > Get-CIPPAuditLogTest -CustomerTenantId "7ced1621-b8f7-4231-868c-bc6b1a2f1778" -LogType "Audit.AzureActiveDirectory"

EXAMPLE 3

PS > Get-CIPPAuditLogTest -CustomerTenantId "test.onmicrosoft.com" -LogType "Audit.Exchange"