Allowing Users to Enable/Disable Automatic Proxy Configuration Without Admin Credentials
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 01-17-2025 03:58 PM
We have a requirement where users need to enable/disable the Automatic Proxy Configuration without requiring admin credentials. From the developer documentation, I found the "object NetworkProxyConfiguration.Proxies," but I am unable to modify it via a script. Could you please guide me on any alternative methods, such as using a configuration profile, to achieve this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 01-20-2025 01:10 AM
Hi @tahir
You can create a script enable Automatic Proxy Configuration :
sudo networksetup -setautoproxystate "Wi-Fi" on
After that, create Policies containing the script + trigger + scope you want, to check you can open the log whether the status is pending or has been completed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 01-20-2025 06:38 PM
Hi @agungsujiwo ,
This will only turn the automatic proxy configuration, actual as per our requirement. We want to allow standard user to turn on/off based on requirement and can add .pac file and save upon which it will not ask for admin credentials.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 01-20-2025 06:47 PM
You can add that feature in self-service, create 2 new menus,
a menu for enable, and another menu for disable,
when selects/clicks menu in self-service, no admin password is required
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 01-20-2025 07:05 PM
Thanks for the reply @agungsujiwo
Let me check this
