I am trying to publish ArcGIS pro project in local portal not in the online by arcpy script. but the DataBase changes doesn't reflect to the published map service, the data always return as the state before publishing although I select copy_data_to_server = false. and the service_type is featureacess.
when I share one of the pro project layers by share as web layer in layer context menu, The database changes reflect on this case.
The database is registered in the datastore and portal is federated to server.
Is this is the normal bahviour of publishing pro project by arcpy ?
The publish arcpy URL : http://pro.arcgis.com/en/pro-app/arcpy/mapping/createweblayersddraft.htm.