When running as a standalone script, the Create Vector Tile Package tool fails with the following error message, "ERROR 000623: Invalid value type for parameter in_map."
Run the Create Vector Tile Package tool in ArcGIS Pro.ORRun the geoprocessing tool outside of Python window in ArcGIS Pro. ORUse the map name as in_map parameter, for example:arcpy.CreateVectorTilePackage_management(<a href="http://m.name" target="_blank">m.name</a>, <a href="http://m.name" target="_blank">m.name</a> + '.vtpk', "ONLINE")