Cannot enable auditing in Purview

Anonymous
2025-03-05T16:50:36.6466667+00:00

Hello

Please i need your help on this issue.

When attempting to turn on auditing in Purview, I met with the following message "Sorry, we're having trouble figuring out if activity is being recorded. Try refreshing the page.".

I have the Global Administrator role in the tenant.

Microsoft Security | Microsoft Purview

2 answers

Sort by: Most helpful
  1. Mateusz Maciejewski 0 Reputation points
    2026-01-29T14:36:30.1666667+00:00

    Hello,

    I had similar problem today. The the solution was to:

    Used Exchange Online in Powershell as @Pauline Mbabu said.

    But when I ran :

    Set-AdminAuditLogConfig -UnifiedAuditLogIngestionEnabled $true
    

    I got an error:

    BadRequest: Error executing cmdlet : { "code": "BadRequest", "message": "Error executing cmdlet", "details": [ { "code": "Context", "target": "AdminAuditLogConfig", "message": "|Microsoft.Exchange.Configuration.Tasks.InvalidOperationInDehydratedContextException|The command you tried to run isn't currently al lowed in your organization. To run this command, you first need to run the command: Enable-OrganizationCustomization."
    

    So then you run:

    Enable-OrganizationCustomization.
    

    Verify if it is ok with command below. It should say false:

    Get-OrganizationConfig | FL IsDehydrated
    

    Then you can use this commends to enable audit and verify. Can take up to 60min.

    Set-AdminAuditLogConfig -UnifiedAuditLogIngestionEnabled $true
    Get-AdminAuditLogConfig | FL UnifiedAuditLogIngestionEnabled
    

    After you can refresh the UI at purview site. The notification should not be there anymore.

    Was this answer helpful?

    0 comments No comments

  2. Pauline Mbabu 1,840 Reputation points Microsoft Employee
    2025-03-18T09:44:04.01+00:00

    Hello @Anonymous ,

    Kindly first start by confirming if the Audit Log is enabled. You can do so by running the command below in Exchange Online Powershell.*
    Get-AdminAuditLogConfig | Format-List UnifiedAuditLogIngestionEnabled*
    A value of True for the UnifiedAuditLogIngestionEnabled property indicates that auditing is turned on. A value of False indicates that auditing isn't turned on.

    If Audit Log is not enabled then confirm that you can attempt to turn on using PowerShell by running the command below:
    Set-AdminAuditLogConfig -UnifiedAuditLogIngestionEnabled $true

    If the issue Persists, I recommend you open a Support Case at https://support.microsoft.com/en-us so that we can Investigate this issue Further.

    Doc Ref: https://learn.microsoft.com/en-us/purview/audit-log-enable-disable?tabs=microsoft-purview-portal#use-powershell-to-turn-on-auditing

    If you find the answer above helpful, please Accept the answer to help anyone in the community who might have a similar question to quickly find the solution.

    Was this answer helpful?

    0 comments No comments

Your answer

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