How to fix enabling advanced audit command is failing(Error code -2146233088 occurred with message Can't connect to the mailbox of user Mailbox database) in production but enabling advanced audit command is passing in devlab and local?

Anvesh Reddy Bemore 0 Reputation points
2024-02-06T11:36:34.4166667+00:00

The enable advanced audit command(User's image

) is not working for production customer but is working for other customers devlab and local exchange online.The above command is failing in staging, but passing in local machine when trying to debug the prod customer. It is giving this error for some production customers (Error code -2146233088 occurred with message Can't connect to the mailbox of user Mailbox database guid because the ExchangePrincipal object contains outdated information. The mailbox may have been moved recently) Could you please provide guidance on how to resolve this issue?Is there any alternative command or any other method to enable advanced auditing?

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,171 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jarvis Sun-MSFT 10,231 Reputation points Microsoft External Staff
    2024-02-07T02:11:44.3266667+00:00

    Hi @Anvesh Reddy Bemore ,

    Welcome to post our Q&A forum!

    Advance Audit policies are known to work only from the Default Domain Policy. If you’ve configured settings in a separate Group Policy Object (GPO), it might not apply even if you enforce the GPO.

    Try shifting the settings related to advanced auditing to the Default Domain Policy. This workaround has been successful for others in similar situations. https://learn.microsoft.com/en-us/answers/questions/123130/advance-audit-policy-no-longer-applying-after-runn


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".  Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.