I am banging my head against the wall with this one and I feel a though the solution should be simple. I read that Jamf Pro 10.26 is supposed to be able to permit enabling NTP/time zone settings without needing location services turned on. However, for the life of me, I cannot find documentation detailing how. I tested a custom configuration profile that does apply the settings successfully, but only if location settings are enabled. For Catalina, I currently use a script (see below). I do not want to rely on my end users turning on location settings to get this configured.
How is everyone else doing this now? Am I missing something obvious?
Current script:
#!/bin/sh
####################################################################################################
#
# DEFINE VARIABLES/PARAMETERS
#
####################################################################################################
timeserver="$4"
defaults='/usr/bin/defaults'
systemsetup='/usr/sbin/systemsetup'
uuid=$(/usr/sbin/system_profiler SPHardwareDataType | grep "Hardware UUID" | cut -c22-57)
####################################################################################################
#
# SCRIPT CONTENTS - DO NOT MODIFY BELOW THIS LINE
#
####################################################################################################
# Configure automatic timezone
"$defaults" write /Library/Preferences/com.apple.timezone.auto Active -bool YES
"$defaults" write /private/var/db/timed/Library/Preferences/com.apple.timed.plist TMAutomaticTimeOnlyEnabled -bool YES
"$defaults" write /private/var/db/timed/Library/Preferences/com.apple.timed.plist TMAutomaticTimeZoneEnabled -bool YES
# Configure network time server settings
"$systemsetup" -setnetworktimeserver $timeserver
"$systemsetup" -setusingnetworktime on
# Configure location services
"$defaults" write /var/db/locationd/Library/Preferences/ByHost/com.apple.locationd LocationServicesEnabled -int 1
"$defaults" write /var/db/locationd/Library/Preferences/ByHost/com.apple.locationd.$uuid LocationServicesEnabled -int 1