I'm trying to copy/clone apps from AGOL to my Enterprise Portal using the demo Cloning notebook, and I managed to copy apps and maps over but the apps and maps still point back to the AGOL site. I can't figure out how to fix this, either repairing or not causing it in the first place. Using the Copy tool in ArcGIS Assistant didn't work either. This is time sensitive and I'm not sure what to try next.
I have reviewed this question clone-agol-portal-content-to-new-agol-portal and this question copy-portal-item-and-data-between-portals but neither had answers that solved my problem.
When you say the web maps are still pointing back to the AGOL site, do you mean that the web map's services are still pointing to AGOL?
If so, when using ArGIS Online Assistant it is a 2 step process when copying web maps:
1. Use Copy Content to move the web map between AGOL and Portal
2. Use Update the URLs of Services in a Web Map to change the service urls, so they now point to Portal services