I've configured NPS on windows 2012r2 to log to a SQL DB, but it doesn't populate a lot of the fields.
Notably, the most important field - REASON CODE - is one of the ones 2012 doesn't populate
It works in 2008r2...
The DB was originally created with 2008r2, so I thought, perhaps there is a difference and I need to create a new DB
If the DB is created with 2012r2 it doesn't even create the fields (or the appropriate entries in the stored procedure that interprets the XML the NPS service sends)...
It would appear that the log XML that is posted to the SQL server doesn't contain the missing fields...
How do I get it back in there?
(the reason code is in the security event log entry on the NPS server, and if I set text file logging to the legacy IAS format it is logged, but its not a whole lot of use in there!)