Print server and Azure AD technician providing live chat help

Joe B.

Reviewed for technical accuracy

Specialities: Azure AD (Entra ID), Hybrid AD, Kerberos/NTLM, Print Servers, PaperCut, SafeCom

Wrong username in print logs — UPN mismatch after Entra ID sync, SID/claim mapping, print accounting repair

Technician avatar Technician
Hi! We’ll sort out why your print logs show the wrong user after the latest Azure AD (Entra ID) sync.
A few details help pinpoint the cause: Did UPN suffixes change (e.g., @contoso.local → @contoso.com)? Are jobs logged under the print server’s computer account or another user? Which product records usage (PaperCut, SafeCom, native Windows logs, or MFP accounting)? Any cross-forest trusts or new hybrid join?
Customer
Since we synced to Entra ID, our print accounting is wrong. PaperCut reports jobs from “SYSTEM” or from a different person. We did change UPNs to @contoso.com.
Technician avatar Technician
Understood. After directory changes, UPN mismatches and SID history gaps often break user resolution. On print servers, authentication can also fall back to NTLM, so PaperCut/SafeCom read the wrong identity. If you’re using claims-aware printing or Universal Print connectors, the claim mapping (UPN vs samAccountName) matters too.
Plan: 1) Confirm which attribute PaperCut maps to. 2) Check Kerberos/NTLM and SPNs on the print server. 3) Fix UPN, mail, or onPremisesSamAccountName mapping. 4) Resync and re-associate users so print logs show the correct username.
Customer
Where do I check the mapping PaperCut uses? We moved from DOMAIN\jdoe to jane.doe@contoso.com.
Technician avatar Technician
In PaperCut (Options → User/Group Sync), verify the primary user identifier. For hybrid tenants, set it to UPN or email and enable Link users by alternate IDs so SID/UPN changes don’t create duplicates.
If you use SafeCom/uniFLOW, choose an equivalent directory source and map userPrincipalName → system username. This prevents the classic wrong username in print logs after an Entra ID sync.
Customer
Logs also show jobs from the server account. Could this be authentication?
Technician avatar Technician
Yes. If clients connect over IP or a DNS alias without a proper SPN, Kerberos fails and the server may attribute the job to SYSTEM.
• Create/register the HOST/PRINTSERVER and cifs/ SPNs for the service account (or the computer account if using Local System).
• Ensure clients use the FQDN share (e.g., \\print01.contoso.com) so Kerberos works.
• In policies, prefer Kerberos over NTLM where possible. This alone often fixes print accounting wrong user.
Customer
We changed UPN suffixes. Some users kept printing as old DOMAIN\alias. How do we handle that?
Technician avatar Technician
Keep SIDHistory during migration and configure PaperCut’s username aliasing: map historical samAccountName to new UPN. Re-sync the directory and run the “Recalculate user ownership” tool on recent jobs so old entries are corrected to the right username.
Customer
We also enabled Azure AD Kerberos for SMB. Anything special for print queues?
Technician avatar Technician
For Azure AD Kerberos or Universal Print hybrid connectors, ensure the connector service runs as the intended identity and that the claim used (UPN/email) matches your accounting system. If Universal Print is only for discovery and jobs still spool on your server, the server’s auth rules apply (Kerberos + SPN).
Customer
After switching mapping to UPN and fixing SPNs, new jobs log correctly. Older entries are still wrong. Can we fix history?
Technician avatar Technician
Yes. In PaperCut’s admin, run Batch update or the recalculate user task to re-map historical jobs using your new UPN rule. In SafeCom/uniFLOW, export logs and re-import with a username translation table. This cleans up print logs wrong user records for reporting/billing.
Customer
Anything else to keep things stable going forward?
Technician avatar Technician
Guardrails:
• Standardize on UPN as the single identity across Entra ID, on-prem AD, and your print accounting tool.
• Keep SPNs correct; publish queues via FQDN only; avoid raw IP shares that force NTLM.
• Document a mapping policy for mergers/renames (alias → UPN) and schedule a nightly directory sync with error alerts.
Customer
Great — logs now show the correct users and our reports balance again. Thanks!
Technician avatar Technician
Summary: Fixing wrong user in print logs after Azure AD sync = align UPN mapping, keep SID history, ensure Kerberos with valid SPNs, and set PaperCut/SafeCom to resolve users by UPN/email with aliases. Need help implementing this on your server? Open the chat.

