troubleshooting Question

Exchange Powershell question

Avatar of NOC123
NOC123 asked on
PowershellExchange
3 Comments1 Solution82 ViewsLast Modified:
So I'm trying to clean up permissions on the mailbox of one of our former employee, John Smith.  There's an SID listed as having "Send As" permissions to his mailbox that I'm trying to remove.  The command should be:

Remove-ADPermission -Identity "jsmith@domain.com" -User "S-0-0-00-0000000000-000000000000000000-0000" -ExtendedRights "Send As"

But that gives me a " 'jsmith@domain.com' wasn't found" error, as does any other variant of his identity (jsmith, 'smith, john', etc.).  His mailbox isn't hidden.  Any suggestions?
ASKER CERTIFIED SOLUTION
Paul MacDonald
Director, Information Systems

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros