Announcement

Collapse
No announcement yet.

Setting permission for a mailbox database

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Setting permission for a mailbox database

    I would like to set a user to have the Send as and Receive as permissions for all mailboxes of an Exchange 2007 mailbox database.
    How can it be done?

    I appreciate any help.
    Regards,
    Csaba Papp
    MCSA+messaging, MCSE, CCNA
    ...............................
    Remember to give credit where credit is due and leave reputation points where appropriate
    .................................

  • #2
    Re: Setting permission for a mailbox database

    Exchange Management Console of course.


    Add-ADPermission -Identity "Mailbox Store" -User "Trusted User" -ExtendedRights Send-As


    Simon.
    --
    Simon Butler
    Exchange MVP

    Blog: http://blog.sembee.co.uk/
    More Exchange Content: http://exchange.sembee.info/
    Exchange Resources List: http://exbpa.com/
    In the UK? Hire me: http://www.sembee.co.uk/

    Sembee is a registered trademark, used here with permission.

    Comment


    • #3
      Re: Setting permission for a mailbox database

      Sembee,

      Thank you for the answer. Unfortunatelly running the
      Add-ADPermission -Identity "Mailbox Store" -User "Trusted User" -ExtendedRights Send-As command from the Echange management shell didn't work.
      I got the Add-ADPermission : "mailbox Identity" was not found. Please make sure you have typed it correctly.
      It seems that the command expects mailbox idntity and not mailbox store.

      I solved the issue using ADSI Edit and assigning "Send As" permission to my mailbox store object.

      http://forums.microsoft.com/TechNet/...6425&SiteID=17
      Regards,
      Csaba Papp
      MCSA+messaging, MCSE, CCNA
      ...............................
      Remember to give credit where credit is due and leave reputation points where appropriate
      .................................

      Comment


      • #4
        Re: Setting permission for a mailbox database

        You did change the settings in my command to match your environment?
        The command does work for Mailbox Store as well mailboxes, you just have to get the formatting of the identity 100% correct.

        This command works, which does the same thing, but for all mailbox stores:

        Get-mailboxdatabase | Add-ADPermission -User "Trusted User" -ExtendedRights Send-As

        The adsiedit.msc method is a horrible clunky way of doing it.
        Remember to change "trusted user" in to something like "domain\username"


        Simon.
        --
        Simon Butler
        Exchange MVP

        Blog: http://blog.sembee.co.uk/
        More Exchange Content: http://exchange.sembee.info/
        Exchange Resources List: http://exbpa.com/
        In the UK? Hire me: http://www.sembee.co.uk/

        Sembee is a registered trademark, used here with permission.

        Comment


        • #5
          Re: Setting permission for a mailbox database

          Yes, you are right.
          It is worked. Initially I used the "exchange server\Storage group\mailbox store" identification. The command expect the distinguish name of the store.

          I aggree that ADS edit.msc is not the elegant way to solve such issues, but sometimes is good to have arround..
          Thanks.
          Regards,
          Csaba Papp
          MCSA+messaging, MCSE, CCNA
          ...............................
          Remember to give credit where credit is due and leave reputation points where appropriate
          .................................

          Comment


          • #6
            Re: Setting permission for a mailbox database

            Another option to use from shell is

            get-mailbox | Add-mailboxpermission -User JohnQUser -AccessRights FullAccess

            it will add full access to user JohnQuser for existing mailboxes. The problem with this command is that it sets access rights for only existing mailboxes. where as commands to the store or database will provide access to future mailboxes.

            Comment

            Working...
            X