File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Modules/CIPPCore/Public/Standards Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ function Invoke-CIPPStandardAuditLog {
4343 $DehydratedTenant = (New-ExoRequest - tenantid $Tenant - cmdlet ' Get-OrganizationConfig' - Select IsDehydrated).IsDehydrated
4444 if ($DehydratedTenant -eq $true ) {
4545 try {
46- $null = New-ExoRequest - tenantid $Tenant - cmdlet ' Enable-OrganizationCustomization' - useSystemMailbox $true
46+ $null = New-ExoRequest - tenantid $Tenant - cmdlet ' Enable-OrganizationCustomization'
4747 Write-LogMessage - API ' Standards' - tenant $Tenant - message ' Organization customization enabled.' - sev Info
4848 } catch {
4949 $ErrorMessage = Get-CippException - Exception $_
@@ -55,7 +55,7 @@ function Invoke-CIPPStandardAuditLog {
5555 if ($AuditLogEnabled -eq $true ) {
5656 Write-LogMessage - API ' Standards' - tenant $Tenant - message ' Unified Audit Log already enabled.' - sev Info
5757 } else {
58- $null = New-ExoRequest - tenantid $Tenant - cmdlet ' Set-AdminAuditLogConfig' - cmdParams @ {UnifiedAuditLogIngestionEnabled = $true } - useSystemMailbox $true
58+ $null = New-ExoRequest - tenantid $Tenant - cmdlet ' Set-AdminAuditLogConfig' - cmdParams @ {UnifiedAuditLogIngestionEnabled = $true }
5959 Write-LogMessage - API ' Standards' - tenant $Tenant - message ' Unified Audit Log Enabled.' - sev Info
6060 }
6161
You can’t perform that action at this time.
0 commit comments