I cannot clear the history for Safari browser, even though App configuration profile is appliedSolved

Participant
Discussion
1 day ago Jan 14, 2026

Hey, I used the App configurations policy to apply a custom app configuration profile to the Safari browser, where a key was created to delete browser history older than 7 days automatically. The policy association was successful, and the key was created, but history beyond the last 7 days has not been deleted. 

Replies (5)

Marked SolutionPending Review
Participant
1 day ago Jan 14, 2026
Marked SolutionPending Review

@wilma Have you tried applying the configuration profile through the Deploy Custom Configuration policy? It might work that way.

Marked SolutionPending Review
Participant
1 day ago Jan 14, 2026
Marked SolutionPending Review

@harold Tried that but still no effect. The key is getting created with the configured value, but the history remains as is.

Marked SolutionPending Review
Hexnode Expert
22 hours ago Jan 14, 2026
Marked SolutionPending Review

Hello @wilma and @harold , As the app configuration profile is applied to Safari, the Remove History Items option under the Safari Browser Settings updates to the value given in the key created under the profile. This indicates that the setting is applied via the UEM and would appear greyed out. However, it does not trigger immediate deletion of history older than the specified time in the key.

As a workaround, please utilize the Script policy under Configurations to delete the browser history older than the specified number of days that match the key value in your profile. Configure the policy to deploy the below provided script periodically to delete Safari browser history and cache.


Please note that the script will forcefully close Safari, so make sure to deploy the script outside the active hours of the device. Closing Safari is necessary to successfully delete history.

Regards,
Elle Reed,
Hexnode UEM

Marked SolutionPending Review
Participant
19 hours ago Jan 14, 2026
Marked SolutionPending Review

@elle_reed I just finished the deleting Safari history older than 7 days, like I intended. It was quite easy to setup the Script policy too.

Marked SolutionPending Review
Participant
16 hours ago Jan 14, 2026
Marked SolutionPending Review

@wilma I think the script will be better for more granular control, rather than applying a configuration profile.

Save