Hi Jamf Nation
I'm trying to programmatically enable the location service. I have done this so far:
#!/bin/bash
/usr/bin/defaults write "/var/db/locationd/Library/Preferences/ByHost/com.apple.locationd" LocationServicesEnabled -int 1
/usr/sbin/chown -R _locationd:_locationd "/var/db/locationd"
exit 0
As since macOS 10.12.2 SIP does not allow to reload the com.apple.locationd.plist LaunchDaemon a reboot is necessary. But it does not even work after a reboot. I do have enabled Wi-Fi.
Any ideas?