External IAM register
Let your Microsoft Entra ID directory decide who may become a member: create the register, choose what it is asked by and its scope, map groups and attributes, test the connection, watch its health and renew its credential.
Studio roles: "Owner" and "Administrator", and Studio users with a permission set that holds "Community: manage", create an external IAM register and change its connection, scope, mapping and credential. Everyone who may open "Registers" sees the register's page; its "Directory", its "Accounts in scope" and the warning that its credential expires only those whose permission set holds "Community: read" too, as they read the register's connection. Only owners and administrators open the details of a call in its connection log.
An external IAM register lets the people in your identity server become members. It reads your Microsoft Entra ID directory itself, live at every check, with an app registration you create in your own tenant: no entries are copied into the Studio, and there is nothing to upload. When someone joins your organisation, leaves it or is disabled in the directory, the register knows at the person's next check. Pannoniqa AG keeps one, "Staff directory", for everyone in its Entra ID directory, by their work email.
It is not signing in with the directory account. People still sign in with appsolut, with their own email address and password; the register only answers whether that person is in your directory, and what the directory says about them.
Before you start
- The Entra connector. appsolut switches it on for your organisation. Until then the New register dialog shows the kind greyed out with "Ask appsolut to switch on the Entra connector."
- An app registration in your Microsoft Entra ID tenant, with the application permissions User.Read.All and GroupMember.Read.All and admin consent. Connect Microsoft Entra ID shows the steps in the Microsoft Entra admin center. You need its "Directory (tenant) ID" and "Application (client) ID", and either upload the certificate the Studio generates or create a client secret.
- The worldwide Microsoft cloud. The register reads directories of Microsoft's worldwide cloud only: "Provider: Microsoft Entra ID (worldwide cloud). The provider never changes."
Create an external IAM register
- Open "Registers" and choose "New register".
- Under "Kind", choose "External IAM": "Asked by the person's verified email, or by a member code from a directory attribute. Reads your Microsoft Entra ID directory itself, with your own app registration: no entries of its own, and nothing to upload."
- Enter the "Name", for example "Staff directory", and, if you like, a "Description".
- Enter the "Directory (tenant) ID" and the "Application (client) ID", as your app registration's overview shows them.
- Choose the "Credential":
- "Certificate generated by the Studio (recommended)": "The Studio creates a certificate valid for 12 months. Its private key never leaves the Studio; you upload the public certificate (.cer) to your app registration."
- "Client secret": paste the "Client secret" ("The secret's value, not its ID.") and the day it "Expires on", at most 24 months ahead, as your app registration shows it.
- Under "Asked by", choose "Email" (the default) or "Member code"; see Email or member code. For a member code, also choose the attributes it needs.
- Choose "Create register". The register's settings open.

