Post Deployment

Follow the instruction below to complete the setup of Microsoft Entra ID authentication for the Management API and Management Portal applications after the deployment is complete.

Update App Configuration settings

  1. Sign in to the Azure portal as at least a Contributor.

  2. Navigate to the resource group that was created as part of the deployment.

  3. Select the App Configuration resource and select Configuration explorer to view the values.

  4. Enter entra in the search box to filter the results.

  5. Check the box next to Key in the header to select all items.

  6. Select Edit to open a JSON editor for the selected items.

    The configuration settings are filtered by entra and all items are selected.

  7. Replace the values for the following settings with the values that you recorded earlier:

    • FoundationaLLM:Management:Entra:ClientId: The Application (client) ID of the client application that you created earlier.
    • FoundationaLLM:Management:Entra:Scopes: The fully-qualified scopes path for the API application that you created earlier. It should look like api://FoundationaLLM.Management-API/Data.Manage.
    • FoundationaLLM:Management:Entra:TenantId: The Directory (tenant) ID of the client application that you created earlier.
    • FoundationaLLM:ManagementAPI:Entra:ClientId: The Application (client) ID of the API application that you created earlier.
    • FoundationaLLM:ManagementAPI:Entra:TenantId: The Directory (tenant) ID of the API application that you created earlier.
  8. Validate the following values while reviewing the settings:

    • FoundationaLLM:Management:Entra:CallbackPath: Should be /signin-oidc.
    • FoundationaLLM:Management:Entra:Instance: Should be https://login.microsoftonline.com/.
    • FoundationaLLM:ManagementAPI:Entra:Instance: Should be https://login.microsoftonline.com/.
    • FoundationaLLM:ManagementAPI:Entra:Scopes: Should be Data.Manage.
  9. Select Apply to save the changes.

Next steps

Now that Entra authentication is fully configured, restart the Management API and management portal applications to apply the changes. Navigate to your management portal application or refresh the page if it is already open. It should automatically prompt you to sign in with your Microsoft Entra ID account.