diff --git a/Modules/Microsoft365DSC/Examples/Resources/EXOAntiPhishRule/1-Create.ps1 b/Modules/Microsoft365DSC/Examples/Resources/EXOAntiPhishRule/1-Create.ps1 index 74b5fc789a..317e746288 100644 --- a/Modules/Microsoft365DSC/Examples/Resources/EXOAntiPhishRule/1-Create.ps1 +++ b/Modules/Microsoft365DSC/Examples/Resources/EXOAntiPhishRule/1-Create.ps1 @@ -26,7 +26,7 @@ Configuration Example AntiPhishPolicy = "Our Rule" RecipientDomainIs = $null Enabled = $True - SentToMemberOf = @("executives@c$Domain") + SentToMemberOf = @("executives@$Domain") Priority = 1 Ensure = "Present" Credential = $Credscredential diff --git a/Modules/Microsoft365DSC/Examples/Resources/EXOAntiPhishRule/2-Update.ps1 b/Modules/Microsoft365DSC/Examples/Resources/EXOAntiPhishRule/2-Update.ps1 index 65d4cb37d8..b9ecd4cb39 100644 --- a/Modules/Microsoft365DSC/Examples/Resources/EXOAntiPhishRule/2-Update.ps1 +++ b/Modules/Microsoft365DSC/Examples/Resources/EXOAntiPhishRule/2-Update.ps1 @@ -26,7 +26,7 @@ Configuration Example AntiPhishPolicy = "Our Rule" RecipientDomainIs = $null Enabled = $True - SentToMemberOf = @("executives@c$Domain") + SentToMemberOf = @("executives@$Domain") Priority = 2 # Updated Property Ensure = "Present" Credential = $Credscredential