We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb3ecd3 commit 97a5702Copy full SHA for 97a5702
Modules/CIPPCore/Public/GraphHelper/New-ExoRequest.ps1
@@ -62,7 +62,11 @@ function New-ExoRequest {
62
}
63
64
if (!$Anchor) {
65
- $anchor = "APP:SystemMailbox{bb558c35-97f1-4cb9-8ff7-d53741dc928c}@$($tenant.customerId)"
+ $MailboxGuid = 'bb558c35-97f1-4cb9-8ff7-d53741dc928c'
66
+ if ($cmdlet -in 'Set-AdminAuditLogConfig') {
67
+ $MailboxGuid = '8cc370d3-822a-4ab8-a926-bb94bd0641a9'
68
+ }
69
+ $anchor = "APP:SystemMailbox{$MailboxGuid}@$($tenant.customerId)"
70
71
#if the anchor is a GUID, try looking up the user.
72
if ($Anchor -match '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$') {
0 commit comments