Hi, I was wondering if anyone knows of a way to build tiles when publishing tile layers to AGOL using the TileSharingDraft class for Python. Currently, I am following (almost exactly) the first code sample in the documentation here: TileSharingDraft—ArcGIS Pro | Documentation. The script runs successfully with no errors, but the layers require me to go to settings and select "Build Tiles" for anything to show on a map.
I would like to be able to publish several tile layers at a time to speed up our mapping, but having to manually build the tiles for each published layer negate any significant time saved via Python. If anyone knows of a way to avoid manually building the tiles using AGOL, I would be much appreciative.