1. Home
  2. Knowledge Base
  3. SureMDM
  4. How to Manage E-SIM Profiles Using SureMDM
  1. Home
  2. Knowledge Base
  3. Android Management
  4. How to Manage E-SIM Profiles Using SureMDM

How to Manage E-SIM Profiles Using SureMDM

Purpose

This article explains how to use SureMDM’s Run Script feature to remotely provision and manage E-SIM profiles on Android devices.

With this feature, administrators can remotely download, install, and delete E-SIM profiles directly from the SureMDM console without physically handling SIM cards.

This functionality is especially useful for organizations managing cellular-enabled Android devices deployed across multiple locations, remote environments, or large enterprise fleets.

Using SureMDM’s E-SIM Lifecycle Management, IT administrators can:

  • Simplify device onboarding
  • Remotely activate carrier profiles
  • Reduce physical SIM management
  • Perform bulk E-SIM operations efficiently
  • Improve scalability and deployment speed

Prerequisites

  1. Android device enrolled in SureMDM
  2. Device must be:
    1. Fully Managed (Device Owner mode)
    2. Running Android 15 or above
  3. Device should have an active internet connection
  4. Valid E-SIM activation code provided by the carrier
  5. Subscriber ID/EID available for deleting E-SIM profiles

Steps

Procedure to Create a Run Script

  1. Log in to the SureMDM Console >> Jobs > New Job > Choose OS Platform [Android] > Choose Run Script.
  2. Copy and paste the script into the column and modify it as per your use case.

Run Script to Download and Install an E-SIM Profile

!#suremdm
esim_download(activation_code)

Replace activation_code with the actual E-SIM activation code provided by the carrier.

Example:

!#suremdm
esim_download(LPA:1$examplecode123)

This script downloads and installs the E-SIM profile on the target Android device.

Run Script to Delete an E-SIM Profile

!#suremdm

esim_delete(subscriber_id)

Replace subscriber_id with the actual Subscriber ID/EID of the E-SIM profile.

Example:

!#suremdm

esim_delete(89049032000000000000)

This script removes the specified E-SIM profile from the target Android device.

Notes

  1. The activation_code is provided by the mobile carrier for E-SIM activation.
  2. The subscriber_id refers to the E-SIM Subscriber ID/EID associated with the installed profile.
  3. These commands are supported only on:
    1. Fully Managed Android devices
    2. Android 15 and above
  1. Save the job and deploy it to the target device or device group.

Conclusion

Using SureMDM’s Run Script functionality, IT administrators can efficiently automate E-SIM provisioning and lifecycle management across Android devices.

This approach eliminates the dependency on physical SIM cards, simplifies remote deployments, improves scalability, and significantly reduces manual effort for managing cellular-enabled enterprise devices.

Need more help? Here’s how to get help from our experts. 

CONTACT US 

Was this helpful?
YesNo
Updated on June 2026
Need Support?
Can't find the answer you're looking for?
Contact Support