You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -16,6 +18,12 @@ function Invoke-CippGraphWebhookRenewal {
16
18
foreach ($UpdateSubin$WebhookData) {
17
19
try {
18
20
$TenantFilter=$UpdateSub.PartitionKey
21
+
if ($Tenants.defaultDomainName-notcontains$TenantFilter-and$Tenants.customerId-notcontains$TenantFilter) {
22
+
Write-LogMessage-API 'Renew_Graph_Subscriptions'-message "Removing Subscription Renewal for $($UpdateSub.SubscriptionID) as tenant $TenantFilter is not in the tenant list."-Sev 'Warning'-tenant $TenantFilter
0 commit comments