I've created a Script Tool in ArcPro 2.5 that uses the Python API to manage hosted layers. It is not passing the Analyze step in the Web Tool publishing workflow to publish to Portal 10.8. The line where the GIS is being declared is causing a broken project data source error. This is a real bummer. I think I have to scrap this entire model. It is simple, but very critical for copying an empty hosted layer in Portal to a new service for a user to edit in a web app.