You can not install the Network Policy Server service on Windows Server Core.
https://learn.microsoft.com/en-us/windows-server/remote/remote-access/vpn/always-on-vpn/deploy/vpn-deploy-nps
--please don't forget to upvote
and Accept as answer
if the reply is helpful--