Forum Discussion
How to obtain the eSIM EID (Embedded Identification Document) from a device with DO (Device Owner) active?
Hello,
We are looking to implement the functionality to provision eSIM profiles on devices with Android 15+. However, we encountered a telecom provider that requires the EID of the devices before providing us with the eSIM activation code.
In this initial stage, we are simply trying to obtain the EIDs of all devices so that we can send them to the telecom provider and receive the eSIM activation code in return. To obtain the EID, we are using the following approach:
`euiccManager.createForCardId(slot).eid`
However, we are encountering this issue as noted here:
*Must have carrier privileges on subscription to read EID for cardId=0 [java.lang.SecurityException: Must have carrier privileges on subscription to read EID for cardId=0]*
The same issue occurs with `euiccManager.eid`.
According to the documentation mentioned above, Android 15 introduced the possibility of managing eSIM profiles without requiring carrier privileges. However, it seems that the same should also apply to obtaining the EID.
I noticed a similar situation reported here that has been unanswered since September 2024.
Is there any other way to retrieve the EID, or is there any plan to include EID in the bypass for managed corporate devices (which have Device Owner active)?
Looking forward to any insights on this. Thanks in advance!
- LizzieGoogle Community Manager15 days ago
Hello danielbeninca,
Thanks for your message here. Sorry for the delay.
I just wanted to come back to you to let you know I am looking into your ask here. Once I have more information I'll let you know.
Thank you,
Lizzie
(jasonbayton, jeremy, Michel in case you know more around this)
- MichelLevel 2.3: Gingerbread12 days ago
Hi danielbeninca , Lizzie ,
I don't have a lot of experience with this, since our providers here are still living in the stone age and won't connect to MDM solutions for rolling out eSims.
But I do know that Knox Mobile enrollment is able to export the EID in bulk from all registered devices with eSim. But you need Samsung devices for that. Not sure if Android zero touch has it, but you can try by clicking export device details (if you are using this portal).
In other cases, you can see it manually via the phones settings. But if its for many devices, I suggest getting in contact with your device reseller to see if the OEM partner is able to provide those details for you. In most cases the OEM is able to provide some information.
- danielbenincaLevel 1.6: Donut12 days ago
Hello Michel ,
Thank you for your response. I had already checked the documentation looking for an alternative through the Samsung Knox API (and I double-checked it again after reading your response), but I couldn’t find a way to retrieve the EID. If you happen to have an example or a reference that you could share with us, it would be much appreciated. This might be a good alternative for us as well.
We could also consider asking the device supplier to obtain the EID for us and send it to the telecom provider so they can provide the eSIM activation codes. However, I believe we’ll face another challenge: since we are dealing with large-scale activation, it will be difficult to match the eSIM profile activation codes to the correct devices, as we are still unable to retrieve the EID through an MDM/EMM solution due to the requirement for "carrier privileges."
We’re still waiting for a solution to this issue.
Thank you.
- MichelLevel 2.3: Gingerbread12 days ago
I was sure it was there, but just performed an export and its indeed missing for Android devices. But it shows for Apple devices when exporting from Knox Manage. Strange thing.
i'm sorry, really hoped to give you a solution.
When getting the list from your supplier, you have to make sure that the list contains IMEI en EID combined, that way you should be able to match them.
As a service to our customers, we provide assistance with E-SIM activation by scanning the QR code for them before shipping the device. The customer has access to a carrier portal where that can be generated. That works for our customers very well.
- danielbenincaLevel 1.6: Donut10 days ago
Just like in Android 15, where MDM solutions were given the ability to activate eSIM on devices, could you let us know if there will be a possibility to retrieve the EID at some point as well? Some telecom operators require this information to provide us with the eSIM activation code.
- danielbenincaLevel 1.6: Donut8 days ago
I’d like to inform you that it no longer requires a response, as the information provided earlier has already clarified the situation.
Thanks again for your support!
- LizzieGoogle Community Manager10 days ago
Thanks for your follow-up here, danielbeninca. Quick question, do you have access to the Android Enterprise Partner Portal?
- danielbenincaLevel 1.6: Donut10 days ago
Yes, I do.
- LizzieGoogle Community Manager10 days ago
Thanks danielbeninca. I've just sent you a direct message via your community inbox (the little envelope in the top right corner of the community page).
Thanks,
Lizzie
Related Content
- 9 months ago
- 2 years ago
- 9 months ago