Hello,
I am trying to access the ClipLayer (Geoanalytics) tool using arcpy in my script to extract vector layers (polygons) that overlays grids (one by one) and save them as a new .shp. But I am getting the following error :
OSError: The toolbox file https://geoanalytics.arcgis.com/arcgis;services/GeoAnalyticsTools;UseSSOIdentityIfPortalOwned was not found.
Failed to execute (ClipLayer).
I checked the C:\Program Files\ArcGIS\Pro\Resources\ArcToolBox\toolboxes\GeoAnalytics Tools.tbx\ClipLayer.tool folder and content file, link file, resource script are available and I can run the tool successfully within ArcGIS Pro but since I have thousands of grids it is impossible to do it mnually.
Any help or way around would be much appreciated. Thank you for your time.