
Is it possible to get the user's ip address from a plugin in MS CRM 2016? I am not able to get the httpcontext current session. I can run the plugin synchronously.
*This post is locked for comments
I have the same question (0)Hi,
there is no http context in the plugin - it's not your regular web page call. If you wanted to get an IP address, you might, possibly, use a javascript on the client side to put that IP address into a hidden field on the form.. then your plugin will have access to the field. But this won't work in all scenarios (only when there is a form involved)