Ever since going to ArcGIS Pro/Enterprise Portal, I have been having difficultly with publishing services to our Enterprise Portal. I'm not sure if this is a bug in Pro, but if you have 'Allow assignment of unique IDs for sharing web layers' unchecked in the map properties within the Table of Contents and want to share feature service, it will always have it checked, throwing an error before you share. This might be a feature that is done on purpose? Not sure. But every time I overwrite a layer, I have to uncheck the box.
But the real issue I am concerned about is when I don't allow for unique ID's and create an independent service for each layer I share, I've had instances where the unique ID will change (from 0 to 10) after I have overwritten the service. I'm doing something simple like changing the source of the layer from a view to a static table or including new fields.
This is frustrating because it literally breaks everything I have, web apps, maps, dashboards, etc. Luckily, I can use the AGO Assistant to solve this, but it makes me nervous when I am working with very important information that needs to be updated.
I am using ArcGIS Pro 3.0.1 and Enterprise Portal 10.8.1 (I believe)