Step 1: Publish a bunch of web layers to ArcGIS Online or another portal using ArcGIS Pro > Share > Web Layer
- This little script asks for user input to choose between two office locations and then update the path to the esri project file
- Uses stored credentials to keep my ArcGIS Online password separate from this code
- It helps to have the web feature name match the name of your local map