What does NTSTATUS 0xC0020031 (RPC_NT_UNKNOWN_AUTHN_LEVEL) mean?

 
Previous Next
RPC_NT_UNKNOWN_AUTHN_SERVICE RPC_NT_INVALID_AUTH_IDENTITY

RPC_NT_UNKNOWN_AUTHN_LEVEL

RPC does not recognize the authentication level

Authentication level controls how much protection is applied to a call, such as connect, packet integrity, or packet privacy. This status means the value is not a valid RPC-supported level.

A common diagnostic trap is mixing authentication service constants with authentication level constants. Confirm the parameter position and generated wrapper code.

What to inspect

  • Log the authentication level value passed to the RPC security API.
  • Use only documented RPC_C_AUTHN_LEVEL_* values.
  • Check wrapper code that maps application policy to RPC constants.

References


Looking for a different code? Search another status or error code.