Getting Started
Architecture
NServiceBus
Transports
Persistence
ServiceInsight
ServicePulse
ServiceControl
Monitoring
Modernization
Samples

Microsoft Entra ID Authentication Guide

Component: ServiceControl

This guide explains how to configure Microsoft Entra ID (formerly Azure Active Directory) as the identity provider for ServiceControl and ServicePulse.

Prerequisites

  • Administrator permissions on the Microsoft Entra ID tenant
  • ServiceControl 6.9.0 or later
  • ServicePulse 2.5.0 or later

Overview

Two app registrations are required in Microsoft Entra ID:

  1. ServiceControl API - Represents the ServiceControl API that ServicePulse will call
  2. ServicePulse - Represents the ServicePulse single-page application that users sign into

Step 1: Register the ServiceControl API

Follow Microsoft's guide to register an application with the following settings:

SettingValue
NameServiceControl API
Supported account typesAccounts in this organizational directory only (single tenant)

After registration, collect these values from the app registration:

ValueLocationUsed for
Directory (tenant) IDOverview pageAuthority URLs
Application ID URIExpose an APIAuthentication.Audience setting

Expose the API

Follow Microsoft's guide to expose a web API and add a scope with these settings:

SettingValue
Application ID URIAccept the default (api://{app-id})
Scope nameapi.access
Who can consentAdmins and users
Admin consent display nameFull access to ServiceControl API
Admin consent descriptionAllows ServicePulse to call ServiceControl

Step 2: Register ServicePulse

Follow Microsoft's guide to register an application with the following settings:

SettingValue
NameServicePulse
Supported account typesAccounts in this organizational directory only (single tenant)
Redirect URI - PlatformSingle-page application (SPA)
Redirect URI - URIThe URL where ServicePulse is hosted (e.g., https://servicepulse.example.com/)

After registration, collect this value:

ValueLocationUsed for
Application (client) IDOverview pageAuthentication.ServicePulse.ClientId setting

Grant API permissions

Follow Microsoft's guide to configure a client application to access a web API:

  1. In the ServicePulse app registration, go to API permissions
  2. Add a permission for ServiceControl API (under My APIs)
  3. Select the api.access delegated permission

Step 3: Configure ServiceControl

Use the collected values to configure ServiceControl. For Entra ID, the authority URLs follow this pattern:

  • ServiceControl authority: https://login.microsoftonline.com/{tenant-id}
  • ServicePulse authority: https://login.microsoftonline.com/{tenant-id}/v2.0

The following table summarizes how Entra ID values map to ServiceControl settings:

Entra ID valueServiceControl setting
Directory (tenant) IDUsed in Authentication.Authority URL
Application ID URIAuthentication.Audience
Application ID URI + /api.accessAuthentication.ServicePulse.ApiScopes
ServicePulse Application (client) IDAuthentication.ServicePulse.ClientId

See Authentication Configuration for all settings and configuration examples, including App.config and environment variable formats.

Verify the configuration

After configuring ServiceControl, restart all instances. When accessing ServicePulse:

  1. The browser should redirect to the Microsoft sign-in page
  2. After signing in, ServicePulse should load and display data from ServiceControl

If authentication fails, check the ServiceControl logs for token validation errors.

Related Articles