How to find the IDs in Entra ID
Where to copy the Tenant ID and the group Object IDs in the Microsoft Entra admin center, and how to restrict who may sign in at all.
Struct needs two kinds of identifier from you: one Tenant ID for the connection, and one Object ID for each group you want to map. Both are copied from the Microsoft Entra admin center.
Tenant ID
Sign in to the Microsoft Entra admin center at https://entra.microsoft.com.
Go to Identity → Overview.
On the Overview tab, find Tenant ID and copy it.
It is a GUID, in the form 00000000-0000-0000-0000-000000000000. It can be found in the Microsoft Entra admin center under Identity → Overview, as Tenant ID.

Group Object ID
In the Entra admin center, go to Identity → Groups → All groups.
Find and open the group that should grant access.
On the group's Overview, copy the Object ID.
Repeat for each group you want to map. It is worth copying them into a scratch list, with the Struct role each one should map to written next to it, before you start in Struct. The configuration in Struct then takes only a couple of minutes.


Two things cause most of the confusion at this step.
Security groups only. Struct receives security groups only. A Microsoft 365 group or a distribution list will not appear in the sign-in token, so a mapping against one will never match, and it will fail silently rather than with an error. Check the group type before you copy the ID.
Restricting who may sign in at all (optional)
This is not a required step, and the integration works without it. Use it when you want Entra itself to refuse a sign-in, rather than letting anyone in the directory reach Struct and be turned away there.
Go to Identity → Applications → Enterprise applications.
Open Struct PIM.
Under Properties, set Assignment required to Yes.
Under Users and groups, assign the users or groups permitted to sign in.


Two gates, not one
It is easy to conflate this with Struct's own access rules, so it is worth separating them.
Assignment required
Entra, on the Struct PIM enterprise application
Who Entra will issue a token to at all. Anyone else never reaches Struct.
Connection access scope and mappings
Struct
What the people who do arrive may do once they are there.
They are two different gates, and you can use either or both. A user must pass the first to be seen by the second.
Last updated