No one has responded to this discussion for at least a year, so this information may be out of date. If you're looking for information about this topic, please search for a more recent discussion or post a new question.

Can't remove manager from DL in EMS

  • 7 Replies |
  • This post has 1 verified answer |
Answered (Verified) This question is answered

One of our users is manager for many DLs and I need to remove her. I tried to do that with the Subtraction method:

$mydl = Get-DistributionGroup website
$mydl.managedby Exchange Hosted Organizations/ Exchange Hosted Organizations/
$mydl.managedby -= " Exchange Hosted Organizations/"

Method invocation failed because [System.Collections.ArrayList] doesn't contain a method named 'op_Subtraction'.
At line:1 char:19
+ $mydl.managedby -= <<<< " Exchange Hosted Organizations/"
+ CategoryInfo : InvalidOperation: (op_Subtraction:String) [], RuntimeException
+ FullyQualifiedErrorId : MethodNotFound


This works in on-premises Exchange 2010 SP2 environments but not in Exchange Online. Could this be an RBAC issue maybe? Can someone recommend a workaround maybe?

  • Post Points: 20
Verified Answer
All Replies
Page 1 of 1 (8 items)