Forum Discussion

  • LeonPavesic's avatar
    LeonPavesic
    Silver Contributor

    Hi JasonPPF,

    Here are step-by-step instruction how you can use the https://learn.microsoft.com/en-us/exchange/troubleshoot/administration/term-new-mailbox-not-recognized-error#resolution

    I am guessing that you have Exchange 2010 Server.

    Exchange Management Shell (EMS):

    1. Open the Exchange Management Shell:
    - Click the Windows "Start" button.
    - In the search bar, type "Exchange Management Shell."
    - Click on "Exchange Management Shell" in the search results to open it.
    - Open it in eleveted mode (as administrator)

    2. Identify Current Permissions:
    - In the Exchange Management Shell, run the following command to list your existing RBAC 

    Get-ManagementRoleAssignment

    3. Change Permissions:
    - To change permissions, you'll typically create a new management role assignment. For example, to assign the "Mail Recipients" role to a user, use this command:

    New-ManagementRoleAssignment -Role "Mail Recipients" -User username

    Replace `username` with the actual username of the user you want to assign the role to.

    4. Verify Changes:
    - After making changes, verify that the permissions have been applied correctly. Use the `Get-ManagementRoleAssignment` command again to check the updated permissions.



    Running the Setup.com Command:

    1. Open a Command Prompt:
    - Press `Win + R`, type `cmd`, and press Enter to open a Command Prompt window.

    2. Navigate to the Exchange Installation Directory:
    - Use the `cd` command to navigate to the directory where Exchange Server is installed. The default path is usually `C:\Program Files\Microsoft\Exchange Server\V14\`.

    cd C:\Program Files\Microsoft\Exchange Server\V14\

    3. Run Setup.com with /PrepareAD:
    - To reset Active Directory split permissions to the default Exchange 2010 shared permissions, use the following command:

    setup.com /PrepareAD

    4. Follow On-Screen Instructions:
    - The `PrepareAD` process will prompt you to confirm certain actions. Follow the on-screen instructions to complete the process.

    5. Restart Services:
    - After running the command, restart Exchange services to ensure the changes take effect. Run the following command to restart the Exchange service host:

    Restart-Service MSExchangeServiceHost


    Please click Mark as Best Response & Like if my post helped you to solve your issue.
    This will help others to find the correct solution easily. It also closes the item.


    If the post was useful in other ways, please consider giving it Like.


    Kindest regards,


    Leon Pavesic

  • JasonPPF's avatar
    JasonPPF
    Copper Contributor
    How to configure,
    RBAC split permissions,
    Active Directory split permissions,
    to allow me use New-Mailbox cmdlet,
    and without affecting the system.

Resources