Skip to content
Education Host

University cloud labs

Student virtual environments with Microsoft Entra ID

By Education HostPublished Updated

Where a lab platform integrates with Microsoft Entra ID, students can use their university Microsoft account to sign in. Access depends on the institution's application assignments, role mapping and configured security policies; enrolment changes and existing application sessions need their own lifecycle checks. This guide explains authentication, authorisation, SAML and OpenID Connect, claims and the access-removal tests to agree before launch.

Can students use university Microsoft accounts to access cloud labs?

Yes, where the platform supports institutional sign-in. Microsoft Entra ID can authenticate students using their university accounts, reducing separate lab passwords. Confirm how application assignments, module membership and relevant security policies are configured for your deployment.

The integration is conventional from Entra ID's point of view: the lab platform is registered as an enterprise application in your tenant, students authenticate with Entra ID, and the platform receives a signed token saying who they are. Everything else in this guide is about doing that simple arrangement carefully.

Authentication versus authorisation: the distinction that organises everything

Authentication is proving who you are; authorisation is deciding what you may do. Entra ID answers the first question for the lab platform: this is genuinely student 12345678, verified against institutional credentials and policy. The second question (which module's environments they see, whether they are a student or a lecturer, what they may deploy) is answered by the platform, informed by what the institution tells it through the token or its own configuration.

Keeping the distinction clear prevents the two classic design mistakes: expecting Entra ID to encode fine-grained teaching permissions it should not have to know about, and expecting the lab platform to make identity decisions (is this person still enrolled?) that belong to the institution. Identity proves; the platform permits.

How do SAML and OpenID Connect fit?

SAML and OpenID Connect (OIDC) are the two standard protocols a service uses to trust an identity provider, and Entra ID supports both for enterprise applications. Conceptually they do the same job: the user is sent to Entra ID to sign in, Entra ID authenticates them under institutional policy, and the application receives a signed assertion (SAML) or token (OIDC) containing claims, which are statements about the user. SAML is the long-established enterprise pattern; OIDC is the more modern, web-native one.

For an IT team evaluating a lab platform, the protocol choice matters less than the questions around it: which protocol does the platform support against Entra ID, what claims does it need (next section), and is the integration a standard enterprise-application setup or something bespoke. Standard is good, because it means your existing processes, conditional access and sign-in logs all work unchanged.

What claims does a lab platform actually need?

As few as possible. Data minimisation is both good privacy practice and good engineering. A teaching-lab integration typically needs a stable unique identifier, a display name, an email address or username, and something to drive authorisation: group membership or a role. It does not need job titles, phone numbers, office locations or anything else the directory happens to hold.

One practical caution from Microsoft's own guidance: emitting all of a user's groups in the token runs into token-size limits for heavily-grouped users (a common condition in universities). Prefer emitting only groups assigned to the application, or use app roles (Entra ID's mechanism for defining application-specific roles and assigning users and groups to them) so the platform receives a small, meaningful set rather than a directory dump.

Typical claims for a lab platform, and what to withhold
ClaimWhy the platform needs itNotes
Unique identifierStable key for the user's environments and recordsAn opaque ID; not something that changes on name change
Display nameShowing lecturers whose environment is whoseDisplay only
Email / usernameCommunication and human-readable identityInstitutional address, not personal
Groups or rolesDeciding module access and staff permissionsSend only relevant groups (see the caution below)
Everything elseNot neededWithhold by default; add only with a stated need

Should every student be assigned, or only some?

Assign deliberately, not universally. Entra ID enterprise applications support assignment (requiring users or groups to be explicitly assigned before they can sign in), and for a lab platform that is usually the right posture: the modules using labs are known, so assignment via module or cohort groups keeps the sign-in population meaningful and the licence conversation honest. Opening the application to the whole tenant is simpler but means anyone with a university account can authenticate, leaving all gating to the platform.

Group-based assignment also answers the module question cleanly: a group per module or cohort (however your institution already models these) is assigned to the application and mapped to the right access inside the platform. Late enrolments and withdrawals then flow through ordinary group membership changes rather than lab administration.

How should lecturer and administrator roles be assigned?

Through groups or app roles, never by hand-editing individuals in the platform. The pattern: a small set of platform roles (student, lecturer, platform administrator), each mapped from an Entra ID group or app role assignment, so role changes are directory operations with your existing joiners-movers-leavers processes behind them. A lecturer added to the module-staff group gets teaching controls; removed, they lose them, with no lab-side memory to go stale.

Keep the administrator set small and boring: named individuals, MFA-enforced, reviewed on a calendar. And resist service accounts as a convenience. A shared 'lab-admin' identity with a long-lived password is exactly the unmanaged credential SSO was meant to remove. Where the platform genuinely needs a non-human identity for integration, treat it as privileged: owned, secured with strong credentials, scoped minimally and reviewed.

How do MFA and conditional access affect lab access?

MFA and Conditional Access apply according to the policies configured for the lab application and its users. SSO alone does not establish that the same controls used for email cover the lab; check policy scope, exclusions, licensing and the student's actual sign-in route with your identity team.

Two teaching-specific wrinkles are worth checking rather than discovering. First, timetabled sessions concentrate sign-ins: ninety students authenticating (and perhaps MFA-prompting) in the same five minutes is normal for labs and worth confirming behaves well. Second, conditional access rules written for office working (blocking unfamiliar locations, say) can surprise distance learners reaching labs from abroad; review the policies that will actually apply to lab cohorts before week one.

What happens when a student leaves a module, or the university?

Agree how module withdrawals and university leavers trigger access changes. Disabling an Entra ID account is part of that process, but existing application sessions may continue until the application reevaluates or revokes them. Test both a new sign-in and a session already in progress.

Resource retention is a separate decision: agree when environments are retained for marking, exported, archived or removed. Document the responsible team and test the workflow before relying on it for a live cohort.

What if the identity provider is unavailable?

Entra ID outages are rare but real, and during one, SSO-only services are inaccessible, so decide your posture in advance rather than mid-incident. For teaching labs the proportionate answer is usually: accept the dependency for students (an Entra ID outage takes out far more of university life than the lab), keep one or two tightly-controlled break-glass administrator credentials so the platform itself can be operated and communicated about, and have a plan for the teaching moment: a session that can flex, and comms that say what is happening.

What the outage plan should not become is a shadow password system for everyone. A local credential per student 'for resilience' quietly recreates every problem SSO solved, for a failure mode measured in hours per year. Note the asymmetry that matters operationally: an IdP outage stops new sign-ins, not necessarily sessions already established. Check how your platform behaves for students already working.

How should guest and external users be handled?

Occasionally a lab cohort includes people outside the institution: external examiners, visiting staff, partner-college students. Entra ID's guest model (B2B collaboration) can cover them: the external person is invited as a guest in your tenant, subject to your policies, and reaches the application like any assigned user. That keeps external access visible and revocable in the same place as everything else, rather than through side-door local accounts.

Treat guests as a policy question first: who may be invited, by whom, with what MFA expectations, reviewed how often. For most lab deployments the honest answer is that guests are rare enough to handle deliberately, case by case. The trap is only ever the untracked alternative.

What should an SSO pilot test?

Identity is one of the highest-value things a lab pilot can exercise, because its failures are cohort-wide and term-time. A readiness and testing checklist:

  • The enterprise-application setup works end to end for a real student account, not just an IT test account
  • Claims received match the minimisation table: enough to operate, nothing more
  • Group or role mapping produces the right experience for a student, a lecturer and an administrator
  • A brand-new student (created this week) can sign in, because provisioning latency is a classic first-day failure
  • Removing a user from the module group removes access, on the timescale you expect
  • MFA and conditional access behave sensibly for the cohort's real locations and devices
  • A timetabled-session sign-in surge behaves well
  • Break-glass administration works with SSO deliberately bypassed: tested once, documented, locked away
  • Sign-in failures produce comprehensible errors and a known support route

Fold these into the wider pilot structure in our pilot guide. Identity is a stage-one, staff-only concern that must be settled before students are invited.

Read next: How to run a cloud lab pilot

How does Cloud Pulse work with Microsoft Entra ID?

Cloud Pulse can integrate with institutional identity providers, including Microsoft Entra ID, where an institution configures SSO. Students and staff sign in to their teaching labs with existing university credentials, and the configuration is agreed during onboarding against your tenant's policies rather than imposed as a fixed pattern. Role separation inside the platform follows the model this guide describes: students see their own environments, lecturers manage their modules' labs, and administrators hold platform configuration.

The identity conversation is part of scoping and of any pilot: the claims, assignment and lifecycle questions above are exactly what gets walked through with your IT team. If student web hosting rather than lab environments is the service you are wiring to Entra ID, the Student Web Hosting answer centre has its own dedicated SSO guide.

Read next: Microsoft Entra ID SSO for student web hosting

Sources and further reading

Primary sources supporting the guidance in this article.

Microsoft Entra ID for cloud labs — frequently asked questions

Short, self-contained answers that complement the guide above.

Do students need a separate password for a cloud lab?

Where the lab platform supports institutional SSO, students can use their university Microsoft account rather than a separate lab password. MFA and Conditional Access depend on the policies configured for that application and those users.

Does lab SSO require changes to our Microsoft tenant?

It requires configuration, not restructuring: registering the platform as an enterprise application, assigning the relevant groups, and agreeing the claims it receives. It uses the same standard patterns (SAML or OpenID Connect) as any other institutional application.

Can access be limited to students on specific modules?

Yes. Assign the application to module or cohort groups rather than the whole tenant, and map those groups to module access inside the platform. Enrolment changes then flow through ordinary group membership rather than lab administration.

What identity data does a lab platform receive about students?

Only the claims your tenant is configured to send, typically a unique identifier, name, institutional email and relevant group or role information. Data minimisation is the right default: withhold everything without a stated need, and record what is sent as part of the integration's documentation.

Talk to Education Host

Questions this guide didn't answer?

Tell us about your modules, cohorts and constraints — we will answer the technical and commercial questions honestly, including where a cloud lab is not the right fit.