Skip to main content
Version: Organisations 1.2.8
Use fresh AWS accounts

Install AlphaAgent Organisations into a new, empty AWS account, and give every AlphaAgent Studio deployment a new, empty AWS account of its own. Three reasons:

  1. It is AWS best practice to isolate each workload in its own account, with its own limits, billing view and permissions.
  2. Amazon Bedrock quotas are set per AWS account. Many users in one deployment share one quota and exhaust it; one account per deployment keeps each team's capacity its own.
  3. The blast radius is smaller. A problem in one deployment, or one team's mistake, cannot reach the others.

Connect your Entra ID tenant for Studio sign-in (SSO)

For the console owner or operator (or IdentityProviderManager) with an Entra ID administrator who can create an app registration and grant tenant-wide admin consent. The person who clicks Connect must be signed in to the console (owner, operator or IdentityProviderManager) and be able to grant tenant-wide consent in Microsoft (a Global Administrator); if your Global Administrator is not the break-glass owner, grant them a console role first on Identity & access > Users (Users, groups and roles). No Studio deployment can be launched until a tenant is connected. This is the second Entra ID set-up and a different Entra object from the SAML application on the previous page: that one signs your administrators in; this one lets the Organisation create each Studio deployment's own enterprise application for single sign-on (SSO) and assign users to it.

1. Open Identity providers​

In the Dock open Identity & access, then Identity providers ("Connect your identity provider once, then use it for single sign-on across any of your Studio deployments."). On a new install Connected identity providers reads "No identity providers connected yet". Click Connect identity provider in the Action Bar (disabled reason: "Requires the IdentityProviderManager role (or owner/operator)"). The Connect an identity provider page opens with Instructions, Identity Provider Configuration and Connect tenant sections.

2. Create the app registration in Entra​

Your Entra administrator follows Instructions:

  1. entra.microsoft.com (or portal.azure.com > Microsoft Entra ID) > App registrations > New registration. Name it, for example "AlphaAgent Organisations - Identity Provider Integration".
  2. Supported account types: Accounts in any organizational directory (Any Microsoft Entra ID tenant - Multitenant) (a dropdown, not radios). Under it Entra pre-checks "Select to allow only specific tenants", which disables Register: choose Allow all tenants. Redirect URI: platform Web, value copied from the page's Redirect URI field, your console origin plus /org-api/identity-providers/callback (for example https://org.example.com/org-api/identity-providers/callback). Click Register.
  3. Copy the Application (client) ID from the Overview page.
  4. API permissions > Add a permission > Microsoft Graph > Application permissions (not Delegated; the groups are collapsed, tick the checkbox rather than the row): Application.ReadWrite.OwnedBy, Application.Read.All, User.Read.All, Group.Read.All, AppRoleAssignment.ReadWrite.All. Click Grant admin consent; the status column flips to granted. A publisher-verification banner may show and does not block.
  5. Certificates & secrets > New client secret: any description, an expiry (default 180 days, maximum 24 months) > Add > copy the Value at once; it stays visible only until the page reloads.

Every Microsoft Graph call Organisations makes runs as the application itself (app-only), with these five permissions:

Permission (Application)What Organisations uses it for
Application.ReadWrite.OwnedByCreates each deployment's Enterprise Application from Microsoft's non-gallery template, as its owner, and sets its SAML identifier, reply URL, claims and signing certificate. It can change only applications it created.
Application.Read.AllReads those applications back while they are set up; finds the console's own Enterprise Application; reads which people and groups are assigned to an application before assigning more; reads the client secret's expiry for Credentials.
User.Read.AllSearches your directory for people (Users, the principal picker, Library members) and resolves a person by email or user principal name when you grant StudioUser or a console role; reads the names and emails of group members. Also lists the people a Studio user can share a chat with.
Group.Read.AllSearches your directory for groups, and reads the members of every group you grant a role to, for group sync and seat counts. Also lists the groups, and their members, a Studio user can share a chat with.
AppRoleAssignment.ReadWrite.AllAssigns people and groups to a deployment's Enterprise Application when you grant StudioUser, and console-role holders to the console's own Enterprise Application; removes those assignments on a revoke.
  • Entra adds the delegated User.Read to every new registration. Organisations never uses it: you may remove it before Grant admin consent, and the consent page then lists five permissions.
  • The tenant's display name is read with GET /organization, which Microsoft documents under Organization.Read.All. That permission is not needed: if the read is refused, the tenant connects with its ID as its name.
  • Group membership is read from the group's direct members. Members of nested groups are not resolved, and groups with hidden membership would need Member.Read.Hidden, which Organisations does not ask for.
Shared chats depend on this connection

From Organisations 1.2.6, Organisations sends each Studio the people and groups who can sign in to it, so Studio users can share chats with them. That list is built with User.Read.All and Group.Read.All, under the admin consent you grant here, with this client secret. If consent is missing or revoked, or the secret has expired, Studio's Share chat cannot offer anyone. Members of nested groups and of groups with hidden membership are not offered. Studio then says "Some people or groups can't be listed. Ask your Organisations administrator to check the Entra ID connection." Keep the secret's expiry in view under Credentials (People missing from Share chat).

3. Enter the credential and connect​

In Identity Provider Configuration ("Saving here updates the application credentials used by every connected tenant."): Provider type Microsoft Entra ID (the only choice); Client ID, the GUID (anything else is refused: "That does not look like a Client ID"); Client secret, the Value (Reveal to check the paste; "The client secret cannot contain spaces or line breaks.", usually browser autofill). Click Connect and confirm Connect identity provider? with Connect; the button reads "Saving…", then "Redirecting to Microsoft…". Microsoft's consent page lists six permissions (the five plus the default delegated User.Read, or five if you removed it) and may carry an "unverified publisher" banner; accept as an administrator who can grant tenant-wide consent. You return to the new provider's page.

What you should see​

The provider page: Identity provider details with Tenant name, Tenant ID, Status "Connected", Connected date and Deployments 0, and Delete in the Action Bar; Credentials with the Client ID (last four characters), Expires ("from Microsoft" or "entered by hand", with days remaining; "Not recorded" after a first connection), Last updated and Update credentials. Connected identity providers lists the tenant by name, with its status, Type "Microsoft Entra ID" and Connected. The deploy wizard's Identity provider section now offers "<tenant name> (Microsoft Entra ID)".

Notes​

  • Record the secret's expiry. This page has no expiry field, so after your first connection Expires reads "Not recorded" and Organisations cannot warn you before the secret runs out. Click Update credentials, enter the secret again and enter its expiry date from Entra in Secret expiry (optional) (If Expires reads "Not recorded"). An expired secret stops Organisations reading your directory (people and groups) and your sign-in configuration (Directory access).
  • One app registration and one secret serve every tenant you connect. From 30 days before expiry the row reads "Secret expires in N days"; after it, "Secret expired", and provisioning, directory search and assignments fail until updated. Rotate with Update credentials (Client ID, new Client secret, optional Secret expiry; "Verified with Microsoft and saved." or "Saved. Not verified yet" when no tenant is connected). Requires owner or operator (or IdentityProviderManager).
  • A single-tenant registration cannot be consented to from the console's flow. A connect attempt is valid for 15 minutes.
  • Delete (type the tenant name to confirm) removes only the Organisation's record, not the enterprise applications Microsoft created in your tenant; a provider linked to deployments cannot be deleted.
  • A deployment's Identity view can show SAML service-provider values for a deployment with no tenant linked, but the wizard offers no manual SAML path: Deployment detail.
  • Consent errors return you to the list with a message: Troubleshooting the install.