Error “The property keyword isn’t supported” in Search-Mailbox

You may receive error message “The property keyword isn’t supported” when run cmdlet below to delete mail content from user mailbox’s.

If you see in cmdlet in above screen, I have done search query based on Subject :”FW: Full BAckups Report.” which is an forwarded message by other mailbox. in Serach-mailbox cmdlet search scope is very restricitive and can be use with very care. In above cmdlet if i remove part “FW:” then it works. So you need to make sure valid search query if you see this error in search-mailbox.

Exchange Search keywords

Property Example Search results
Attachments attachment:annualreport.pptx Messages that have an attachment named annualreport.pptx. The use of attachment:annualreport or attachment:annual* returns the same results as using the full name of the attachment.
Cc cc:paul Messages with Paul Shen in the Cc field.
From from:bharat Messages sent by Bharat Suneja.
Keywords in retention policy retentionpolicy:business critical Messages that have the Business Critical retention tag applied.
Date when messages expire according to policy expires:4/1/2010 Messages that expire on April 1, 2010.
Sent sent:yesterday All messages sent yesterday.
Subject Subject:”patent filing” All messages where the phrase “patent filing” appears in the Subject field.
To to:”ben smith” Messages that have Ben Smith in the To field.

You have to be assigned the following roles to search for and delete messages in users’ mailboxes which is notassisgn by default to any security role group:

  • Mailbox Search   This role allows you to search for messages across multiple mailboxes in your organisation. Administrators aren’t assigned this role by default. To search multiple mailboxes, add yourself as a member of the Discovery Management role group.
  • Mailbox Import Export   This role allows you to delete messages from a user’s mailbox. This role isn’t assigned to administrators by default. To delete messages from users’ mailboxes, add the Mailbox Import Export role to the Organisation Management role group.

3 thoughts on “Error “The property keyword isn’t supported” in Search-Mailbox

Add yours

  1. Exchange 2010 SP2 This worked no errors:
    Use any identifer to get the mailbox group you want: Get-Mailbox -resultsize unlimited or -idenity or whatever..,
    get-mailbox -OrganizationalUnit “Cheese.dom/SpecialAccess/Awsome/Users” | Search-Mailbox -SearchQuery subject:’Party in the Office’,from:’Bob@Cheese.dom’ -DeleteContent
    Good luck

  2. Do not know why but property keywords are localized: for example in a localized IT-it system -SearchQuery subject:xxx became -SearchQuery oggetto:xxx

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at

Up ↑

Eine Tolle Reise

Here, you all will come to know about me, about my life and of course some common issues these days!!

Office 365 for IT Pros

The only always up-to-date eBook about the Microsoft 365 cloud Office system, covering Exchange Online, SharePoint Online, OneDrive for Business, Microsoft Teams, Planner, Azure Active Directory, and more

Chirag Patel MVP MCT

Microsoft 365 Specialist

All about Microsoft 365 & Teams

lEt's eNaBle MoDeRn WoRkPlAcE ! News

The latest news on and the WordPress community.

%d bloggers like this: