Harvesting Users and Groups

To begin harvesting users and groups, use this proprietary Cadcorp script. This is a zip file that contains Settings.json and Azure to WebMap.ps1

  1. Download and extract these files to the root of your C: drive (or where you have access).
  2. Populate the empty fields in “settings.json” (“tenant”, “applicationID”, “WebMapDatabase”, “Secret”)

Files must be stored in the same folder.

Edit settings.json with these mandatory parameters:

Field Description

Tenant

Unique ID associated with every Azure subscription

Application ID

Also known as the Client ID

Secret

Secret value unique to user.

WebMapDatabase

physical path to webMapLayersConfig.db

  • Open 'Azure to WebMap.ps1' in Powershell ISE (preferably as an Administrator)

  • Before executing the script for the first time, ensure you have installed the PSSQLite modules. This is automatically installed by uncommenting line 18 in the script :

    17 ####Download this PowerShell module and extract it to module path (See instructions on https://github.com/RamblingCookieMonster/PSSQLite)
    18 #Install-Module PSSQLite

After the module has been installed, comment these lines again by placing a # at the beginning of the line.

Log files are produced in the same folder as the script.