In ArcGIS Pro, when attempting to share a package using the Share Package tool to Portal for ArcGIS or ArcGIS Online fails, and returns the following error message:
Error: (SharePackage) aborted by User.
In some instances, the following error message is returned:
Error: Aborted by User.
Insufficient space in the local drive storage. During the sharing process, the package data is consolidated and prepared in a staging folder on the local drive. The Share Package tool process fails when there is insufficient space in the local drive storage.
Reach out to the organization's IT department to increase the local drive storage space.