Anyone else had trouble exporting a feature class from an ArcGIS Online feature service or layer package when the Environment settings for a different coordinate system are set?
I have tried to export both the USA States and USA Counties layer packages, with only New Jersey selected, from AGOL in Pro while the application level Environment setting for the output coordinate system is set to NJ State Plane. An error shows (attached), that the spatial index grid size is invalid, and the output feature class is produced but is empty. If I remove the environment setting, the procedure works.
I came across this issue while working on an extended project. I restarted Pro and tried it in a new blank project and got the same problem. I retested in the original project and the error and solution continue, so it is a persistent issue.
I tested the procedure in ArcMap with the same data and it works flawlessly (always has).