Troubleshooting Guide: Error 457 – SCCD Authorized Entity Mismatch
Why This Error Happens
Error 457 occurs when Windows attempts to validate an application package against its Signed Configuration Container Document (SCCD), but none of the authorized entity elements inside the SCCD correspond to the app being installed. This typically happens because the Package Family Name (PFN) embedded in the SCCD doesn’t match the PFN of the app package, or because the cryptographic signature hash of the entity element fails validation—often due to a corrupted, outdated, or improperly re-signed SCCD/manifest file. This is common when sideloading modified packages, applying manual servicing updates, or when a provisioning package references a stale app version.
Step-by-Step Resolution Guide
- Verify the Package Family Name (PFN) matches the SCCD
Open PowerShell as Administrator and run:
Get-AppxPackage -Name "*<AppName>*" | Select Name, PackageFamilyName
Compare this output against the PFN declared in the SCCD XML file (usually located in the app’s provisioning or servicing folder, e.g., C:\ProgramData\Microsoft\Windows\AppRepository\). If they don’t match, you need the correct, matching SCCD issued for that specific package version.
-
Re-acquire a properly signed SCCD
If you’re deploying via Intune, WSUS, or a provisioning package, ensure the SCCD was generated for the exact build/version of the app you’re installing. Request a freshly signed SCCD from the app publisher or your enterprise packaging pipeline rather than reusing an older one. -
Clear the corrupted AppX cache
Corrupted local cache entries can cause hash mismatches even with valid files:
Stop-Service -Name AppXSvc -Force
Remove-Item -Path "C:\ProgramData\Microsoft\Windows\AppRepository\StateRepository-Deployment*" -Force -Recurse
Start-Service -Name AppXSvc
Restart the device, then retry the installation.
-
Validate the certificate chain
Opencertmgr.mscand confirm the signing certificate used for the SCCD/app package is installed under Trusted People or Trusted Publishers and has not expired. A broken certificate chain will cause hash validation to fail even if the PFN is correct. -
Re-register the app package
If the app is already partially installed, force a clean re-registration:
Get-AppxPackage *<AppName>* | Remove-AppxPackage
Add-AppxPackage -Register "<path to AppxManifest.xml>" -DisableDevelopmentMode
Alternative or Verification Steps
- Verify the fix: Re-run the installation/deployment and check Event Viewer under Applications and Services Logs > Microsoft > Windows > AppXDeploymentServer/Operational for a successful event (no Error 457 recurrence).
- Alternative: If the issue persists, use the Windows App Certification Kit or
Add-AppxPackage -Path <path> -Verboseto get a detailed hash mismatch report, which can pinpoint exactly which entity element or PFN entry is invalid.