| Previous | Next |
| RPC_S_BINDING_HAS_NO_AUTH | RPC_S_UNKNOWN_AUTHN_LEVEL |
RPC_S_UNKNOWN_AUTHN_SERVICE
RPC_S_UNKNOWN_AUTHN_SERVICE means that the requested RPC authentication service is not recognized by the runtime for this binding or server configuration.
What to distinguish
Unknown is not the same as unsupported. An unknown value is often a configuration or coding error. A valid service can still be rejected later if it is unavailable in the environment or not registered by the server.
What to check
- Use documented RPC authentication-service constants, not application-defined numeric values.
- Verify both sides were configured for the same authentication model.
- Inspect the return value from the function that sets or registers authentication rather than waiting for the first business call to fail.
Microsoft: RpcBindingSetAuthInfo · RPC Return Values
Looking for a different code? Search another status or error code.