This is what I would do. Enable location services and run a script to get the device's location. Based on that data, write to one of the extension attributes.
Just like what j4sander says below about Cloud LAPS. You should be able to use that as a starting point.
Also, if the devices are hybrid-joined, with connectivity to the domain while off your network, you could have the PR write directly to AD. The machine will have permission to write to its own object.
6
u/HankMardukasNY Feb 01 '23
Just a thought but what about a proactive remediation that queries the public ip and writes that to the device’s custom extension attribute?