Map and feature service published from the same geometric network returns different geometry when the query includes a transformation to a different coordinate system.
In the published mxd file, define the geographic transformation between the service Geographic Coordinate Systems and the Output Spatial Reference System (for instance 102100 if users use their feature service in the ArcGIS Online web map).<a href="https://support.esri.com/en/technical-article/000005629" target="_blank">https://support.esri.com/en/technical-article/000005629</a>.