I will appreciate any kind of help to customize Dynamics to add user IP on user access event in audit record. Kindly , take a note that we are using load balancer in production environment. So, in my opinion we have to achieve it by JavaScript coding in order to get client IP.