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

Download and extract these files to the root of your C: drive (or where you have access)

This is an unsigned script and therefore requires an Unrestricted Execution Policy to run.

  • Files must be stored in the same folder.

  • Edit Settings.json with these mandatory parameters:

Field Description

Tenant

TenantID

User

Azure User ID

Password

Password for user

WebMapDatabase

physical path to webMapLayersConfig.db

  • Remember you can also set these optional parameters:

  • Open 'Azure to WebMap.ps1' in Powershell ISE.

  • Before executing the script for the first time, ensure you have installed these two modules. They are automatically installed by uncommenting two lines in the script (lines 15 & 18):

    14 #### see https://docs.microsoft.com/en-us/powershell/azure/active-directory/install-adv2?view=azureadps-2.0
    15 #Install-Module AzureAD
    16
    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 modules have 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.