Event ID 1237/1238 in Health Log
Symptoms
One of the following error messages under Event ID 1237 or 1238 is prompted in the Health Log for your SharePoint monitoring plan:
-
Error 1:
Unable to collect content/security events from site collection %name%: Attempted to perform an unauthorized operation -
Error 2:
Unable to collect content/security events from site collection %name%: Access is denied.
(Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) -
Error 3:
Unable to collect content/security events from site collection %name%: Access to this Web site has been blocked.
Causes
-
Error 1: Netwrix Auditor failed to collect content/security changes from the audited site collection due to the Adding content prevented status. Otherwise, the Farm account or the service account for the web application pool hosting the audited site collection has been modified and has not been granted the Log on as a batch job permissions in the server hosting SharePoint Central Administration.
-
Error 2: Auditor failed to collect content/security changes from the audited site collection due to insufficient permissions for the web application hosting the target site collection.
-
Error 3: Auditor failed to collect content/security changes from the audited site collection due to the No Access status.
Resolutions
Review the resolution for the corresponding error:
-
Error 1: In SharePoint Central Administration, navigate to Application Management > Configure Quotas and Locks > %affected_site_collection%, and change the status to Not locked.
-
Error 2: In SharePoint Central Administration, navigate to Web Applications > %affected_application% > User Permissions, and verify the security settings. The minimum required permissions are Manage Web Site.
-
Error 3: In SharePoint Central Administration, navigate to Application Management > Configure Quotas and Locks > %affected_site_collection%, and change the status to Not locked.
Learn more about managing the SharePoint site lock status via PowerShell in Manage Lock Status for Site Collections in SharePoint Server − Manage Lock Status for Site Collection via Microsoft PowerShell ⸱ Microsoft 🡥.