When creating a vector tile package using the Create Vector Tile Package tool in ArcGIS Pro and checking the Package for ArcGIS Online option, the following error message is returned:
Error: ERROR 000707: Spatial reference of the tiling scheme does not match the spatial reference of the data frame Failed to execute (CreateVectorTilePackage).
The error occurs due to a mismatch between the spatial reference used by the data frame and the tiling scheme for ArcGIS Online, which is Web Mercator Auxiliary Sphere. For more information on the error message, refer to the following documentation, 000707: Spatial reference of the tiling scheme does not match the spatial reference of the data frame.
To resolve the issue, use the following steps to change the coordinate system of the data frame to match with the spatial reference defined for the ArcGIS Online tiling scheme, and rerun the tool: