As per:
https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/share-package.htm
This capability is not available as of ArcGIS Pro 2.7
This would be nice to have for custom scripts outside of ArcGIS apps that create some type of package, then want to share it to an OAUTH2 portal, such as ArcGIS Online
If you have saved your credentials in Pro using “Sign me in automatically”, does it make it so standalone Python can act against the same portal?
This was tested on our side - signed into Pro, click that box to save credentials for the active portal, AGOL. Closed Pro. Opened Python. Ran Share Package. It works.
Can you try that and let us know what you find?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.