Good morning:
I am trying to do a mail deletion using the following command:
New-ComplianceSearchAction -SearchName "+++++" -Purge -PurgeType HardDelete
and when I run it I get the following message:
A parameter cannot be found that matches parameter name 'Purge'.
- CategoryInfo : InvalidArgument: (:) [New-ComplianceSearchAction], ParameterBindingException
- FullyQualifiedErrorId : NamedParameterNotFound,New-ComplianceSearchAction
- PSComputerName : eur01b.ps.compliance.protection.outlook.com
I have checked permissions and my user is inside the Organization Manager group in exchange.
The truth is that I don't know what else to look at, I don't know if I'm missing some kind of permissions, it's a problem of the command or the module.
Is there anyone who had the same problem and solved it?
Thanks