# Fix greyed-out email account settings on iPhone using Hexnode policy

Executive Summary
-----------------

An iPhone may show the Mail app while still blocking users from adding or modifying email accounts. This happens when an iOS policy applied through Hexnode UEM restricts account modifications. The setting that controls this behavior is **Modify an account** under **iOS > Advanced Restrictions**.

To resolve the issue, identify the policy applied to the affected iPhone, edit the policy, enable **Modify an account**, then save and publish the policy. Once the restriction is cleared, users can add email accounts from the device settings.

Issue
-----

The Mail app is present on the iPhone, but the option to add an email account in Settings is greyed out. The device user cannot add or modify email accounts.

Cause
-----

An active iOS policy applied to the device is blocking account modifications. When **Modify an account** is not enabled under **iOS > Advanced Restrictions**, iOS prevents users from adding or changing accounts on the device.

Identify the policy applied to the iPhone
-----------------------------------------

1. In the Hexnode UEM portal, go to the **Manage** tab.
2. Click **Devices**.
3. Select the affected iPhone to open the device details summary.
4. Open the **Policies** sub-tab.
5. Review the policies currently linked to the iPhone and identify the policy that controls iOS restrictions.

Enable account modification in the iOS policy
---------------------------------------------

1. Go to the **Policies** tab in the Hexnode UEM portal.
2. Open the policy identified from the device details page.
3. Click **Manage > Modify** to edit the policy parameters.
4. Navigate to **iOS > Advanced Restrictions**.
5. Go to the **Allow Security and Privacy Settings** section.
6. Check or enable **Modify an account** to allow users to add and modify accounts on the iPhone.
7. Save the changes and publish the policy.

Expected result
---------------

After the policy is saved and published with **Modify an account** enabled, the account-management option is no longer greyed out on the iPhone, and users can add an email account.

 Note:- The Mail app being visible does not necessarily mean account modification is allowed.
- The restriction is controlled by the applied iOS policy, not by the Mail app icon itself.
- If multiple policies are linked to the iPhone, review the policies listed under the device’s **Policies** sub-tab to identify the active restriction.