Skip to main content
Version: 10.3

Configuring Microsoft Entra ID Authentication

Use Microsoft Entra ID (Azure) to authenticate users who access LicensePredictor.

Requirements​

  • Configured Authentication Settings with Provider set to AzureAd
  • Microsoft Entra ID (Azure) Credentials
    • Tenant ID — The directory (tenant) identifier from Microsoft Entra ID
    • Client ID — The application (client) ID from your Entra app registration
    • Client Secret — The secret generated for the app (store securely)

Configuring Microsoft Entra ID Authentication​

Follow these instructions to configure Microsoft Entra ID authentication.

Step 1: Open the appsettings.json file​

  1. Navigate to the LicensePredictor directory.

    By default, this is located at: C:\Program Files\OpeniT\LicensePredictor

  2. Open the appsettings.json file.

Step 2: Configure the Microsoft Entra ID Authentication Settings​

  1. Locate the AzureAd section under Authentication in the appsettings.json file.

  2. Configure the following settings:

    • Instance — Specify the Microsoft identity platform base address. The default value is https://login.microsoftonline.com/.

    • TenantId — Enter the directory (tenant) ID from Microsoft Entra ID.

    • ClientId — Enter the application (client) ID from the Microsoft Entra ID app registration.

    • ClientSecret — Enter the client secret generated for the registered application.

      Note

      The client secret is required when Microsoft Entra ID authentication is enabled. Store sensitive credentials securely using a secret store or environment override when applicable.

    Example: appsettings.json
    "AzureAd": {
    "Instance": "https://login.microsoftonline.com/",
    "TenantId": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
    "ClientId": "9f8e7d6c-5b4a-3210-fedc-ba0987654321",
    "ClientSecret": "V~*************************************************",
  3. Save the changes.

Step 3: Restart the LicensePredictor Service​

  1. Open Task Manager.

  2. Under Services, restart the OpeniTLicensePredictor service.