Single Sign-On with Microsoft Entra ID

Connect your organization's Microsoft Entra ID to Arkham. Your people sign in to Arkham through Entra ID, and Entra ID adds them to your Arkham organization when you assign them and removes them when they leave.

Everything on the Arkham side is in Settings → Organization, which your organization's admins see.

What You'll Need

  • An admin of your Arkham organization.
  • A Microsoft Entra admin who can create enterprise applications and app registrations, such as a Cloud Application Administrator.
  • Access to your email domain's DNS, to show Arkham that your organization owns it.

1. Verify Your Email Domain

Only people whose email address is at a verified domain sign in through Entra ID.

  1. In Arkham, under Single Sign-On, enter your domain (for example acme.com) in Add domain and click Add.
  2. Arkham shows a TXT record and its Value. Publish that record at your DNS provider.
  3. Click Verify. Arkham reads the record once; the domain stays verified after that.

Public email domains such as gmail.com can't be verified.

2. Connect Entra ID

Arkham supports SAML 2.0 and OpenID Connect. Set up one of them. If you want Entra ID to provision your people (step 4), use SAML: provisioning is set up on the enterprise application the SAML steps create.

SAML 2.0

  1. In the Microsoft Entra admin center, go to Entra ID → Enterprise apps, click New application, then Create your own application.

  2. Name the app Arkham, choose Integrate any other application you don't find in the gallery (Non-gallery) and click Create.

  3. Under Single sign-on, choose SAML. In Basic SAML Configuration, click Edit and fill in:

    Entra ID settingValue
    Identifier (Entity ID)https://api.arkm.com/auth/sso/saml/metadata
    Reply URL (Assertion Consumer Service URL)https://api.arkm.com/auth/sso/saml/acs

    Leave the other fields empty and click Save. Arkham shows the same two addresses under SAML 2.0 as Entity ID and ACS URL.

  4. Leave Attributes & Claims as they are. Arkham reads a person's email address from the emailaddress claim, which Entra ID fills from their Email. When that claim is missing, Arkham uses the Name ID, which Entra ID fills from their user principal name.

  5. Under SAML Certificates, copy the App Federation Metadata Url.

  6. In Arkham, under Single Sign-On, choose SAML 2.0, paste the address into Identity provider metadata URL and click Save provider. Arkham shows the provider, its sign-in URL and when its certificate expires.

Warning
Arkham reads Entra ID's metadata once, when you save. After you renew the app's SAML signing certificate in Entra ID, click Save provider again.

OpenID Connect

  1. In the Microsoft Entra admin center, go to Entra ID → App registrations and click New registration.
  2. Name the app Arkham and, under Supported account types, choose the single-tenant option, for accounts in your directory only.
  3. Under Redirect URI, choose Web, enter https://api.arkm.com/auth/sso/oidc/callback and click Register. Arkham shows this address under OpenID Connect as Redirect URI.
  4. On the app's Overview, copy the Application (client) ID and the Directory (tenant) ID.
  5. Under Certificates & secrets, click New client secret, choose when it expires and click Add. Copy the secret's Value, not its Secret ID; Entra ID shows it only once.
  6. Under Token configuration, click Add optional claim, choose ID, tick email and click Add. If Entra ID asks to turn on the Microsoft Graph email permission, tick it and click Add. Entra ID leaves the email address out of sign-ins otherwise, and Arkham needs it.
  7. In Arkham, under Single Sign-On, choose OpenID Connect and enter:
    • Issuer: https://login.microsoftonline.com/TENANT_ID/v2.0, with your Directory (tenant) ID in place of TENANT_ID
    • Client ID: the Application (client) ID
    • Client secret: the secret's Value
  8. Click Save provider.

Until you require assignment, everyone in your directory can sign in to an app registration. To limit it to the people you assign in section 3, go to Entra ID → Enterprise apps, open Arkham, set Assignment required? to Yes under Properties and click Save.

Warning
Entra ID client secrets expire. Before Arkham's does, create a new one, enter it in Arkham as the Client secret and click Save provider.

Who Gets an Account

With Create and seat accounts on first sign-in on, anyone at a verified domain whom Entra ID signs in gets an Arkham account if they have none, and a seat in your organization. With it off, only your organization's members and people with a pending invite can sign in through Entra ID.

Whichever protocol you use, Arkham takes the email address Entra ID sends as the person's email address, so it must be their work email at a verified domain.

Entra ID doesn't tell Arkham whether it has verified an email address. So someone who had an Arkham account before your organization connected Entra ID can sign in through it only once your organization has invited them or given them a seat.

Switching between SAML and OpenID Connect replaces the provider: your people sign in through the new one as if for the first time.

3. Assign People and Sign In

  1. In Entra ID, go to Entra ID → Enterprise apps, open Arkham, go to Users and groups and click Add user/group. Choose the people or groups who should use Arkham and click Assign. Assigning groups needs Microsoft Entra ID P1 or P2.
  2. On arkm.com, click Use Single Sign-On, enter your work email and click Continue. Entra ID signs you in and returns you to Arkham.

To test while you are signed in to Arkham as someone else, use a private window.

Sign-in starts at Arkham. Opening Arkham from My Apps doesn't sign you in, so you may want to set Visible to users? to No under the enterprise application's Properties.

People whose Arkham account has an authenticator app enter its code after Entra ID signs them in.

4. Turn On Provisioning (SCIM)

With provisioning, Entra ID adds people to your Arkham organization when you assign them, before they first sign in, and removes them when you unassign, disable or delete them. These steps are for the SAML app from step 2.

In Arkham:

  1. Under Directory Provisioning (SCIM), click Generate token and copy it. It isn't shown again. The token belongs to a provisioning account that holds one of your seats.

In Entra ID:

  1. In the Arkham enterprise application, open Provisioning and set Provisioning Mode to Automatic. Under Admin Credentials, fill in:

    Entra ID settingValue
    Tenant URLhttps://api.arkm.com/scim/v2
    Secret TokenThe token from step 1
  2. Click Test Connection. Entra ID should report that the credentials are authorized. Click Save.

  3. Under Mappings, open Provision Microsoft Entra ID Users. Arkham takes userName as the person's email address, and it must be the address Entra ID sends when they sign in. Entra ID fills userName from the user principal name; if your user principal names aren't your people's email addresses, edit the userName mapping, set its source attribute to mail and save.

  4. Back under Mappings, open Provision Microsoft Entra ID Groups, set Enabled to No and save. The people in the groups you assign are still provisioned.

  5. Under Settings, leave Scope at Sync only assigned users and groups. Set Provisioning Status to On and click Save.

Entra ID provisions about every 40 minutes. To provision one person straight away, use Provision on demand.

What Entra ID then does in Arkham:

In Entra IDIn Arkham
Assign a person, or a group they're in, to the appCreates their Arkham account if they have none and gives them a seat in your organization
Unassign, disable or delete themRemoves them from your organization, ends their sessions and revokes the API keys they created
Assign them againGives them a seat again

A person's userName must be their email address at one of your verified domains, and it can't be changed once Entra ID has provisioned them. Entra ID can't add anyone while your organization has no free seat.

5. Require Single Sign-On (Optional)

Once everyone signs in through Entra ID, you can make it the only way in for your domains. Before you can:

  • At least one admin of your Arkham organization needs an authenticator app on their Arkham account.
  • You need to be signed in to Arkham through Entra ID, which shows that the connection works.

Then tick Require single sign-on. Your organization's admins who have an authenticator app are exempt and can still sign in with their password, so an Entra ID outage can't lock your organization out; keep at least one. For everyone else with an email address at your verified domains:

  • Password, Google and Apple sign-in are refused, and so are password sign-ups, password resets and changing an account's email to or from your domains.
  • Their sessions that didn't start with Entra ID end.
  • The Arkham mobile app doesn't support single sign-on, so they can't sign in there.

Troubleshooting

Arkham saysWhat to do
Your identity provider signed you in with an email address your organization has not verified with Arkham.The address Entra ID sent isn't at a verified domain, or Entra ID sent none. Check the person's Email and user principal name in Entra ID, and for OpenID Connect the email optional claim, or verify the domain.
You have not been added to your organization on Arkham. Ask your organization's admin for an invite.Create and seat accounts on first sign-in is off. Invite the person in Arkham, or assign them in Entra ID with provisioning on.
Your identity provider did not confirm your email address, so it cannot be linked to your existing Arkham account.The person had an Arkham account before your organization connected Entra ID. Invite them in Arkham, or assign them in Entra ID with provisioning on, then sign in again.
Your organization has no free seat on Arkham.Free a seat in your organization, or ask Arkham for more.
Your Arkham account belongs to another organization.The person must leave their other Arkham organization first.
Your organization requires single sign-on. Use Single Sign-On to sign in.Single sign-on is required for this address. Use Use Single Sign-On on the sign-in page.

If Entra ID says the signed-in user isn't assigned to a role for the application, assign them to Arkham under Users and groups.

If Entra ID's Test Connection fails, the token may be incomplete or replaced: generate a new one and paste it again.

Identity Activity, in the same settings, lists every change to your single sign-on and provisioning token, who made it, and the people and groups Entra ID added and removed.