For a certificate, choose "Download certificate (.cer)" in the settings and upload the file to your app registration: "Upload this certificate to your app registration under Certificates & secrets. Entra lists it with the thumbprint above." Then test the connection.
"The private key and the client secret are kept encrypted and are never shown again." The certificate itself is no secret: you can download it again at any time. The provider and what the register is asked by never change; the directory and application IDs can be corrected in the settings if you mistyped one.
A new register reads the directory's member accounts. It maps no group and no attribute, except, for a register asked by member code, the birth date and the challenge code chosen in the dialog. It decides nothing until you place it in the membership definition. Deleting it deletes its connection and credential; the accounts stay in your directory. Create and change a register covers what all kinds share, such as the name, the groups and deleting a register.
Email or member code
The register key says what the register is asked by: "The key is fixed once the register exists. To ask the same directory by the other key, create a second register."
Asked by email
"The person's verified email, matched against the account's mail, sign-in name and aliases." The register finds the account whose email address, sign-in name (user principal name) or one of whose email aliases is the address the person signed up with, whatever its upper and lower case. A frontend user signs up with that address and becomes a member without a member code.
An address that more than one account holds is not found: it does not tell who the person is. The check lookup shows "several directory accounts match" after the reason. Have the address removed from all but one account.
An applicant's eligibility check carries a member code and no email, so a register asked by email finds no one there.
Asked by member code
"A member code read from a directory attribute, such as the employee number. The person proves it with their birth date." It is the member code of your organisation, the same in every register asked by member code. In the dialog choose:
- the "Member code attribute": employeeId (the default), extensionAttribute1 to extensionAttribute15, or a directory extension by its full name. "Entra ID finds a changed extension attribute only after a short while.";
- the "Birth date attribute", required: "Where the directory holds the birth date. Required: the member code is proven with it.";
- if you like, a "Challenge code attribute (optional)".
How the register then finds and confirms a person:
- The code is looked up as entered, without spaces, and must match the attribute exactly, upper and lower case included. A code that more than one account holds is not found ("several directory accounts match" in the check lookup).
- At onboarding, and in an applicant's eligibility check, the person also enters their names and birth date. They are compared with the account's first name, surname and the mapped birth date, as an internal register's entry: the check lookup shows "Names or birth date do not match" and which of them differed. An account without a first name, a surname or a birth date cannot confirm anyone: the register could not answer.
- The member code attribute never changes. The birth date stays mapped: you can map it to another attribute in "Attribute mapping", but not remove it ("Required for the member code key").
- A "Challenge code" mapping is optional, and can be added or removed later in "Attribute mapping". It is read from another attribute than the member code. Once it is set, every account needs a challenge code: onboarding asks for it, compares it exactly, and refuses a missing or wrong one ("challenge code missing or wrong" in the check lookup). An account that holds no challenge code, or one Entra ID refuses to read, can never onboard with its member code. The challenge code is never shown, and the connection log keeps it only as ***.
- At sign-in the stored member code is looked up again: found is valid, a disabled or deleted account is refused at the next sign-in. Sign-in compares no facts.
Scope
"Which accounts of the directory the register reads. Accounts outside it are not found." You choose it in the register's settings, behind the gear, under "Scope":
- "Member accounts are always in scope."
- "Include guests": "Guest accounts (B2B) of the directory are in scope too." Off by default.
- "Only one directory group": "Only the accounts in this group, its nested groups included." Enter the "Group object ID" as Entra shows it: the Studio looks the group up in the directory and shows its name, or refuses an ID the directory has no group for.
Choose "Save scope". Without a group the scope is the whole directory. Pannoniqa's "Staff directory" reads the members of its group "All staff". The register's page shows it under "Directory", such as: Members · group "All staff".
Connection and connection test
The register's settings start with its "Directory connection": "How the Studio reads your Microsoft Entra ID directory: your app registration and its credential. Only users who manage the community see this." It shows the provider, the directory and application IDs ("Save directory and application" after a correction), the "Register key" ("Email", or "Member code, from" its attribute), the credential's kind and when it "Expires", and for a certificate its "Thumbprint" and "Download certificate (.cer)".
"Test connection" runs the test; enter a "Test address (optional)", or for a register asked by member code a "Test member code (optional)", to have it look that person up too. Each step shows its own outcome, "Passed", "Failed", "Skipped" or "Not set":
| Step | What it checks |
|---|---|
| "Token" | The credential gets a token from Microsoft Entra ID. |
| "Permissions" | The token carries User.Read.All and GroupMember.Read.All, and User-LifeCycleInfo.Read.All while employeeLeaveDateTime is mapped. A missing one is named: "not consented: GroupMember.Read.All". |
| "Read a user" | The directory lets the app read one account. |
| "Scope group" | The scope's group still exists ("no group in the scope" without one). |
| "Accounts in scope" | How many accounts the register reads, such as "6 accounts in scope". |
| "Mapped groups" | Every mapped directory group still exists ("1 mapped group no longer exists"). |
| "Mapped attributes" | Every mapped attribute, and the member code attribute, can be read ("cannot be read: …"). |
| "Test lookup" | Only with a test address or member code: "found", "found, but the account is disabled", "not found: no account in the directory", "not found: several accounts in the directory match" or "not found: outside the register's scope", and for a member code which facts the account lacks ("lacks birth date"). |

