Quantcast
Channel: Exchange Server 2013 - Administration, Monitoring, and Performance forum
Viewing all articles
Browse latest Browse all 9032

How do I reset full access permissions for a specific account on all mailboxes in a specific Exchange database?

$
0
0

I am in the midst of a email migration and I needed to give send-as permissions to a service account for all mailboxes in a specific exchange database. I ran the below command:

Get-mailboxdatabase "dbname"| Add-ADPermission -User xx\serviceaccount -ExtendedRights Send-As

This appaerntly broke something with mailbox full access permissions for the service account as it can nolonger logon to the mailboxes on the database I ran this against. I tried running the command but it doesn't reset the permissions:

Get-mailboxdatabase "dbname"|Add-ADPermission -User xx\serviceaccount –AccessRights GenericAll -ExtendedRights Send-As,Receive-As

If I manually remove and re-add permssions in EMC on an individual mailbox, it works fine. I was gong to run the following command but I'm not sure what the results will be:

get-mailboxdatabase "dbname" | get-mailbox | add-mailboxpermission -user xx\serviceaccount  -accessrights fullaccess -inheritancetype all

Any help will be greatly appreciated

Drdra11


Viewing all articles
Browse latest Browse all 9032

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>