Opposite of GrantSendOnBehalfTo?
How does one reverse the effect of GrantSendOnBehalfTo? I don't see aRemove-GSOBT or a Revoke or a "-False" or any way to take away a send-on-behalf-of permission...But there's gotta be one, right, and there's a doc that covers it I'm sure! :-)Could someone point me to that doc? I'd be very grateful!TIA!-=- mf
February 24th, 2009 10:20am

Hi MF,Set it to $Null..Set-Mailbox "UserName" -GrantSendOnBehalfTo $NullAmit Tank | MVP - Exchange | MCITP:EMA MCSA:M | http://ExchangeShare.WordPress.com
Free Windows Admin Tool Kit Click here and download it now
February 24th, 2009 11:02am

Thanks for that rapid reply!Seems simple enough! Does this remove -all- send-as perms for user "UserName"?If so, is there a way to remove a specific perm?Example:Set-DistributionGroup -Identity "GroupA" -GrantSendOnBehalfTo JoeSmithSet-DistributionGroup -Identity "GroupB" -GrantSendOnBehalfTo JoeSmithnow I only want to remove send-as for GroupB... any way to do this? or just do the PowerShell you suggest and re-add the "send-ases" we need?Thanks much!-=- mf
February 24th, 2009 2:11pm

Hi MF, If you wanna remove JoeSmiths send as permission of group B, run following cmdlet: Set-DistributionGroup -Identity "GroupB" -GrantSendOnBehalfTo $Null JoeSmith still have permission to send as GroupA. Set-DistributionGroup http://technet.microsoft.com/en-us/library/bb124955.aspx Thanks, Elvis
Free Windows Admin Tool Kit Click here and download it now
February 25th, 2009 1:46am

Doesn't help much if both JoeSmith and DebWilson BOTH have these rights on the group. And while you can use the following: Set-DistributionGroup "GroupB" -GrantSendOnBehalfTo "DebWilson" To retain Deb's permissions, what if we have many users like this? Well, to solve this dilemna, use the following: $DLSendBehalf = (Get-DistributionGroup -Identity "GroupB").GrantSendOnBehalfTo $DLSendBehalf.Remove("JoeSmith") Set-DistributionGroup -Identity "GroupB" -GrantSendOnBehalfTo $DLSendBehalf This code ensures that JoeSmith and ONLY JoeSmith is removed from being able to send on behalf of this distribution list. HTH ... Will Martin
June 29th, 2012 8:44am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics