Proxmox VE login with Microsoft Entra ID over OpenID Connect

Sign administrators in to Proxmox VE with Microsoft Entra ID through an OpenID Connect realm, with the app registration, claims, auto-creation and role mapping planned before the change.

On this page

Proxmox VE login with Microsoft Entra ID: how the OIDC realm works

Administrators who already sign in to Microsoft services can stop managing a separate set of local Proxmox VE accounts by using the built-in OpenID Connect realm. Proxmox VE supports OpenID Connect realms, so Microsoft Entra ID can authenticate administrators while Proxmox VE keeps its own user, group and permission model. This page covers the Entra ID side of that setup: the app registration, the issuer URL, the username and groups claims, automatic creation of users and groups, and mapping groups to Proxmox VE roles. The realm is the built-in OIDC realm in Proxmox VE, not a separate connector or add-on.

The split of responsibility matters for the design. Entra ID answers the question of who the person is and whether they passed sign-in, including any conditional access and multi-factor policies you apply there. Proxmox VE still decides what that person may do, through users, groups, roles and ACL paths assigned inside the cluster. A user who signs in successfully with no matching permission can reach the login screen and see nothing useful. Plan the role model in Proxmox VE before rollout, and do not assume Entra ID group membership grants access on its own.

Before you configure anything, confirm the details in your own tenant and in the Proxmox VE documentation for your installed version: the issuer URL format that Proxmox VE expects through OpenID Connect Discovery, which claim your tenant emits for usernames, whether group claims are included in the token and how large the group list will be, and whether your administrators are in groups you can reference in Entra ID. Read the Proxmox VE user management chapter for the realm options, and test the sign-in with one non-production account first. Keep at least one local administrator account available so a misconfigured realm cannot lock you out of the cluster.

What you need before you register the app

Five things need to be in place before the Entra ID app registration can be finished: a Proxmox VE release you have confirmed, admin access to edit realms, a tenant account that can register applications, a stable redirect address, and a certificate and DNS setup the browser will trust. Work through them in this order so the realm configuration in Proxmox VE can be tested on the first attempt.

Confirm the Proxmox VE release

Check the target release against the current Proxmox VE release history before you build the realm, because the OIDC realm editor and login behavior change between versions. Proxmox VE 9.2 adds deep-link preservation across OpenID Connect logins and an advanced audiences field in the realm editor, so a 9.2 cluster and an older cluster may not behave the same. Record the exact version of every node, since a mixed-version cluster can expose the realm inconsistently. Plan for the version you will still run when the realm goes into production, not only the one you test on.

Release history

Admin access to edit realms

Creating an OpenID Connect realm requires a Proxmox VE account with permission to manage authentication realms, typically a member of the Administrator role on the root path. Confirm that this account is separate from the Entra ID account you will use for testing, and that a local break-glass administrator exists with a second factor enrolled. Without a local fallback, a misconfigured realm can lock every administrator out of the web interface. Ask whether the cluster is managed through a single node or through several, since realm changes replicate through the cluster configuration.

Entra ID tenant and app registration rights

You need a Microsoft Entra ID tenant and an account allowed to register applications in it, which may be a tenant default setting or a delegated role such as Application Developer. Ask the tenant owner whether app registration is restricted and who approves new client secrets. Confirm which Entra ID tenant holds the administrator identities, because a guest or second tenant changes the issuer URL and the group claims Proxmox VE receives. Record the tenant name and the account that will own the registration.

Redirect address for the web interface

The redirect URI registered in Entra ID must match the address administrators use to open the Proxmox VE web interface, including scheme, host name and port. Choose a stable name such as a DNS alias that will not change when a node is replaced, because a changed host name requires updating the registration and the realm. If several nodes can serve the interface, decide which name the redirect targets and confirm that every node answers on it. Write the exact value down before you open the Entra ID portal.

Certificate and DNS for the host

The browser must trust the certificate presented by the Proxmox VE web interface, and the name in that certificate must match the redirect address. Confirm that forward and reverse DNS resolve the chosen name to the correct node or load address, and that the certificate chain is available to the team that manages it. An internal certificate authority needs to be trusted by every administrator workstation. Check the certificate expiry date and the renewal process before go-live, since an expired certificate breaks the sign-in flow.

Existing Active Directory identities

If administrators already exist in on-premises Active Directory, confirm whether their accounts are synced to Entra ID with Microsoft Entra Connect before you map groups. Microsoft's comparison notes that existing Active Directory organizations use Microsoft Entra Connect to sync identities to Entra ID. Without that sync, the groups Proxmox VE reads from the token will not contain the people you expect. Ask the directory team which groups are synced, whether they are cloud-only or synced, and how group membership changes reach the cluster.

Entra ID comparison

How to configure the Entra ID realm in Proxmox VE

This sequence connects a Proxmox VE cluster to Microsoft Entra ID through an OpenID Connect realm, so administrators sign in with their work accounts and Proxmox VE creates matching users and groups on first login.

  1. Register the Proxmox VE application in Entra ID

    An administrator in your Entra tenant creates an app registration for Proxmox VE as a web application, then records the application (client) ID and creates a client secret. Store the secret in your password manager or vault, since Proxmox VE needs it when you create the realm. Done means the app registration shows a client ID and a secret value you have saved, and the secret expiry date is noted so someone can rotate it before it lapses. Confirm the current portal steps and any tenant policies on app registrations with your Entra administrator, because consent and registration rules vary by tenant.

  2. Set the redirect URI to the Proxmox VE address

    In the app registration's authentication settings, add a web redirect URI that points to the address administrators use to reach the Proxmox VE web interface, following the callback path described in the Proxmox VE user management documentation. The address must match exactly, including scheme, hostname and port, because Entra rejects logins that return to any other URL. Done means the redirect URI appears in the registration and matches the realm's configured host. If you run several clusters behind different names, register each one or confirm the approach that fits your design.

  3. Add the issuer URL to the Proxmox VE realm

    In the Proxmox VE web interface, open Datacenter, then Permissions, then Realms, and add an OpenID Connect realm. Enter the issuer URL for your tenant so Proxmox VE can load the provider configuration through OpenID Connect Discovery, then enter the client ID and the client secret from step one. Done means the realm saves without error and the discovery step returns the provider's endpoints; if it fails, check that the issuer URL is for your tenant and that the server can reach Microsoft's endpoints over the network.

  4. Choose the username claim

    Select which token claim Proxmox VE uses as the login name: subject, username or email. Subject is stable but produces opaque identifiers, while email is easier for administrators to read but depends on the mailbox value being correct and unique in your tenant. Make this choice before the first login, because changing it later can produce a second user for the same person. Done means the chosen claim is set in the realm and you have written down which value each test account should show as its Proxmox VE username.

  5. Enable automatic user creation

    Turn on the autocreate option for users in the realm so that Proxmox VE creates an account the first time an authorized person signs in. Without it, an administrator must create each user manually before login works, which the realm will not do on its own. Done means the realm shows autocreate enabled, and you have confirmed which Entra users are allowed to sign in to the application, using assignment or conditional access in your tenant, since Proxmox VE will otherwise accept any account that Entra authenticates.

  6. Add the groups claim and group autocreation

    Configure the groups claim so the token carries group membership, and enable group autocreation in the realm if you want Proxmox VE to create matching groups. Entra can emit group object IDs or names depending on the token configuration, and large memberships may be handled differently, so confirm the format in your tenant before relying on it. Done means a test token or login shows the expected group values, and the matching groups appear in Proxmox VE after sign-in.

  7. Map groups to roles and test a login

    Assign Proxmox VE roles to the groups on the datacenter permissions page, keeping the most privileged roles to a small administrator group. Then sign in with a test account that is not a cluster administrator and confirm that the user appears under the realm, belongs to the expected group and has only the permissions you assigned. Done means the test login succeeds, the user record matches your username claim choice, and the role inherited from the group is the one you intended. Record the result before you move production administrators onto the realm.

Which username claim and groups claim to choose

The subject claim (sub) is an identifier the identity provider issues for each user and application pair. It does not change when a person changes their name or sign-in address, which makes it the most stable choice for the Proxmox VE username mapping. The trade-off is readability: the value is an opaque string, so audit logs and the user list show something that administrators cannot recognize at a glance. Because the identifier is tied to the app registration, a new app registration can produce different values for the same person.

  • Stability: the value survives renames, domain changes and mailbox moves.
  • Readability: entries look like opaque identifiers, so reviewers need a mapping table to link them to people.
  • Re-registration risk: recreating the app registration can change the values, which orphans existing permissions.
  • Migration cost: switching to this claim later means renaming existing Proxmox VE users or re-granting their roles.
  • Fit: suits environments where audit trails are read through a central identity record rather than by eye.

Confirm in your own tenant which value the subject claim returns for a test administrator before any roles are assigned.

Mapping Entra ID groups to Proxmox VE roles

This table traces each piece of identity data from Entra ID to the Proxmox VE field it feeds, from the username through autocreated groups to roles and paths. Read it top to bottom when you design the realm, then confirm each mapping against a test account before you grant admin rights.

Entra ID sourceProxmox VE field it feedsWhat to decideCommon failure
Subject or email claimUsername of the autocreated userPick subject, username or email so names stay stable and unique across the tenantChanging the claim later creates duplicate accounts for the same person
Groups claimProxmox VE groups created when autocreate for groups is enabledSend only the groups the cluster needs, such as dedicated admin or operator groupsTokens that carry many groups bloat the login and make mapping hard to audit
Proxmox VE groupAssignments of roles on a path through ACL entriesBind each group to one path, for example a pool or the root path, not the whole datacenter by defaultA group granted Administrator on / gives every cluster member full control
Default role for autocreated usersRole applied to a user with no group assignment yetUse a read-only or no-access role so new sign-ins gain nothing until an admin assigns themA default role set to Administrator lets any tenant user who signs in control the cluster
Admin role assignmentBuilt-in or custom role applied on a specific pathPrefer narrow custom roles for daily tasks and keep Administrator for a small named break-glass groupAdmin rights granted by user rather than group, which drift as staff change
Group membership removed in Entra IDProxmox VE group membership at the next sign-inConfirm how fast removal takes effect and whether existing sessions expireFormer staff keep access through an open session or an unmanaged local account

How a Proxmox VE login travels through Entra ID

The sign-in starts in the browser, which is sent to Microsoft Entra ID through the OpenID Connect realm configured in Proxmox VE. Entra ID authenticates the administrator and returns an ID token whose claims, such as the username and groups, Proxmox VE reads. The important hand-off is the last one: Proxmox VE, not Entra ID, decides what that user can do, using its own user, group and ACL store. Check that the claims you configure actually arrive and that the mapped groups grant only the roles you intend.

Sign-in hand-off from the browser to Entra ID, then to Proxmox VE authorization.

Hardening the Entra ID login

An OpenID Connect realm makes Microsoft Entra ID the front door to Proxmox VE, so the identity provider, the client secret and the permissions granted on first sign-in decide how well the cluster is protected. The cards below cover the controls that connect those layers, from how the secret is kept to how far autocreated accounts can reach.

Store and rotate the client secret

The realm's client key is the credential Proxmox VE uses to exchange login codes with Entra ID, so anyone who reads it can impersonate the application. Keep the secret in a secrets store rather than in notes or tickets, limit who can read the Entra ID app registration, and set an expiry date on the secret so rotation is a scheduled task. After each rotation, confirm that a fresh sign-in still works and that the old secret no longer does.

Restrict who can sign in

Any account in the tenant that can reach the application may attempt a login, so scope access on the Entra ID side. Enable assignment required for the enterprise application and assign only the administrator group or groups that should reach Proxmox VE. Check the sign-in logs after go-live to confirm that accounts outside those groups are blocked before they reach the realm.

Keep a local break-glass administrator

If Entra ID is unavailable, misconfigured or the tenant is locked, the cluster must still be manageable. Keep one local account in the Linux PAM or Proxmox VE authentication realm, stored offline with its own strong password and second factor, and test that it works before you rely on it. Record who holds it, when it was last used and how it is reviewed.

Enforce MFA in Entra ID

Proxmox VE can only see that Entra ID accepted the sign-in, so the strength of that decision depends on Conditional Access in the tenant. Require multi-factor authentication for the Proxmox VE application, and consider blocking sign-ins from unmanaged devices or outside approved locations for administrator groups. Confirm the policy applies to the exact application registration used by the realm, since a policy on a different app does not protect this login.

Limit autocreated users to low privilege

Autocreation adds an account in Proxmox VE the first time a user signs in, and by default that account has no meaningful rights until someone grants them. Keep autocreation on only if you want that workflow, leave the built-in roles on new users empty, and grant access through the groups claim and group-to-role mappings instead. Review the list of users created by autocreation regularly and remove accounts that no longer belong to an approved group.

Review the permission model

Proxmox VE permissions combine users, groups, roles and paths, and a broad role on the root path grants access to every object in the cluster. Map each Entra ID group to the narrowest role that covers its job, avoid giving the Administrator role on the root path to more than a small named group, and use API tokens for automation rather than shared interactive logins. Export the effective permissions for each path and compare them with the approved access list at least once per review cycle.

User management docs

How to test the realm before administrators depend on it

Test the OpenID Connect realm with a pilot group before any administrator signs in through it for daily work. Pick a small set of Entra ID accounts that cover each role you plan to map, plus one account that holds no group membership at all. Sign in as each of them in a fresh browser session and confirm the expected outcome: the accounts that should land in a role get it, and the account with no mapped group gets no useful rights. Record the Proxmox VE version you run first, because deep link preservation and the advanced audiences field arrived with Proxmox VE 9.2 and your test results only apply to that release line. Confirm the version on each node, since a mixed-version cluster can behave differently from one node to the next.

Next, check what autocreation actually produced. In the datacenter user list, confirm each pilot user appears under the realm with the username taken from the claim you configured (subject, username or email), and that the groups created from the groups claim match the Entra ID groups you expected. Then check permissions with the effective permission view for each test user, not only the role names. Confirm the ACLs grant only the rights you intended, and that no test user inherits access from a broader path such as a root-level assignment. Also test two negative cases: disable one pilot account in Entra ID and confirm new logins fail, and remove a user from a mapped group and confirm the Proxmox VE group membership and rights change at the next login as you expect. Note how long existing sessions remain valid after either change.

Finally, verify the browser behavior that administrators will notice. Open a deep link to a specific VM or node page while signed out, complete the Entra ID sign-in, and confirm you land on that page on Proxmox VE 9.2 or later. On earlier releases, confirm where you land and document the workaround for your team. Test sign-out from Proxmox VE and check whether the Entra ID session also ends, since a shared workstation can keep an administrator signed in to the identity provider. Ask your Microsoft Entra administrator to confirm the tenant's session lifetime settings, and keep a local administrator account with a second factor available for recovery until the realm has passed these checks.

Common Entra ID login failures and fixes

This table pairs each common failure when signing in to Proxmox VE with Microsoft Entra ID with its likely cause and the fix to try first. Work down the rows in order of the login flow: redirect, issuer, secret, claims, roles and certificates. Most failures trace back to a mismatch between the app registration and the realm settings.

FailureLikely causeFix
Redirect URI mismatchThe redirect URI registered on the Entra app does not exactly match the callback address Proxmox VE sends, often because of a different host name, port, trailing slash or http versus https.Copy the callback address from the realm configuration into the app registration as a web redirect URI, character for character, then retry the login.
Wrong issuer URL or discovery failureThe issuer URL in the realm points to the wrong tenant, is missing the tenant segment, or the Proxmox host cannot reach the discovery document.Use the issuer URL for your own tenant from the app's endpoints page, confirm the Proxmox host can fetch its OpenID configuration, and correct the realm's issuer field.
Client secret has expiredEntra client secrets have a set expiry date, and the value shown once at creation is the only copy, so a rotated or lapsed secret causes token exchange to fail.Create a new client secret on the app registration, update the realm's key field, and record the expiry date in your renewal calendar before the old secret lapses.
Username claim returns an unexpected valueThe chosen username claim (subject, username or email) yields an identifier that differs from the account name administrators expect, or the email claim is empty for some accounts.Pick the claim that is stable and unique in your tenant, test with one account first, and check existing realm users so accounts are not duplicated under a second name.
Groups missing from tokensThe app registration does not emit group claims, the groups claim is not configured in the realm, or group membership exceeds what the token includes and requires a different lookup.Enable group claims in the app's token configuration, set the realm's groups claim to match, and confirm the test user is a member of a group assigned to the app.
Users log in with no roleAutomatic user creation succeeded, but no group-to-role mapping matches the user's groups, so the account has no permissions in Proxmox VE.Map each Entra group to a Proxmox VE role on the target path, verify the group identifiers match the claim values exactly, and have the user sign out and back in.
Certificate trust problems on the Proxmox hostThe host does not trust the certificate chain used for the discovery endpoint, often because an internal certificate authority or inspection proxy sits between the host and the identity service.Install the required CA certificate into the host's trust store, confirm the discovery URL is reachable from the host with a standard TLS check, then retry the realm test.

Questions buyers ask before setting up Entra ID login

Can Proxmox VE sign in with Microsoft Entra ID without a paid subscription?

Yes. The OpenID Connect realm is part of the software, and the software can be used without a subscription. According to the Proxmox VE pricing page, all subscription tiers include the same software features and differ in support entitlements and access to the enterprise repository. A subscription therefore affects support and the repository you update from, not whether the Entra ID realm works. Confirm which repository your team will use for production updates, since the enterprise repository requires a valid subscription key and is the recommended choice for production, while the no-subscription repository is aimed at testing and non-production use.

How long does an Entra ID login setup take, and what drives the duration?

The duration depends mainly on how many tenants, cluster nodes and role mappings are involved, and on how quickly your Entra ID administrators can register the application and approve consent. The configuration in Proxmox VE itself is small: an issuer URL, a client ID, a username claim, and optional groups handling. The longer parts are usually the identity decisions: which Entra ID groups map to which Proxmox VE roles, whether a break-glass local administrator stays in place, and how the sign-in is tested against each admin role. Ask any partner for a written scope and timeline that names these steps.

What does the customer team need to provide before the work starts?

Most of the input comes from your identity and platform teams. Expect to provide access to the Microsoft Entra admin center with rights to register an application, the tenant ID, the list of Entra ID groups that should map to Proxmox VE roles, and the Proxmox VE cluster addresses and certificate details. Your platform team should also confirm the existing realm and local administrator accounts, and who approves changes to the mapping. Agree in writing who owns the app registration after handover, because it controls who can sign in.

Do we need a Windows Server or Active Directory license for this login path?

Not for the Entra ID path itself. Proxmox VE calls Entra ID directly through OpenID Connect, so no Windows Server instance or Windows Server Client Access License is needed to make the sign-in work. A license question arises only if your organization also runs Active Directory Domain Services on Windows Server for other purposes. For reference, Microsoft's pricing page lists a suggested price of 1,176 US dollars for Windows Server 2025 Standard and 6,771 US dollars for Datacenter for 16 core licenses, noting that prices vary by region, and Client Access Licenses apply per user or device. Confirm your own agreement with Microsoft before assuming either way.

Can our administrators set up Entra ID login themselves?

Often yes, if they have the Proxmox VE administration skills and the Entra ID rights to register an application. The steps are documented in the Proxmox VE user management chapter, and the core settings are an issuer URL from OpenID Connect Discovery, a client ID, an autocreate option, a username claim and an optional groups claim. The risk sits in the details: a wrong username claim can create duplicate accounts, and an incorrect group mapping can grant administrator rights to the wrong people. A partner is most useful for reviewing the design, testing role mapping and documenting the result for your auditors.

What changes if our users sync from on-premises Active Directory with Entra Connect?

The Proxmox VE configuration stays the same because Proxmox VE talks only to Entra ID. Microsoft's comparison of Active Directory and Entra ID says organizations with existing Active Directory use Microsoft Entra Connect to sync identities to Entra ID. What changes is where the group membership is decided: group names, membership and any nested groups come from the synced directory, so changes made on-premises reach Proxmox VE only after the sync cycle runs. Check that the groups used for role mapping are synced, and that the groups claim returns the object identifiers or names your mapping expects.

What recurring work does an Entra ID login setup create?

The recurring work is mostly review. Group mappings need updating when teams change, client secrets or certificates in the app registration expire and need rotation, and admin accounts created by autocreate need periodic review. Proxmox VE upgrades also need a check that the OpenID Connect realm still works after each major release, since the release line moves with Debian security support. Ask for a written handover that lists these recurring tasks, who owns each one, and how the sign-in is retested after changes.

Official sources for the Proxmox VE OIDC realm

Treat the Proxmox VE user management chapter as the reference for every realm field used in this setup. It describes the issuer URL taken through OpenID Connect Discovery, the client ID and optional key, the autocreate option for users, the username claim (subject, username or email), and the optional groups claim with group autocreation. Before you configure the realm, read the entries for your target version side by side with your own notes, and confirm that the field names and options in your installed release match what the chapter describes. The Proxmox VE administration guide on user management is the natural starting point.

Check the Proxmox VE roadmap and release history before each upgrade, because realm behavior changes between releases. The roadmap records, for example, that Proxmox VE 9.2 preserves deep links across OpenID Connect logins and adds an advanced audiences field to the OIDC realm editor in the mobile interface. If your cluster runs an older release, confirm which of these options exist on your version before you plan around them, and note any change that affects how your login flow or claims are handled.

Microsoft's comparison of Active Directory and Microsoft Entra ID gives the directory context for the identity source behind this realm. It explains that organizations with existing Active Directory typically sync identities to Entra ID with Microsoft Entra Connect, and that Active Directory and Entra ID handle applications differently. Read it before you decide which directory object holds the groups you will map to Proxmox VE roles, so that the group names and claim values you configure match the source of truth your administrators actually maintain.

How DeployOpen scopes and delivers the Entra ID login

DeployOpen plans, builds, tests and hands over Proxmox VE login with Microsoft Entra ID as a fixed-scope piece of work inside your own infrastructure. The work covers the app registration, the OpenID Connect realm, claim mapping, group-to-role mapping and the operational runbook your administrators will use.

How we scope

  • Written scope names the Entra tenant, the Proxmox VE clusters and the admin roles that will sign in through the realm.
  • We confirm whether users are created on first login and whether groups are autocreated or pre-provisioned.
  • We agree which claim (subject, username or email) identifies each user and which group claim the tenant emits.

How we build

  • We register the Proxmox VE redirect URI in Entra ID and configure the realm with the discovery issuer URL and client ID.
  • We map Entra groups to Proxmox VE roles and test each role with a named test account before any admin is moved over.
  • We test second-factor behavior and fallback local administrator access so a tenant outage cannot lock out cluster management.

How we hand over

  • You receive the configured realm settings, the group-to-role mapping table and the app registration record in writing.
  • The runbook covers adding a group, rotating the client secret and removing a leaving administrator.
  • A retest checklist confirms login, role assignment and denial paths after each change to the tenant or the cluster.

How we support

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • Ongoing support, upgrades and continuous testing are available as a retainer, including re-checks after Proxmox VE upgrades.
  • Ask for a quote that itemizes realm setup, role mapping, testing and handover so you can compare it with your own team's effort.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.