Note: This Advanced Setting requires Mac Agent 11.3 or above.
The One-Time Code Elevation (macOS) Advanced Setting allows administrators to enable one-time elevation codes on macOS devices and customize the text displayed during the code entry process. Administrators can also configure the number of retries.
Navigate to the 'Advanced Settings' page and select '+ New Setting'.


In the 'Create Settings' side panel, select 'One-Time Code Elevation (macOS)' from the 'Setting Type' dropdown.
Select the computer or group to which the setting should apply using the 'Applies To' dropdown. Under 'Order By', choose whether to add the setting to the top or bottom of the Advanced Settings list.
Enabling One-Time Elevation Codes
Under 'Parameters', enable the 'One-Time Elevation Codes Enabled' switch to allow one-time code elevation. Disable this switch to turn off the feature.

Customizing the One-Time Code Window
The following fields allow you to customize the instructions, placeholders, and messages displayed to users:
-
Customize "Provide this Code to your administrator" Text — Enter the instructions displayed with the code that the user provides to their administrator.
-
Customize "Enter the Code from your administrator" Placeholder Text — Enter the placeholder text for the field where the user enters the code received from their administrator.
-
Customize Incorrect One-Time Code Label — Enter the message displayed when an incorrect one-time code is entered.
-
Customize No Codes Available Label — Enter the message displayed when no one-time codes are available on the device.
-
Customize Justification Placeholder Text — Enter the placeholder text for the field where the user provides a reason for running the application as an administrator.

Number of Retries
In the 'Number of Retries' field, enter the retry limit for one-time code entry.

Once all parameters are configured, select 'Create' at the bottom of the side panel.

Select 'Update Agents' on the Advanced Settings page to deploy the setting to the applicable agents.

Help Center