Azure Entra ID
Authentication Setup
Azure Configuration
- Create a Web Application Integration: In the Azure Entra ID Console under Applications click on App Registrations and click on
+ New registration. - Give it a name: e.g.
ScaleOps - Choose the Supported account types: Preferably choose
Accounts in this organizational directory only, this would allow only users from your organization to login. - Configure Redirect URI:
- Choose
Webas the platform. - For ingress setup: Use your ScaleOps dashboard URL followed by
/auth/callback(e.g.,https://<YOUR-SCALEOPS-DASHBOARD-URL>/auth/callback). - For port forwarding without ingress: Use
http://localhost:8080/auth/callback.
5. Save the Client ID and Tenant ID: Record the Application (client) ID we are going to refer to it as CLIENT-ID in this doc and the Directory (tenant) ID we are going to refer to it as TENANT-ID in this doc.
6. Save the Client Secret: Click on Certificates & secrets and click on + New client secret, give it a description and click Add. We are going to refer to it as CLIENT-SECRET.
- Note: that the secret will be shown only once, so make sure to save it somewhere safe.
- Note: that when creating the secret you can choose when it will expire, make sure to ether choose
Neveror save in the calendar when you would need to replace it.

Workload identity
Available in v1.35.12+ Workload identity works only on an AKS cluster that has the workload identity webhook. The dashboard sends the service account token that webhook mounts instead of a client secret. On any other cluster, set clientSecret.
-
On the app registration, open
Certificates & secrets, openFederated credentials, and clickAdd credential.
-
Set Federated credential scenario to
Kubernetes accessing Azure resources.
-
Cluster issuer URL: the AKS OIDC issuer. Keep the trailing slash.
az aks show --resource-group <RESOURCE-GROUP> --name <CLUSTER-NAME> --query oidcIssuerProfile.issuerUrl --output tsv -
Namespace:
scaleops-system, unless ScaleOps is installed in another namespace. -
Service account name:
scaleops-dashboards. -
Leave Subject identifier as the generated value,
system:serviceaccount:scaleops-system:scaleops-dashboards. -
Leave Audience as
api://AzureADTokenExchange.
- Set the pod label and service account annotation below, and leave
clientSecretempty. All three are required for workload identity. - Without the label the webhook does not inject a token, like documented here .
- Without
azure.workload.identity/client-idthe webhook rejects the pod, like documented here . - A non-empty
clientSecretmakes the dashboard send that secret instead.
global:
podLabels:
azure.workload.identity/use: "true"
serviceAccount:
annotations:
azure.workload.identity/client-id: <CLIENT-ID>azure.workload.identity/client-id is required. Use the same value as CLIENT-ID. azure.workload.identity/tenant-id is optional. When it is omitted, the webhook uses the tenant it was installed with. Set it only when the app registration is in a different tenant, like documented here .
ScaleOps Configuration
Add the following helm values to your helm values.yml file:
authProvider:
provider: azure
azure:
clientID: <CLIENT-ID>
tenantID: <TENANT-ID>
clientSecret: <CLIENT-SECRET> # empty uses workload identityAn empty clientSecret makes the dashboard send the token from AZURE_FEDERATED_TOKEN_FILE. That file exists only on an AKS cluster with the workload identity webhook. A non-empty secret keeps the client secret flow.
Groups Setup
Azure Configuration
- Configure the application we just created to pass groups with the JWT token.
-
Go to the Azure Portal and click on
App Registrations. -
Click on the application we just created.
-
Click on
Token configuration. -
Under
Token configurationclick onAdd groups claim. -
Choose the group types you want to use (or all) and click
Add. -
Click
Save.
-
Note that it might take a few minutes for the changes to take effect.
⚠️For large enterprises with many group memberships, selecting All groups may cause Azure to exceed the token group limit (200 groups for OIDC/OAuth2, 150 for SAML). When exceeded, the
groupsclaim is replaced with an overage indicator, breaking group-based authorization. To avoid this, select Groups assigned to the application instead, and assign the relevant groups to the Enterprise App. See Microsoft’s documentation for details.ScaleOps also stores those groups in the authentication cookie and supports at most 200 groups per user. More groups can make the cookie exceed the browser size limit and break login. Selecting Groups assigned to the application keeps both Azure’s token limit and ScaleOps’ cookie limit from being exceeded.
ℹ️ScaleOps does not import Entra groups. Add each group in the Helm lists below, or under Users & Groups, pick a role, and ScaleOps matches it the next time that user signs in.
Self-hosted matches the group Object ID. Copy that value from Entra and use it as the group name in ScaleOps. The display name does not match. ScaleOps Cloud matches the Entra display name.
For example, add the Object IDs of your viewer, operator, and admin groups, and assign Viewer, Operator, and Admin.
-
- Get the group id you want to use as admin.
- Go to the Azure Portal and click on
Azure Active Directory. - Click on
Groups. - Click on the group you want to use as admin.
- Copy the
Object IDvalue, we will refer to it asGROUP-ID.
- Go to the Azure Portal and click on
ScaleOps Configuration
Add the following helm values to your helm values.yml file:
authProvider:
provider: azure
authorization:
enabled: true
azure:
clientID: <CLIENT-ID>
tenantID: <TENANT-ID>
clientSecret: <CLIENT-SECRET> # empty uses workload identity
groupsClaim: groupsLeave clientSecret empty in that block to use workload identity. The pod label and service account annotation above are required too.