"Gets a token, checks its permissions, reads one user, checks the scope's group, counts the accounts in scope and checks the mapped groups and attributes. Nothing about a person is shown or kept." These steps read no more of an account than its ID. A test address or member code is looked up like at a sign-in: the test shows only the outcome above, but its calls are in the connection log like every call to the directory, and their call details hold the directory's answer about that account for 30 days (see Connection log and health). A failed step names its cause, such as "the certificate or client secret was refused (not uploaded, wrong or expired)" or "the directory has no app registration with this application id"; Connect Microsoft Entra ID says what to check.
Group mapping
"Everyone found who belongs to a directory group, directly or through nested groups, gets its register group, beside the register's own groups. Up to 50 directory groups."
- In the register's settings, under "Group mapping", enter the "Directory group (object ID)" and the "Register group".
- Choose "Map group". The Studio looks the group up in the directory and refuses one it does not hold: "Entra ID has no group with this object ID."
The list shows each directory group by its current name in the directory, with its register group. A group deleted there is marked "Deleted in Entra ID: matches no one". Pannoniqa maps its directory group "Managers" to the register group "Managers" and "Office" to "Office", so communities can filter on them like on any group.
Everyone the register finds carries its own "Groups", from the register's settings, then the register groups of the directory groups their account belongs to, at most 100 groups together.
Attribute mapping
"Directory attributes the register gives as claims, as membership start, or as member data (birth date, phone, postal address). A value that does not fit its claim's type is left out."
- To map an attribute to a claim, declare the claim in the register's "Claims" card first: "To map an attribute to a claim, declare the claim in the Claims card below first." The leaving date is the known claim "Leaving date" (leavingDate). See Claims.
- Under "Attribute mapping", choose the "Directory attribute" and what it "Gives", then "Map attribute". Each target is mapped at most once.

