Scan Enterprise 11 bots for Email automation with basic auth usage

Microsoft has announced EOL for Basic authentication that is used to connect to Exchange Online. This will impact bots using Email automation that uses Basic authentication. Use the utility to scan bots that are using Basic authentication mode in the Email automation command, which are using IMAP, POP3, or EWS protocols.

Scan bots

You can scan all the bots and an output report is generated in CSV format for information about the bots that use Email Automation commands with line numbers.

The utility displays the following information after it is run:
  • Bot Name
  • Bot Path
  • Command name-Email automation
  • Actions- GetAll, DeleteAll
  • Line Number
  • Searched Text
  • Review Required

Run the utility to scan the bots

  1. Download the latest version of the bot conversion utility (Bot_Conversion_Utility_v7) from the Automation Anywhere Support site: A-People home page (login required).
  2. Extract the files from the zip file you have downloaded and create a folder (for example Bot conversion utility) in the installed path location:

    Example: C: Documents\Test Data\ Bot Conversion Utility\ Bot Conversion Utility

  3. From the list of files in the Bot conversion utility folder, select the Scan_Bots.bat file to scan the bots.
  4. Edit the Scan_Bots.bat file in a notepad. The Scan_Bots.bat file will display the following variables:
    • jrepath: Path to java.exe as provided in the utility.
    • folderPath: Complete path to the folder containing the bots to scan.
    • jarFilePath: Complete path to the Bot Conversion Utility jar file.
    • app.propertiesPath: Complete path to folder containing app.properties
  5. To scan bots that uses Email automation command, add the value -emailScan in the Scan_Bots.bat file.
    Example:
    if %errorLevel% == 0 (
        echo Success: Administrative permissions confirmed.
        %jrepath% -Dext.properties.dir=%appPropertiesPath% -jar -Dfile.encoding=UTF-8 %jarFilePath% -emailScan -folderPath %folderPath%
    ) else (
        echo Failure: Current permissions inadequate.
    )
    @pause
  6. Save the file.
  7. Open the Windows command prompt in administrator mode and run the Scan_Bots.bat file to scan the bots.

    A report is generated in a CSV file with details about bots after the scan is complete. You can verify the report to check if you must take any action or review any bot.