Troubleshooting Device Management

If Device Management is not performing as expected, you might need to troubleshoot issues or change settings.

Observed issues with specific settings

When configuring settings, note the following issues that were observed during testing.

Password and Screen Unlock settings

iOS devices must be unlocked for password settings to take effect

If you target a password setting (either through a curated or custom setting) to an iOS device that already has a passcode set, you might see a Failed CloseCircleIcon-error-32 status until the user unlocks the device, at which point the status should change to Installed check-solid. If you hover over the failed status on the Devices tab for the collection, the message shown is similar to:

JSON
[{"Code":"Error.ConfigurationCannotBeApplied","Description":"Configuration cannot be applied","Details":{"Error":"Failed to install profile: Profile Installation Failed"}},{"Code":"LegacyProfiles.ProfileInstallFailed","Description":"Failed to install profile: Profile Installation Failed","Details":null}]

FileVault settings

Modifying certain FileVault settings for devices that already have a FileVault profile installed might cause errors

If you push a FileVault setting down to a device (whether the device is encrypted or not) and then attempt to make changes to certain settings, you might receive an unknown error. If you hover over the failed status on the Devices tab for the collection, the message shown is similar to:

JSON
[{"Code":"Error.ConfigurationCannotBeApplied","Description":"Configuration cannot be applied","Details":{"Error":"Failed to install profile: The ‘FileVault Settings’ payload could not be installed. an unknown error occurred"}},{"Code":"LegacyProfiles.ProfileInstallFailed","Description":"Failed to install profile: The ‘FileVault Settings’ payload could not be installed. an unknown error occurred","Details":null}]

In this scenario, the FileVault settings profile is removed from the device, but the new settings are not pushed out to the device and the operation is not attempted again. One setting that is known to cause this behavior is the Defer Enabling FileVault option. You can make a trivial change to the settings or collection and attempt to push the settings out again, but the application might not succeed.

Note: As a best practice, if you need to change the FileVault settings for devices where a FileVault profile exists, first remove the settings profile and decrypt the device. Then target the device with a new setting / collection, especially if you are changing the Defer Enabling FileVault option.

User is not prompted to enable FileVault when Do not ask users to enable FileVault at logout is set to No

When a FileVault setting is applied on a device with the Do Not Ask Users to Enable FileVault at Logout option set to No, macOS sets an enablement deferral that prompts the user to enable FileVault during login or a restart. If this deferral is not set initially due to an issue or is removed before FileVault is enabled, the user might not be prompted to enable FileVault, and the system will not attempt to reset the deferral. If modifying the setting does not reset the deferral, try the following steps:

  • Remove the existing FileVault setting from the collection and either re-add it or create a new one.

  • Add or remove a different, unrelated setting from the same collection.

Wi-Fi Settings

Other settings fail to apply when included in a collection that defines a Wi-Fi network set to auto join

When you include a Wi-Fi setting that defines a Wi-Fi network that is previously unknown to the device and is set to Auto Join in a collection that contains other settings, other settings might intermittently fail to install with this error: Failed to install profile: The Internet connection appears to be offline.

With Auto Join enabled, the device might immediately attempt to connect to the new network, causing other settings that require network access to fail to apply. The settings should apply the next time the device syncs with the Tanium Cloud MDM Service.

Observed issues setting up Android Enterprise

When you register Device Management as the Android Enterprise EMM provider for your organization, you might encounter the following issues.

Setup was cancelled in the Google Admin Console

If you cancel the consent flow in the Google Admin Console before authorization completes, Device Management shows a message that the setup was cancelled. You can restart Android Enterprise registration at any time. For more information, see Set up Android Enterprise.

Registration fails because another provider is already connected

Your organization can be connected to only one device management provider for Android Enterprise. If another provider is already connected, registering Device Management fails. Use the Google Admin Console to remove the existing provider before retrying registration. After you change providers, Android devices that were previously enrolled must re-enroll with Device Management.

Registration fails because the Google account does not have sufficient privileges

You must sign in with a Google Workspace Super Admin account to authorize Device Management for Android Enterprise. If you sign in with an account that does not have Super Admin privileges, the registration fails. Sign in with a Super Admin account and try again.

