Is their any option to publish the GP tool on ArcGIS Online instead of publishing it in the ArcGIS Server?
This has been discussed before and the answer provided seemed to work
If you have ArcGIS for Portal, you can publish to your Portal using the Share as Web Tool in Pro. Then you will be able to use the tool in ArcGIS Online.
If I don't have Portal For Arcgis, is their any option to publish it to our online organization?
Best
Majdoleen
Publish web tools in ArcGIS Pro—ArcGIS Pro | Documentation offers a python solution, but I think the restrictions are the same
Publish web tools in a Python script—ArcGIS Pro | Documentation
Maybe you need to describe your situation since I keep coming up with references that cover a number of situations
Share with ArcGIS Pro
Share web tools
Web tools allow you to share your analysis with others in your organization's portal. Data is stored and processing occurs on a server that is federated with your portal, which makes it possible for a number of client applications in the ArcGIS platform to run the analysis, even at the same time.
What is a web tool?
Note:Sharing web tools requires administrative or web tool publisher permissions. Fine-grain publishing roles can also be configured so that anyone in a group can share a web tool to a specific federated server. Alternatively, the server allowGPAndExtensionPublishingToPublishers property can be set to allow publishers to share a web tool to the server.
Thank you Dan, I posted it as an idea here.
You can close this thread out then...