Pro supports four types of unique identifiers for query layers
- Integer (32- and 64-bit positive values only)
- String
- GUID
- Date
But feature services only support 64 bit integer for query layer based feature services.
Add a check in the publishing tool Analysis function that warns you that the unique identifier identified for your query layer in Pro is not compatible with feature Services.