I'm trying to clone a Web Mapping Application from ArcGIS Enterprise (10.9) to ArcGIS Online. I have a Web map, which consists of Modis Layer (https://services9.arcgis.com/RHVPKKiFTONKtxq3/arcgis/rest/services/MODIS_Thermal_v1/FeatureServer). Once the application is cloned, it still points to my Enterprise only (Old Portal Only)..
I'm using code provided in (https://github.com/Esri/arcgis-python-api/blob/master/samples/03_org_administrators/AdminClonePortal...
Please let me know how I can clone Web Mapping Application to ArcGIS Online.