laptop and a wrench

Bug

Running the portalScan.py tool using Command Prompt causes Idle to open the portalScan.py file and does not output a report.

Portal for ArcGIS
Bug ID Number BUG-000161581
SubmittedSeptember 21, 2023
Last ModifiedJune 5, 2024
Applies toPortal for ArcGIS
Version found11.1
Operating SystemWindows Server
Operating System Version2019 64 Bit
StatusAs Designed

Additional Information

Instead of running portalScan.py, run the portalScan.bat file at a command prompt. The documentation states: "The portalScan.py script is in the \tools\security directory. Run the script from the command line using portalScan.bat, which is in the same directory. You have the option to specify one or more parameters when running the script." For more information, refer to the documentation: https://enterprise.arcgis.com/en/portal/latest/administer/windows/scan-your-portal-for-security-best-practices.htm.

Workaround

Open the script in Python IDLE or run the batch file.

Steps to Reproduce

Bug ID: BUG-000161581

Software:

  • Portal for ArcGIS

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options