We are trying to script some automation for publishing sde services from Pro 2.5 to our Portal site. I've been able to create the .sd draft but when trying to StageService I get error 999999. Anyone else run into this issue?
Does this link cover your error?
ArcGIS Pro 2.5 Fails to Overwrite Web Layer - Staging Failed
Retrieving data ...