Observed issues with Android Enterprise device actions and policies

An Android device action is unavailable

Available device actions depend on the device status. For example, Reenable is available only when the device status is Disabled, and Stop Lost Mode is available only when the device status is Lost. If you do not see an action that you expect, check the device status. Additionally, Wipe and Relinquish Ownership require permissions to the Device Management - High Impact content set; without that permission, these two actions do not show for the device. For more information, see Working with devices and device data.

Start Lost Mode is unavailable to deploy

The Deploy Action button for Start Lost Mode stays disabled until you enter a value in at least one of Lost Message, Phone Number, Email Address, or Street Address.

Observed issues with Web Clips and Enterprise Applications

When configuring Web Clips and Enterprise Applications, note the following issues that were observed during testing.

iOS devices must be unlocked for Web Clips to Install

This issue is inherent to iOS and macOS and not caused by Device Management. If you target a Web Clip to an iOS device that has a passcode set, you might see a Failed CloseCircleIcon-error-32 status until the user unlocks the device, at which point the status should change to Installed check-solid. If you hover over the failed status on the Devices tab for the collection, the message shown is similar to:

JSON
[{"Code":"Error.ConfigurationCannotBeApplied","Description":"Configuration cannot be applied","Details":{"Error":"Failed to install profile: Profile Installation Failed"}},{"Code":"LegacyProfiles.ProfileInstallFailed","Description":"Failed to install profile: Profile Installation Failed","Details":null}]

Error: This package is not a distribution package, which MDM requires. Rebuild the file as a distribution package (for example, with productbuild) and upload the new file.

The selected file is a component package, which Device Management does not support.

Error: This file is not a valid iOS app (.ipa)

The file cannot be read as an IPA file, or the Info.plist file in the IPA file is missing the bundle ID, version, or name. Upload a valid IPA file.

Error: This file is not a valid macOS installer package (.pkg)

The file cannot be read as a package, or the package is missing a bundle ID, version, or title. Upload a valid PKG distribution package. If the file is a component package, the distribution package error appears instead.

Error: An app with this bundle ID already exists

Another iOS application already uses the same bundle ID. Each iOS application requires a unique bundle ID, although macOS applications can share one. To change the existing application, edit the application instead of creating a new application.

Error: The new file is a different app (its bundle ID changed). Create a new app for it instead.

The new file is for a different application than the application that you are updating.

Error: The upload expired. Upload the file again.

The uploaded file is no longer available to save with the application. Uploaded files expire 24 hours after upload.

Issues with Apps & Books

When you configure or use Apps & Books, you might encounter the following issues.

Content token expiring or expired

Device Management shows a warning banner 30 days and 7 days before an organizational unit's content token expires. After a content token expires, license assignment is blocked for that organizational unit until you renew the content token in Apple Business Manager or Apple School Manager.

Important: A content token can also become invalid before its expiration date. Apple Business Manager and Apple School Manager invalidate the token if the password changes for the Managed Apple Account that downloaded it. If this happens, license assignment is blocked even though the token has not reached its expiration date, and Device Management does not currently detect or flag the invalidation. If license assignment unexpectedly stops working despite an unexpired content token, download a new content token and upload it to the organizational unit.

Assignment shows a Pending license status

If the number of devices that you target for an App Store application exceeds the available license count, Device Management assigns the license to devices up to the available count. The remaining devices show a status of Pending license. To resolve this, reduce the number of targeted devices or purchase additional licenses in Apple Business Manager or Apple School Manager, and then sync the organizational unit.

Assignment shows a Not enrolled status

A device must be enrolled with Device Management to receive a license assignment for an App Store application. If a targeted device is not enrolled, the assignment record shows a status of Not enrolled and no install command is sent to the device.

Apple Apps & Books service unavailable

If the Apple Apps & Books service is unavailable, license sync is deferred and Device Management shows the last successful sync time for the organizational unit. Sync resumes automatically after the service becomes available again.

Assignment shows a Failed status

If a device rejects the MDM install command for an App Store application, the assignment record shows a status of Failed along with the reason that the device returned.