Hello.
If i try to remove Send As permissions from mailboxes i get following error with the gui:
Error:
A parameter cannot be found that matches parameter name 'InheritanceType'.
Exchange Management Shell command attempted:
Remove-ADPermission -Identity 'XXX' -User 'XXX' -InheritanceType 'All' -ExtendedRights 'send-as' -ChildObjectTypes $null -InheritedObjectType $null -Properties $null
Same with powershell:
Remove-ADPermission -Identity XYZ -User ABC -inheritancetype 'all' -ExtendedRights 'send-as'
A positional parameter cannot be found that accepts argument '-inheritancetype'.
+ CategoryInfo : InvalidArgument: (:) [Remove-ADPermission], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Remove-ADPermission
but
Remove-ADPermission -Identity XYZ -User ABC -ExtendedRights 'send-as'work flawlessly.
Any ideas?