We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
created the next script for AntiPhishing policy but after i import the policy it don't set it on default.
Can some one look what i'm doing wrong or maybe a bug?
EXOAntiPhishPolicy 4cbf5b17-42db-42df-b9a4-752a4bd57990 { AdminDisplayName = ""; AuthenticationFailAction = "Quarantine"; Credential = $Credscredential; Enabled = $True; EnableFirstContactSafetyTips = $True; EnableMailboxIntelligence = $True; EnableMailboxIntelligenceProtection = $False; EnableOrganizationDomainsProtection = $null; EnableSimilarDomainsSafetyTips = $True; EnableSimilarUsersSafetyTips = $False; EnableSpoofIntelligence = $True; EnableTargetedDomainsProtection = $False; EnableTargetedUserProtection = $False; EnableUnauthenticatedSender = $True; EnableUnusualCharactersSafetyTips = $True; EnableViaTag = $True; Ensure = "Present"; ExcludedDomains = @(); ExcludedSenders = @(); Identity = "Office365 AntiPhish Default"; MakeDefault = $True; ImpersonationProtectionState = "Automatic"; MailboxIntelligenceProtectionAction = "NoAction"; MailboxIntelligenceProtectionActionRecipients = @(); PhishThresholdLevel = 1; TargetedDomainActionRecipients = @(); TargetedDomainProtectionAction = "Quarantine"; TargetedDomainsToProtect = @(); TargetedUserActionRecipients = @(); TargetedUserProtectionAction = "NoAction"; TargetedUsersToProtect = @();
Solved with a workaround but when i check the example it's should be correct.
workaround:
$Credscredential = Get-Credential -Message "Credentials" Import-Module ExchangeOnlineManagement Connect-ExchangeOnline -Credential $Credential Set-AntiPhishPolicy -Identity "Office365 AntiPhish Default" -MakeDefault
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Hello,
created the next script for AntiPhishing policy but after i import the policy it don't set it on default.
Can some one look what i'm doing wrong or maybe a bug?
Solved with a workaround but when i check the example it's should be correct.
workaround:
The text was updated successfully, but these errors were encountered: