Code 12 is a Status code that is defined much later than the RADIUS standard. It is optional and perhaps you can disable it in the NPS setup. You can also capture the traffic between the NPS and the AP to look at the contents of the message for more information.
If you found this post helpful, please give it Kudos. If my answer solves your problem, please click Accept as Solution so others can benefit from it.