Company sign-in
Where: Menu → Manage → Sign-in

The page has two tabs: Sign-in connections (each connection one folded line with its provider, domains and state; Connect a sign-in at the top opens a window) and Automatic provisioning (SCIM).
Your staff sign in with their company account:
- through Microsoft Entra ID, Google Workspace, another OpenID Connect provider (Okta, Keycloak, Auth0 and others) or SAML 2.0;
- only with addresses in email domains you have proven with a DNS record;
- they join your organisation on their first sign-in, with the roles you choose, or only if you invited them;
- optionally only this way, without a password or email link (Company sign-in only);
- teams can follow the groups of your directory (Microsoft Entra ID, or Google Workspace with Read the directory);
- your directory can also create, update and suspend people and groups (see “Automatic provisioning (SCIM)”).
Each connection uses your organisation’s own app at your provider. Nothing is registered at the provider on the Academy’s side.
Which kind of connection?
- Microsoft Entra ID for Microsoft 365 and Entra. Only this kind reads Entra groups for teams and carries the Microsoft Teams app (see “Microsoft Teams”). There is one Microsoft Entra ID connection per Entra directory: a directory connected to another organisation can’t be connected again.
- Google Workspace for the Google accounts of your Workspace. Only Workspace accounts with a verified address get in, not private Gmail accounts.
- OpenID Connect for any other provider that speaks OpenID Connect.
- SAML 2.0 if your provider offers only SAML, or your policy requires it. SAML connections don’t read groups.
A connection holds up to 50 email domains, and a domain can be proven by one organisation only.
Who does what
Section titled “Who does what”The setup happens in up to four places. Often several people do one part each.
| Step | Where | Role needed |
|---|---|---|
| 1 Connect the sign-in, test it, switch it on, choose who joins | the academy | Administrator or Global administrator of your organisation |
| 2a App registration with redirect URI and client secret (Microsoft Entra ID) | Microsoft Entra admin centre | Registering a new app: at least Application Developer. Changing an existing one: Application Administrator or Cloud Application Administrator, or an owner of the app registration |
| 2b Graph permissions GroupMember.Read.All and User.Read.All (only for teams from Entra groups) | Microsoft Entra admin centre | Adding them: as 2a. Granting admin consent: Privileged Role Administrator or Global Administrator (the two roles of 2a can’t consent to Microsoft Graph application permissions) |
| 2c Enterprise application with SAML (only for SAML with Entra) | Microsoft Entra admin centre | Cloud Application Administrator or Application Administrator, or an owner of the enterprise application |
| 3a OAuth client (Google Workspace) | Google Cloud console | Someone who may change the Google Cloud project. The project must belong to your Workspace organisation, so its audience can be Internal |
| 3b Service account and its JSON key (only for teams from Workspace groups) | Google Cloud console | As 3a. If key creation is blocked by an organisation policy, also someone who may change your organisation’s policies |
| 3c Domain-wide delegation (only for teams from Workspace groups) | Google Admin console | Super administrator |
| 3d Custom SAML app (only for SAML with Google) | Google Admin console | Super administrator |
| 4 TXT record for each email domain | your DNS provider | Whoever manages the DNS records of the domain |
Step by step
Section titled “Step by step”1. In the academy: connect
Section titled “1. In the academy: connect”- Open Manage → Sign-in. On the Sign-in connections tab, copy the OIDC redirect URI (
https://api.academy.example.com/v1/auth/sso/callback, with your academy’s API address). Microsoft Entra ID, Google Workspace and OpenID Connect need it; SAML doesn’t. - Set up the app at your provider (sections 2 to 5 below) and come back with its values.
- Click Connect a sign-in. In the window, choose the Provider and give the connection a Name. People see it when they sign in, for example “Company account”.
- Enter the values from your provider:
- Microsoft Entra ID: Directory (tenant) ID, Client ID, Client secret;
- Google Workspace: Client ID, Client secret;
- OpenID Connect: Issuer URL, Client ID, Client secret;
- SAML 2.0: your provider’s metadata under IdP metadata (XML) (paste it, or Import XML file), the Email address attribute and the Display name attribute.
- Fill in Secret expires on if the secret has an end date. Administrators get an email 30 days before.
- Click Connect. The window closes and the page says “Connected. Now add your email domains and prove them.” The new connection is a folded line that stays open while it is switched off; open it again by clicking the line. A SAML connection now shows the academy’s own values for your provider (section 5).
- In the connection, under Email domains, enter each domain your staff’s addresses use, click Add domain and prove it (section 6).
- Click Test and sign in once with a company account. Back on this page, the result says which address your provider signed in. The test creates no account.
- Click Switch on. It stays greyed out until a test has passed and at least one domain is proven.
- Choose who gets in:
- Staff join on their first sign-in (on by default): people with an address in a proven domain become members. When it’s off, only people you invited get in.
- Roles of people who join this way: the roles new members get (Student unless you change it); click Save after a change.
- Company sign-in only (on by default): people with an address in a proven domain enter your organisation only this way, not with a password or an email link. Administrators too: when your company removes an administrator, their password or passkey no longer lets them in. It switches on only while an administrator keeps a way in (an address outside the proven domains, or their company account signed in or tested once); otherwise you get No administrator would keep a way in. If the connection breaks or your last administrator leaves, the platform’s support lets you in again on a request from your organisation. Switching it on signs those people out once.
Staff then click Sign in with your company account on the sign-in page and enter their work email, or use your organisation’s own link https://academy.example.com/login?org=<your organisation's short name>.
2. Microsoft Entra ID
Section titled “2. Microsoft Entra ID”In the Microsoft Entra admin centre (entra.microsoft.com):
- Go to Entra ID → App registrations and click New registration.
- Name: for example “Academy”. Supported account types: Single tenant only (on older screens Accounts in this organizational directory only). Click Register.
- On the Overview page, copy the Application (client) ID (the academy’s Client ID) and the Directory (tenant) ID.
- Open Authentication, click Add Redirect URI, choose the Web tile, paste the OIDC redirect URI from the academy and click Configure.
- Open Certificates & secrets → Client secrets → New client secret. Give it a description, choose when it expires (at most 24 months) and click Add. Copy the Value right away, not the Secret ID: it isn’t shown again. Enter its end date in the academy under Secret expires on.
- Optional: if people’s sign-in name (UPN) isn’t their email address, open Token configuration → Add optional claim, choose the ID token type, tick email and click Add. The academy takes the
emailclaim, and the sign-in name when there is none.
The academy accepts only accounts signed in by this directory. Guests from other directories get in only if their address is in one of your proven domains.
Teams from Entra groups. A team under Manage → Teams can follow an Entra group (see “Teams and required trainings”). The academy then reads the directory with the same app registration, as an app:
- In the app registration, open API permissions → Add a permission → Microsoft Graph → Application permissions.
- Tick GroupMember.Read.All and User.Read.All and click Add permissions. They must be application permissions, not delegated ones.
- Click Grant admin consent for
and confirm (Privileged Role Administrator or Global Administrator). The status turns to granted. - Optional, so that group changes apply at the next sign-in and not only at the daily sync: Token configuration → Add groups claim, tick Security groups, Save. A token carries at most 200 groups; people in more groups follow the daily sync only.
The sync reads the group’s members, nested groups included, with their job title, department, office location, employee ID and manager. Only enabled accounts with an address in a proven domain become members.
3. Google Workspace
Section titled “3. Google Workspace”In the Google Cloud console (console.cloud.google.com), in a project of your Workspace organisation:
- Open Google Auth Platform → Audience and set the user type to Internal. Only accounts of your organisation can sign in then.
- Open Google Auth Platform → Clients and click Create client. Choose the Web application type and a name.
- Under Authorized redirect URIs, add the OIDC redirect URI from the academy. Click Create.
- Copy the client ID and the client secret. Google shows the full secret only now; later only its last characters.
A changed redirect URI can take from 5 minutes to a few hours to work at Google.
The academy accepts only Workspace accounts with a verified address. Both the domain of the address and the domain of the Workspace must be proven in the academy.
Teams from Workspace groups (Read the directory). Google sends no groups at sign-in, so the academy reads them with a service account that acts as one of your Workspace administrators:
- In the Google Cloud console, open APIs & Services → Library, search for Admin SDK API and click Enable.
- Open IAM & Admin → Service Accounts and click Create service account. Give it a name, for example “academy-directory”. It needs no project roles.
- Click the service account’s address, open the Keys tab, click Add key → Create new key, choose JSON and click Create. The key file downloads once; keep it safe until you have uploaded it. If the console refuses, an organisation policy blocks service account keys (organisations created since May 2024 block them by default); someone who manages your organisation’s policies has to allow keys for this project.
- On the service account, click Show advanced settings and copy the Client ID under “Domain-wide delegation”.
- In the Google Admin console (admin.google.com), as a super administrator: Menu → Security → Access and data control → API controls → Manage Domain Wide Delegation → Add new. Paste the client ID, add these two scopes and click Authorize:
https://www.googleapis.com/auth/admin.directory.group.readonlyhttps://www.googleapis.com/auth/admin.directory.group.member.readonly
- In the academy, on the Google connection under Read the directory (teams from groups), upload the file under Service account JSON key. Under Workspace administrator to read as, enter the email of a Workspace administrator who can see your groups. Click Save. The connection then says which service account reads the directory, and as whom.
Delegation can take up to 24 hours at Google. Then create the team under Manage → Teams → Team from a directory group. Teams from Workspace groups follow the daily sync and Sync now; they don’t carry job titles or managers.
4. Other OpenID Connect providers
Section titled “4. Other OpenID Connect providers”At your provider (Okta, Keycloak, Auth0 and others):
- Create an app of the kind web application (a confidential client with a client secret) that uses the authorization code flow.
- Add the OIDC redirect URI from the academy as its redirect (callback) URI.
- Allow the scopes
openid,emailandprofile. The ID token must contain the person’s email address. - If the provider lets you choose how the client authenticates at the token endpoint, allow the secret in the request body (
client_secret_post): the academy sends client ID and secret that way, together with PKCE (S256). - Find the issuer: open
<issuer>/.well-known/openid-configurationin a browser. Enter the value of itsissuerfield in the academy under Issuer URL, character for character, with or without a slash at the end exactly as it is there. It must start withhttps://.
5. SAML 2.0
Section titled “5. SAML 2.0”
The academy makes its own values (entity ID, response address) only when you click Connect, and it needs your provider’s metadata for that. If your provider asks for the academy’s values before it gives you metadata, enter a temporary value there first and replace it with the academy’s values after Connect.
What the academy requires:
- metadata for exactly one identity provider (at most 128 KiB), with an HTTPS sign-in endpoint for the HTTP-Redirect binding and one to five current RSA signing certificates of at least 2048 bits;
- a signed assertion (signing the whole response as well is fine), with SHA-256 or SHA-512, not SHA-1;
- a name ID that stays the same for a person (format persistent, unspecified or email address; a temporary, transient one is refused);
- exactly one email address in the attribute you name under Email address attribute, in a proven domain;
- sign-in started from the academy. Starting it from your provider’s app portal (IdP-initiated) doesn’t work.
After Connect, the connection shows Identity provider entity ID, Academy entity ID, Assertion consumer URL (ACS), Academy metadata (with Open metadata), Academy certificate valid until, IdP metadata valid until (if the metadata has an end date) and the Trusted IdP signing certificates (SHA-256). Enter the academy’s values at your provider, or import the academy metadata if it offers that. The academy signs its sign-in requests; your provider may check them with the certificate in the academy metadata.
Microsoft Entra ID as SAML provider. In the Microsoft Entra admin centre:
- Go to Entra ID → Enterprise apps → New application → Create your own application. Enter a name, choose “Integrate any other application you don’t find in the gallery” and click Add.
- Open Single sign-on and choose SAML.
- Under Basic SAML Configuration, click Edit. Identifier (Entity ID): the Academy entity ID. Reply URL (Assertion Consumer Service URL): the Assertion consumer URL (ACS). Save.
- Under SAML Certificates, download the Federation Metadata XML and import it in the academy.
- Under SAML Signing Certificate, click Edit: Signing Option Sign SAML assertion (the default) or Sign SAML response and assertion, Signing Algorithm SHA-256. Not Sign SAML response alone.
- Under Attributes & Claims, click Edit. Find the claim whose source is the user’s mail address and enter its claim name, exactly as shown there, in the academy under Email address attribute. For the display name, click Add new claim, Name
displayName, source attributeuser.displayname, Save; or enter the name of an existing claim under Display name attribute. People without a mailbox have no mail address: give the email claim another source for them, or they can’t sign in. - Under Users and groups, add the people or groups who may sign in.
Entra answers the academy’s request with a persistent name ID that is unique to this app. Its issuer is https://sts.windows.net/<directory id>/, the same for all SAML apps of a directory, so there is one SAML connection per Entra directory.
Google Workspace as SAML provider. In the Google Admin console, as a super administrator:
- Menu → Apps → Web and mobile apps → Add app → Add custom SAML app. Enter a name and continue.
- Download the IDP metadata, import it in the academy and click Connect there. Continue in Google.
- ACS URL: the Assertion consumer URL (ACS). Entity ID: the Academy entity ID. Leave Signed response as it is (Google signs the assertion). Leave the name ID at its default, the primary email.
- Under attribute mapping, click Add mapping: map the primary email to the name you entered under Email address attribute (for example
email), and a name field to the Display name attribute. Finish. - Open the app → User access, choose On for everyone (or for the organisational units that should have it) and Save. It can take up to 24 hours.
Okta as SAML provider. In the Okta Admin Console, under Applications click Create App Integration (classic experience) and choose SAML 2.0. Single sign-on URL: the Assertion consumer URL (ACS), with “Use this for Recipient URL and Destination URL”; Audience URI (SP Entity ID): the Academy entity ID; Name ID format: the default (Unspecified) is fine. Keep the assertion signed (Assertion Signature). Add attribute statements with the names you entered in the academy. Then import the integration’s IdP metadata from its Sign On tab in the academy, and assign the people.
Later changes. Edit metadata and attributes takes new metadata (for example after your provider renewed its certificate) or other attribute names; this switches the connection off until it has been tested and switched on again. Renew Academy signing key replaces the academy’s key and switches the connection off: import the new academy metadata at your provider, then test and switch on again.
6. Prove your email domains
Section titled “6. Prove your email domains”
For each domain under Email domains, the academy shows the record to add:
| Type | Name | Value |
|---|---|---|
| TXT | _i3-academy.example.com (TXT name) |
i3-academy-verify=… (TXT value, exactly as shown) |
- Add it at your DNS provider. Many DNS panels want only the part before your domain as the name (
_i3-academyfor the domainexample.com) and add the domain themselves. - Wait until the record can be seen, then click Check. The domain turns to Proven.
To see whether the record is out yet:
Resolve-DnsName -Name "_i3-academy.example.com" -Type TXTnslookup -type=TXT _i3-academy.example.comEach domain counts exactly: example.com doesn’t cover addresses at sales.example.com; add that one too.
Set up with PowerShell (Microsoft Entra ID)
Section titled “Set up with PowerShell (Microsoft Entra ID)”Instead of clicking, the app registration of section 2 can be made with Microsoft Graph PowerShell. These are single commands to copy, not a script: paste each block into the same PowerShell window, check its output, then go on.
Values. The redirect URI exactly as the academy shows it:
$TenantId = "<directory (tenant) id>"$RedirectUri = "https://api.academy.example.com/v1/auth/sso/callback"Install the modules once:
Install-Module Microsoft.Graph.Authentication, Microsoft.Graph.Applications -Scope CurrentUserConnect-MgGraph -TenantId $TenantId -Scopes "Application.ReadWrite.All","AppRoleAssignment.ReadWrite.All"A new app registration with the redirect URI, its enterprise application and a secret for 12 months:
$app = New-MgApplication -DisplayName "Academy" -SignInAudience "AzureADMyOrg" -Web @{ RedirectUris = @($RedirectUri) }$sp = New-MgServicePrincipal -AppId $app.AppId$secret = Add-MgApplicationPassword -ApplicationId $app.Id -PasswordCredential @{ DisplayName = "Academy"; EndDateTime = (Get-Date).AddMonths(12) }[pscustomobject]@{ DirectoryId = $TenantId; ClientId = $app.AppId; ClientSecret = $secret.SecretText; SecretExpiresOn = $secret.EndDateTime.ToString("yyyy-MM-dd") }Enter the four values in the academy. The secret isn’t shown again.
Or an existing app registration:
$app = Get-MgApplication -Filter "appId eq '<client id>'"$sp = Get-MgServicePrincipal -Filter "appId eq '<client id>'"$app | Format-List DisplayName, AppId, SignInAudience, @{n="RedirectUris";e={$_.Web.RedirectUris}}Optional: the email claim (when sign-in names aren’t email addresses):
Update-MgApplication -ApplicationId $app.Id -OptionalClaims @{ IdToken = @(@{ Name = "email" }) }Teams from Entra groups: the groups claim.
Update-MgApplication -ApplicationId $app.Id -GroupMembershipClaims "SecurityGroup"Teams from Entra groups: GroupMember.Read.All and User.Read.All. Adding them needs the roles of step 2a:
$graph = Get-MgServicePrincipal -Filter "appId eq '00000003-0000-0000-c000-000000000000'"$roles = $graph.AppRoles | Where-Object { $_.Value -in "GroupMember.Read.All","User.Read.All" -and $_.AllowedMemberTypes -contains "Application" }$app = Get-MgApplication -ApplicationId $app.Id$rra = @($app.RequiredResourceAccess)$g = $rra | Where-Object ResourceAppId -eq $graph.AppIdif (-not $g) { $g = [Microsoft.Graph.PowerShell.Models.MicrosoftGraphRequiredResourceAccess]@{ ResourceAppId = $graph.AppId; ResourceAccess = @() }; $rra += $g }foreach ($r in $roles) { if (-not ($g.ResourceAccess | Where-Object Id -eq $r.Id)) { $g.ResourceAccess += [Microsoft.Graph.PowerShell.Models.MicrosoftGraphResourceAccess]@{ Id = $r.Id; Type = "Role" } } }Update-MgApplication -ApplicationId $app.Id -RequiredResourceAccess $rraAdmin consent (Privileged Role Administrator or Global Administrator):
foreach ($r in $roles) { New-MgServicePrincipalAppRoleAssignment -ServicePrincipalId $sp.Id -PrincipalId $sp.Id -ResourceId $graph.Id -AppRoleId $r.Id }Check:
Get-MgServicePrincipalAppRoleAssignment -ServicePrincipalId $sp.Id | Select-Object ResourceDisplayName, AppRoleIdSet up with gcloud (Google Workspace directory)
Section titled “Set up with gcloud (Google Workspace directory)”The service account of section 3 can be made with the Google Cloud CLI. Domain-wide delegation is granted in the Admin console as described above.
gcloud services enable admin.googleapis.com --project=<project id>gcloud iam service-accounts create academy-directory --project=<project id> --display-name="Academy directory"gcloud iam service-accounts keys create academy-directory.json --iam-account=academy-directory@<project id>.iam.gserviceaccount.comThe client ID for domain-wide delegation:
gcloud iam service-accounts describe academy-directory@<project id>.iam.gserviceaccount.com --format="value(oauth2ClientId)"Fields and buttons
Section titled “Fields and buttons”-
How to set it up: The folded line under the connection form repeats these steps in short for the provider you chose.
-
Secret expires on: Administrators get an email 30 days before. To replace the secret, create a new one at your provider first (the old one keeps working meanwhile), then click Replace client ID or secret in the connection. A window opens: enter the secret under New client secret with its end date and click Save. The window closes when it is saved; an error shows inside it. A different client or secret switches the sign-in off until it has been tested again: click Test, then Switch on. Until then, people under Company sign-in only can’t sign in, so do it in one go.
-
Switch off: Nobody signs in with the connection until you switch it on again.
-
Remove: Removes the connection; its domains are free again. People who signed in with it can no longer use it to sign in.
-
Remove next to a domain: people with an address there can no longer sign in this way. Without any proven domain, the connection switches itself off.
-
New sign-in address: Shown in a connection only after the platform moved to a new web address. Your identity provider still knows the old address, so the connection keeps sending it, and sign-in works as before until the date shown. The box lists each value twice: New: add this is what you add at your provider, In use until then is the one it knows now. For Microsoft Entra, Google and other OpenID Connect providers it is the Redirect URI: add the new one next to the old one (Entra: Authentication → Add Redirect URI, the Web tile). For SAML it is the Identifier (entity ID) and the Reply URL (ACS): add both new values and make them the default (Entra: Basic SAML Configuration → Edit). Then click Test with the new address and sign in once. When the test works, the connection uses the new address from then on and the box goes; remove the old values at your provider afterwards. If the test fails, the connection keeps the old address and people still sign in; check the value you added (see AADSTS50011 below) and test again. On the date shown the connection switches by itself, so add the new values before then, or company sign-in stops working.
When something goes wrong
Section titled “When something goes wrong”In the academy, while setting up:
- “This directory or issuer is already connected to an organisation.” Another connection, here or in another organisation, uses the same Entra directory, issuer or SAML entity ID. Use that connection, or remove it there first.
- “The provider’s OpenID configuration couldn’t be read. Check the directory ID or issuer URL.” Shown at Test. The Directory (tenant) ID is wrong, or the Issuer URL isn’t exactly the
issuerof the provider’s/.well-known/openid-configuration(watch the slash at the end), or doesn’t use HTTPS. The directory ID and issuer can’t be changed on the page: remove the connection and connect it again. - “Invalid SAML metadata. One provider, an HTTPS sign-in endpoint and valid RSA certificates are required.” The file holds several providers, has no HTTP-Redirect sign-in endpoint, its certificates are expired, not RSA or shorter than 2048 bits, or the metadata itself is past its end date. Download fresh metadata for this one app.
- “Create a new connection for a different identity provider.” The new metadata belongs to another provider (another entity ID) than the connection.
- “The TXT record wasn’t found yet. DNS changes can take a while; try again later.” Check name and value with the commands in section 6. A doubled domain (
_i3-academy.example.com.example.com) means the DNS panel added the domain itself: enter only_i3-academy. - “Another organisation already signs in this domain.” The domain is proven by another organisation. It has to remove the domain or its connection first.
- “This domain is already on the connection.” / “A connection holds at most 50 domains.”
- “Sign in once with Test before switching the connection on.” / “Prove at least one email domain before switching the connection on.”
- “Company sign-in is switched off on this platform.” The platform has switched company sign-in off. Connections you set up don’t sign anyone in until it is on again.
- “Upload the service account’s JSON key file.” The file isn’t a service account key (for example the OAuth client’s file). Create a JSON key on the service account (section 3).
- “Only a Google Workspace sign-in reads groups with a service account.”
The test or a person’s sign-in fails. The test shows “Test failed:” with one of these reasons; people see them on the sign-in page:
- “Signing in with your company account didn’t work. Please try again or ask your administrator.” The provider didn’t accept the client secret (expired, or the Secret ID was entered instead of the Value), the token couldn’t be verified, or the provider couldn’t be reached. Replace the secret (see Secret expires on) and test again.
- “Your company account didn’t confirm this email address, so it can’t sign in to an existing account.” Another OpenID provider (not Microsoft or Google) sent the address without
email_verified: true. Someone who already has an account here is connected to the company sign-in only with an address the provider confirms; otherwise anyone who can register that address at the provider would get into the account. Set the provider to confirm addresses and send the claim. New people are not affected. - “This account doesn’t belong to the company directory connected here.” Microsoft: the account comes from another Entra directory. Google: the account isn’t a Workspace account (for example a private Gmail account), or its address isn’t verified.
- “Your company account didn’t share an email address.” The token has no email address: in Entra add the optional claim
email(section 2); at other providers allow theemailscope. - “Your email address isn’t in a domain this organisation signs in.” Prove the person’s domain. A test result “The provider signed in …, but its domain isn’t proven yet” means the same. With Google, the Workspace’s own domain must be proven too.
- “This organisation only lets invited people in. Ask its administrator for an invitation.” Staff join on their first sign-in is off: invite the person, or switch it on.
- “This company sign-in isn’t available at the moment. Ask your organisation’s administrator.” The connection is switched off or removed, or company sign-in is off on the platform. Also shown to people suspended by your directory or HR system.
- “The sign-in took too long. Please start again.” More than 10 minutes passed between leaving the academy and coming back.
- “The sign-in was cancelled.” The person cancelled at the provider, or the provider refused (for example missing consent); the provider’s own page says why.
- “The SAML response could not be verified. Restart sign-in or check the connection.” A SAML requirement of section 5 isn’t met: the assertion isn’t signed or uses SHA-1; your provider signs with a certificate the academy doesn’t know yet (import the new metadata); the name ID is transient; the email attribute is missing or has several values; sign-in was started from the provider’s app portal; or the clocks differ: the academy allows 30 seconds and accepts an assertion for 5 minutes after it was issued.
- “This organisation signs you in with your company account. Use “Sign in with your company account”.” Shown to people under Company sign-in only who try a password or an email link.
Errors on Microsoft’s sign-in page:
- AADSTS50011 (the reply address doesn’t match): the redirect URI in the app registration differs from the OIDC redirect URI; it must be a Web redirect URI, character for character. With SAML: the Reply URL (Assertion Consumer Service URL) differs from the academy’s ACS.
- AADSTS700016 (application not found in the directory): the client ID doesn’t belong to this directory, or with SAML the Identifier (Entity ID) isn’t the Academy entity ID.
- AADSTS50105 (the user isn’t assigned to a role for the app): the app requires assignment; add the person or their group under Users and groups of the enterprise application.
- AADSTS65001 or AADSTS90094 (consent missing, admin consent required): people may not consent to apps in your directory. Grant admin consent under API permissions; for the sign-in’s own delegated permissions an Application Administrator or Cloud Application Administrator is enough.
Errors on Google’s sign-in page:
- redirect_uri_mismatch: the redirect URI isn’t among the client’s Authorized redirect URIs, or the change hasn’t arrived yet (up to a few hours).
- org_internal: the person’s account isn’t in the Google Cloud organisation of the project, and the audience is Internal.
Teams from directory groups. A failed group search shows “Microsoft Graph couldn’t be read. Check the app’s permissions: GroupMember.Read.All and User.Read.All as application permissions (not delegated), with admin consent. Microsoft answered: …”, for Google connections too, with Google’s answer at the end. A failed sync shows “Sync failed:” on the team, followed by the reason:
- “Microsoft Graph refused: the app needs the application permission GroupMember.Read.All (and User.Read.All) with admin consent”: add both as application permissions and grant admin consent (section 2).
- “Microsoft sign-in failed (…): AADSTS7000215 …” (invalid client secret) or AADSTS7000222 (the client secret has expired): replace the secret.
- “Google refused: give the service account domain-wide delegation for admin.directory.group.readonly and admin.directory.group.member.readonly, as a Workspace administrator”: check the client ID and both scopes under Domain-wide delegation (a change can take up to 24 hours), that Workspace administrator to read as is an administrator, and that the Admin SDK API is enabled in the project.
- “the Google sign-in has no service account for reading the directory”: upload the key under Read the directory (teams from groups).
- “the team’s company sign-in was removed”: connect the sign-in again and create the team again.
- “Choose a Microsoft Entra company sign-in.”: groups come only from a Microsoft Entra ID connection, or a Google connection that reads the directory; not from SAML or other OpenID Connect providers.
- SAML signing key: “Renew Academy signing key”, then Replace key and deactivate: the key is replaced and the connection switched off. Import the new Academy metadata at your identity provider, then test and activate again.