Understand users and groups in Microsoft Entra ID
We do not support direct access to the Entra ID administration portal in Office 365. Instead, institutions can have access to manage resources (for example, groups and application registrations) for their institutions through the UIS delegated management tool, Toolkit.
Creating new users
Users are created automatically based on data feeds from other systems. For example, UIS's identity and access management system, Jackdaw.
We do not support manually creating users in Entra ID.
We also take data feeds from:
- Cambridge Human Resources Information System (CHRIS)
- Cambridge Student Information System (CamSIS)
- Lookup for some fields
Usernames
In Entra ID terminology, the username is called the User Principal Name (UPN). Refer to Microsoft's Entra ID documentation for more information.
UPNs look like email addresses. For example, fjc55@cam.ac.uk.
You must not assume that all users authenticated to you by the University’s Entra ID will have the domain @cam.ac.uk. Application developers must treat the username as an opaque string because of these variations.
An Entra ID identity says nothing about the status of the user. You must not assume a user authenticated by Entra ID is a member of staff or student at Cambridge or one of its Colleges. You must use other APIs to get information about a user. For example, separately interrogating Entra ID for group membership of a user.
Person’s name
A person’s name can be set in several places.
The following algorithm is used to populate the name fields in Entra ID:
- if the person’s Display Name and Registered Names in Lookup are different, use the name components from Lookup
- If the person’s Display Name and Registered Names in Lookup are the same, use the person’s name components from the following systems in the order of:
- CHRIS as the highest priority
- CamSIS next priority
- Lookup as the source of last resort
Extension attributes
Objects in Entra ID can have multiple extension attributes that can be used to store data that does not fit into the normal object schema. UIS uses these for its own internal purposes. Users must not use these for any purpose. UIS provides no support for their use.
Groups
There are 2 broad categories of group within Entra ID:
- on-premise hosted
- cloud hosted
Previously we only supported the on-premise-hosted groups. We are now starting to support cloud-hosted groups and encourage users to use these types of group where possible. The UIS delegated management tool Toolkit can manage both categories of group.
On-premise-hosted groups
These groups are created and managed through the on-premise Blue Active Directory (Blue AD).
A tool called AD-Connect periodically synchronises these groups to Entra ID (typically every 30 minutes). Unless a group is needed for a service that can only use Blue AD, we strongly discourage the creation of new on-premise hosted groups, and Entra ID cloud-hosted groups are used instead.
Cloud-hosted groups
These only exist in Entra ID and cannot be used in Blue AD.
Group types
Both cloud-hosted and on-premise-hosted groups have 2 main types of group:
- security group: these can be used for managing security (for example, giving permission)
- mail-enabled security group: as well as security, these can be used to send email to their members (meaning it can act like an email distribution list)
The cloud-only version of mail-enabled security groups has the following extra features above the on-premise-hosted ones:
- the ability to manage the group membership through Outlook
- the ability to enforce message moderation
Central groups
As well as allowing institutions to manage groups local to their institution, UIS also centrally provides the following groups that they may find useful.
Membership of these groups is defined by rules. We will not accept requests for exceptions to these rules.
uoc-users-staff
- Description: Listed in the CHRIS data feed as a current member of university staff.
- GUID: 1f440b90-597d-45b4-9a0d-11707f784de7
- Note: User accounts can exist in zero, one or several of the uoc-users-staff and uoc-users-students groups. For example, a user may be in both the CamSIS and CHRIS data feeds.
uoc-users-students
- Description: Listed in the CamSIS data feed as a current student.
- GUID: 0cbcd7fb-1f17-48fc-ac3e-4a22131fa92d
- Note: User accounts can exist in zero, one or several of the uoc-users-students and uoc-users-staff groups. For example, a user may be in both the CamSIS and CHRIS data feeds.
uoc-users-alumni
- Description: All alumni accounts (with a UPN of <crsid>@cantab.ac.uk).
- GUID: bc7a045e-6775-423a-abc6-deac53b50712
uoc-users-cam-upn
- Description: All regular user accounts (with a UPN of <crsid>@cam.ac.uk). Roughly equivalent to the list of users authenticated by the old ucam-webauth protocol.
- GUID: b7a0f932-5964-41b2-9bb0-9b8cadf6b999
uoc-user-guests
- Description: All guest accounts in Entra ID (external users invited to Teams or SharePoint).
- GUID: 20c3c1f1-309f-497d-9169-3ac4907098a1
uoc-users-all
We strongly discourage using this group.
It includes alumni and University Library readers, who could be members of the public.
- Description: All accounts in Entra ID.
- GUID: cc2cdd8b-eace-4a4b-a950-9b989a183b97
- Note: Instead of using uoc-users-all, we recommend using uoc-users-cam-upn.
<XXX>-members-from-camsis
- Description: Per institution group listing all members as per the CamSIS data feed.
<XXX>-members-from-chris
- Description: Per institution group listing all members as per the CHRIS data feed.
Authenticating users
Entra ID supports both SAML2 and Open ID Connect (OpenIDC), but we recommend using the OpenIDC method because it is simpler to manage.
You can do this through the Application Registration section in the Application Registration section in Toolkit.
We provide some sample application configurations for Apache 2, Django and Wordpress.