What does Windows error code 13012 (ERROR_IPSEC_MM_AUTH_IN_USE) mean?

 
Previous Next
ERROR_IPSEC_MM_AUTH_NOT_FOUND ERROR_IPSEC_DEFAULT_MM_POLICY_NOT_FOUND

ERROR_IPSEC_MM_AUTH_IN_USE

ERROR_IPSEC_MM_AUTH_IN_USE (0x000032D4) The authentication configuration is referenced by an existing policy or active security association, so it cannot be removed safely at that moment.

Find the policies and active associations that reference the authentication object before deleting it. Move those references to the replacement configuration and allow active state to drain so removal does not interrupt protected connections.

What to check

  • Identify the dependent IPsec rules and live Main Mode security associations.
  • Change or remove the dependent policy first through its managed source, then retry the authentication-set operation.
  • Avoid forcing removal during an active VPN or connection-security rollout because peers may lose authentication unexpectedly.
Get-NetIPsecMainModeSA

Microsoft: Get-NetIPsecMainModeSA

Microsoft: Get-NetIPsecMainModeRule

Microsoft: IPsec/IKE system error codes


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