Quick answer: the accepted fix

Accepted fix when print logs show the wrong username after Entra ID sync: set your accounting tool to resolve users by UPN with aliasing for old samAccountName, verify Kerberos is used (not NTLM), register required SPNs, and re-sync the directory. Recalculate ownership for recent jobs to correct reports.


Why print logs show the wrong user (UPN changes, claims, Kerberos/SPN)

After migrations, a UPN mismatch or missing SIDHistory causes wrong username in print logs. If clients connect without FQDN/SPNs, Kerberos fails and jobs may log as SYSTEM. Align identity claims (UPN/email), fix SPN records, and set your product’s directory mapping to avoid wrong user mapping.

How to verify the fix

Print a test job from a user whose UPN recently changed. In PaperCut/SafeCom, confirm the job owner equals the user’s UPN, not the server. On the print server, run klist to verify Kerberos tickets; check the Security log for Kerberos Authentication Service events. If ownership is incorrect, recheck SPN and mapping rules.

Print accounting — quick mapping checklist

Use one identity standard and consistent authentication.

Pick UPN as the primary key → enable aliases for old usernames → ensure Kerberos with correct SPNs → publish print shares via FQDN → for PaperCut/SafeCom, map userPrincipalName and enable nightly directory sync. This prevents print logs wrong user after Azure AD sync.

Disclaimer: This information is AI-generated and intended for general guidance only. For advice specific to your environment, please consult a verified expert on Whizz-Tech before making decisions.


Getting Started Is Easy

Ask for help, 24/7

Members enjoy round-the-clock access to 12,000+ verified Experts, including tech support, mechanics, vets, and more.

Expert will respond in minutes

We match you with an Expert who specializes in your situation. Talk, text, or chat — whichever you prefer.

Save time & money

No scheduling hassles or expensive consults. Membership can save you significant time and money each month.

FAQ

Why do print logs show the wrong user after Azure AD (Entra ID) sync?

Usually a UPN change or claim mismatch. If Kerberos fails (missing SPN), accounting tools may record jobs as SYSTEM or another user.

How do I map users correctly in PaperCut/SafeCom?

Sync by UPN/email, enable aliases for old samAccountName, and re-sync. Then recalculate ownership for recent jobs.

Kerberos vs NTLM — which affects print accounting?

Kerberos with correct SPNs ensures the client identity is passed. NTLM or IP connections often log the wrong username.

Do I need SID history?

Keeping SIDHistory during migrations helps tools correlate old accounts with new UPNs and prevents duplicate users in logs.

Common print accounting problems and quick fixes
SymptomLikely causeQuick fix
Print logs wrong user UPN mapping/claim mismatch Resolve by UPN/email; enable username aliases
Jobs logged as SYSTEM/server Kerberos not used; missing SPN Publish queues via FQDN; register SPNs; force Kerberos
Duplicates after sync No SIDHistory; new IDs created Keep SIDHistory; link accounts; resync
PaperCut/SafeCom reports random users Directory source uses sAMAccountName Switch to UPN/email; recalc ownership

Step-by-step (Hybrid AD / Print servers)

  1. In PaperCut/SafeCom, set directory mapping to UPN (allow aliases for old usernames); run a sync.
  2. Ensure clients connect to queues via FQDN; register required SPNs and verify Kerberos tickets (klist).
  3. Keep SIDHistory during migrations; import alias tables to merge old accounts.
  4. Recalculate job ownership for recent prints; validate that reports now show the correct username.

Note for mixed environments (macOS/Chromebooks)

  1. For Google/Azure SSO printing, ensure the connector claims include UPN/email that matches your accounting tool.
  2. Avoid raw IP printing that bypasses the server — it can’t attribute jobs correctly.

Sources

Matt Verified Icon
Matt ● replies in < 1 min
Technician Expert
⭐⭐⭐⭐⭐ Trusted by 27,000+ customers
Avatar
Alex · Expert's Assistant