What it gives:
- a claim the register declares, which assignments and communities filter on;
- "Membership start", which the assignment's filters on membership start and membership length read;
- member data: "Birth date", "Phone", "Street", "ZIP", "City" and "Country". A frontend reads them live through the Members API for its signed-in member; the Studio keeps them neither on the membership nor in the check log. Like every value the directory answers, they are in the call details of the connection log for 30 days. The phone mapped from mobilePhone falls back to the first business phone; the country is taken as Entra ID gives it;
- for a register asked by member code, "Challenge code" (see Asked by member code).
The attributes: employeeHireDate, employeeLeaveDateTime, employeeType, department, companyName, jobTitle, officeLocation, the cost centre and division of employeeOrgData, mobilePhone, "businessPhones (the first)", streetAddress, postalCode, city, country, extensionAttribute1 to extensionAttribute15, and with "Directory extension…" a directory extension by its full name: "extension_, the ID of the application that registered it without dashes, _ and its name."
employeeLeaveDateTime "Needs the application permission User-LifeCycleInfo.Read.All." Without it Entra ID gives no leaving date at all, never an error, so the connection test's "Permissions" step names it missing.
Values that do not fit. A value is converted to what it gives: a date counts as its day in UTC, as the directory writes it; a number takes a point or a comma as its decimal mark; yes and no take true/false, yes/no, ja/nein and 1/0; text is trimmed and at most 255 characters (a phone 50). A value that does not convert, such as text mapped to a number claim, is left out, as if the account had none: an assignment that filters on that claim does not let the person in. The membership query lists it under "Mapped values left out", without the value.
Attributes Entra ID refuses. An attribute Entra ID refuses to read, such as a directory extension that does not exist, cannot be mapped: "Entra ID refuses to read this attribute. Check the name of the directory extension." One that becomes unreadable later, for example when its extension is deleted, is marked "Refused by Entra ID: left out". The register stays up: it reads the accounts without the mapped attributes, so their claims and member data are left out until the mapping is fixed, and the connection test names the attribute. A register asked by member code keeps the birth date and the challenge code wherever Entra ID still reads them.
Removing a mapping of membership start or of a claim is refused while the published membership definition filters this register on it: "The membership definition filters this register on what this mapping gives. Remove that filter from the assignment first." Removing a claim in the "Claims" card removes its mapping too.
Whom it finds
Placed in the membership definition, the register is asked live at every membership check, by the person's verified email or by their member code:
- Found is an account in the scope that holds the address or the member code. It is always active: the register has no "Statuses that count as members".
- A disabled account counts as a deactivated entry, so the next register is asked.
- A deleted account, an account outside the scope and an address or code no account holds are not found. So is one that several accounts hold.
- Nothing changes at once. A member whose account is disabled, deleted or leaves the scope keeps their membership until their next sign-in, which checks again and refuses them.
What a found person gets
- The directory's names. The membership takes the account's first name and surname at each check. Where a register asked by email finds an account with neither, the membership takes the names the person gave when signing up, marked "Self-declared" in the members directory. A register asked by member code needs the names to compare them.
- Groups: the register's own and the mapped ones, as above.
- Claims and membership start, as the attribute mapping gives them.
- Member data, read live when a frontend asks the Members API for its signed-in member. A disabled account gives none.
In the membership definition
An external IAM register's assignment filters on groups and claims, and on membership start and membership length where the register maps membership start. It has no counted statuses and no re-verification setting. The preview shows it as "Not countable", as an external register: it is asked live.
When the directory does not answer within 5 seconds, refuses the credential, or is busy and asks the Studio to slow down ("the directory is throttling the Studio's calls (HTTP 429)"), the register could not answer. Members whose membership was confirmed in the last 7 days keep it on the grace rule; everyone else, and every onboarding, waits until it answers again.
The register's page
Everyone who may open the register sees its page. It starts with the card every register has (A register's page): the kind and "Asked by email" or "Asked by member code", the description, its "Members", the claims it declares, the claims used in filters, its groups and its place in the membership definition. Below it:
- "Directory": the directory (tenant) ID and the scope. Only Studio users whose permission set holds "Community: read" see it, as it reads the register's connection.
- "Accounts and memberships": "The accounts in the register's scope, as Microsoft Entra ID counts them, and the memberships the register let in."
- "Accounts in scope": how many accounts the register reads now. "Counted by Microsoft Entra ID within the last minute. Its count can lag a little behind changes made in the directory." The Studio asks the directory when the page opens, reuses a count for a minute, and waits up to 2 seconds. Where the directory could not count in that time, the page shows the count of the last connection test, with when it ran, or "Not known" where no test has counted the accounts in this scope yet. Only Studio users whose permission set holds "Community: read" see this figure, as it reads the register's connection.
- "Memberships decided": the organisation memberships this register let in at their last sign-in, neither deactivated nor anonymized. One whose account left the scope counts until its next sign-in.
- The connection health, its figures, its chart and its "Recent calls", as for an external register: see Connection health.

From 30 days before the credential expires, the page shows Studio users with "Community: read" a warning with the day it expires; see Renew the credential. The Dashboard's "Register health" tile shows the register's connection health and its members, the memberships it decided.
Connection log and health
The Studio records every call to the directory in the register's connection log: for a membership check, a membership query, a frontend's read of member data, the connection test, the register's page ("Register page", its count of the accounts in scope), and a check every 5 minutes that gets a new token and reads one user. The register's connection health, "Healthy", "Degraded", "Unavailable" or "Not known", comes from that log, on the "Registers" page and in the dashboard; the 5-minute check and the page's counts do not count towards its response times.
A call's details hold the request and the directory's answer, with the email or member code it was about, so that you can see why a call failed. The client secret, the signed proof of the certificate and the directory's access token are never kept, and a challenge code only as ***. Only owners and administrators open them, and each opening is recorded. Calls and their details are kept 30 days. The access token itself lives only in the Studio's memory, never in the database.
The membership query
The membership query asks the directory live, as a sign-in would. Under "Register by register" it says why the register found no one: "the account … is disabled in the directory", "the account is outside the register's scope", "several accounts in the directory match" or "no account in the directory". A register that decided names the account, "Found in the directory as anna.berger@pannoniqa.example, enabled", with its groups, membership start and claims, and lists the "Mapped values left out", by what they were mapped to and why, never the value.
Renew the credential
A certificate is valid for 12 months, a client secret until the day you entered. After that Microsoft Entra ID refuses it: the register is unavailable, members whose membership was confirmed in the last 7 days keep it until their grace runs out, and everyone else is not let in. Renew the credential before then, without a gap:
- In the register's settings, under "New credential", choose "Add a new credential", choose a "Certificate generated by the Studio (recommended)" or a "Client secret" with the date it expires, and choose "Add the new credential". The current credential keeps working.
- For a certificate, choose "Download the new certificate (.cer)" and upload it to your app registration under "Certificates & secrets". A client secret you created there already.
- Choose "Test and switch to the new credential". The Studio runs the connection test with the new credential. Only when every step passes does it replace the current one, and the test becomes the connection's last test. Otherwise the current credential stays, and the failed steps show beside the new one; fix the cause and test again, or choose "Discard".
- Once it has replaced the old one, remove the old certificate or secret from your app registration.
From 30 days before the credential expires, the register's page and its settings show a warning with the day it expires, and the dashboard's Needs attention lists the register. The Studio users who may manage the registers (owners, administrators and "Community: manage") get an email 30 days and 7 days before the credential expires, and within its last 24 hours: one email at each step, in the organisation's branding, with a link to the register's settings.
The register activity records each change of the connection, the scope and the mapping, and the switch to a new credential with who made it, never the credential itself.



