Print    Created : 31 Oct 2023 Last Update : 17 May 2024

Lifetime: Set up Perceptor Management Console on IIS

Lifetime: Set up Perceptor Management Console on IIS

Data Folders and Settings

Copy the Perceptor Website runtime files that have been provided to you from your Reseller and copy them to a folder on the same PC as the IIS installation. It is advised to copy the files into a folder under your "C:\" drive.

From this location open apssettings.json and enter the correct data for your domain, tenant id, client id and user id. A demo example is attached below:

The fields that will be populated are: 

  • PtxlDatabase: this is the connection string to your database (more info in database setup section)
  • Domain: your company's domain
  • TenantId: your Azure tenant ID
  • ClientId: this is the ID of the Perceptor Server app registration
  • ClientSecret: this is the secret value of the Perceptor Server app registration
  • CallbackPath: "/signin-oidc"
  • Audience: "api://<server client ID>"
  • GroupId: this is the ID of the user's group registered in your AAD
  • AdminEmailAddress: this is the first user's login email address
  • UsesIvgActiveDirectory: "false"
  • Under ClientApp:
    • ClientId: this is the ID of the Perceptor Client app registration
    • ServerScope: "api://<server client ID>/API.Access"

The rest of the values remain unpopulated. 


Open IIS.

Expand server.

Right click “Sites”.

Click “Add Website”.

Give a name such as Perceptor Website/Management Console.

Click the 3 dots next to the Physical Path and browse to the folder you copied the runtime files to.

Press “OK”.

In the Port box enter an unused port.

Click OK.

Select Website, click Bindings…

Click “Add…”

On the dropdown menu select the IP Address of server, add a new port number.

Make sure you select "https" as Type (the connection has to be secure over SSL).

Select your SSL certificate.

Click OK.

Make a note of the IP address and port number, you will need them later.

On the website click “Restart”.

Open Microsoft Edge and in the url enter “<IP Address of server>:<Port Number>"