| Previous | Next |
| ERROR_SCOPE_NOT_FOUND | ERROR_INVALID_CAP |
ERROR_UNDEFINED_SCOPE
The requested central access policy is unavailable
ERROR_UNDEFINED_SCOPE is a Win32 result associated with Windows Dynamic Access Control., diagnosis should begin with the exact API, target object, and operation that produced it rather than with the message text alone.
What the result means
The specified Central Access Policy scope is not defined on the target system. The practical meaning depends on the caller and on whether the affected object is local, remote, removable, policy-managed, or handled asynchronously. Diagnostics for it should retain its symbolic name, numeric value, and the operation name together.
What to check
- Verify the policy name or identifier delivered by Active Directory.
- Confirm Group Policy has replicated and applied to the target machine.
- Check domain connectivity and relevant policy event logs.
- Compare the target server’s policy state with a known-good peer.
Recommended handling
Restore or deploy the intended policy rather than substituting an arbitrary local rule. Access decisions may otherwise differ from organizational requirements.
Developer notes
Code handling this result should capture the failing API, resolved path or device identity, requested access, process identity, and the first observed error. After a call that reports it, read GetLastError() immediately because later cleanup or logging can overwrite the value. Retry it only when the specific condition is documented as transient, using a bounded delay and cancellation support.
References
- Microsoft: System error codes relevant to ERROR_UNDEFINED_SCOPE
- Microsoft: File management context for ERROR_UNDEFINED_SCOPE
Looking for a different code? Search another status or error code.