SharePoint 2016: Auditing and Document ID in Practice (On-Premises)
Lead
SharePoint 2016 on-premises can be temperamental, but it works. Here is the sequence: Auditing → Document ID → verification, plus a few ready-to-use PowerShell snippets.
Auditing
Central Admin → General Settings → Configure Audit Settings.
For the site collection: open Audit Log Reports and select Opening/Downloading, Editing, Moving/Copying, and other relevant actions.
Document ID
Site Collection Features → Document ID Service (Enable).
Set a prefix in Document ID settings (for example, SQLM-).
Reindexing and assigning IDs to existing documents
- The “reassign IDs for existing” option can take time — allow the job to finish.
- Search
ULSlogs forDocumentIdto check progress.
PowerShell
| |
Verification
- The Document ID column is visible in document libraries.
- Audit reports show user operations.
- In classic views, you can add the column to the list view.
Remember ULS log retention and the
Log File Locationsetting — otherwise you may run out of disk space.