Get/Set-PhishFilterPolicy will be soon replaced with Tenant Allow Block list
Hi All,
Recently there was an Annoucement in the M365 Message Center that announced the depreciation of the Get/Set-PhishFilterPolicy.
Move to the new Commands
- Get-TenantAllowBlockListSpoofItems
- New-TenantAllowBlockListSpoofItems
- Set-TenantAllowBlockListSpoofItems
- Remove-TenantAllowBlockListSpoofItems
![](https://icewolffile.blob.core.windows.net/$web/202202/Retirement_GetSet_PhishFilterPolicy_01.jpg)
The Get-PhishFilterPolicy will soon be depreciated
Get-PhishFilterPolicy | ft Sender, SpoofedUser, NumberOfMessages, DecisionSetBy, AllowedToSpoof, SpoofType
![](https://icewolffile.blob.core.windows.net/$web/202202/Retirement_GetSet_PhishFilterPolicy_02.jpg)
To see only the entrys, that are allowed to Spoof
Get-PhishFilterPolicy | where {$_.AllowedToSpoof -eq "Yes"} | ft Sender, SpoofedUser, NumberOfMessages, DecisionSetBy, AllowedToSpoof, SpoofType
![](https://icewolffile.blob.core.windows.net/$web/202202/Retirement_GetSet_PhishFilterPolicy_03.jpg)
Instead use this Command now
Get-TenantAllowBlockListSpoofItems | ft SpoofedUser, SendingInfrastructure, SpoofType, Action
![](https://icewolffile.blob.core.windows.net/$web/202202/Retirement_GetSet_PhishFilterPolicy_04.jpg)
To add a new Entry use this Command
New-TenantAllowBlockListSpoofItems
New-TenantAllowBlockListSpoofItems -SendingInfrastructure tcgms.net -SpoofedUser sorellhotels.com -SpoofType External -Action Block -Identity icewolf.ch\Default
Get-TenantAllowBlockListSpoofItems | ft SpoofedUser, SendingInfrastructure, SpoofType, Action
![](https://icewolffile.blob.core.windows.net/$web/202202/Retirement_GetSet_PhishFilterPolicy_05.jpg)
If you prefer the GUI use this URL https://security.microsoft.com/tenantAllowBlockList?viewid=SpoofItem
![](https://icewolffile.blob.core.windows.net/$web/202202/Retirement_GetSet_PhishFilterPolicy_06.jpg)
![](https://icewolffile.blob.core.windows.net/$web/202202/Retirement_GetSet_PhishFilterPolicy_07.jpg)
Regards
Andres Bohren
![](https://icewolffile.blob.core.windows.net/$web/logos/Exchange_logo.png)