It is essential that Data Roaming is enabled in order to use your eSIM.
1. Go into your Settings and tap on Network and Internet.
2. Tap Mobile Network.
3. Tap the eSIM you want the Data on for.
4. Make sure the Data Roaming slider is toggled to on.
5. The Data Roaming toggle should appear as below on the installed eSIM.