You probably do not need this page. By default Altius creates its app registration during setup: install from the Azure Marketplace, open the portal, and follow the one step it shows (First-run setup). This page is for the advanced path only, where your organisation requires the app registration to be created before installing: tick Advanced: use an app registration I have already created in the install wizard's Identity step.
What you need
| An Azure subscription | With the Owner role, and App Service Premium v3 quota for one instance in the region you choose. |
| A Microsoft Entra account | That holds the Global Administrator role in the tenant Altius is being installed for. The same person completes the setup after installation. |
| Azure Cloud Shell | Open it from the Azure portal (the >_ icon) and choose Bash. Nothing needs installing on your computer. |
Step 1. Start the installation and choose a portal name
Start the installation from the Altius Cloud listing. In the Organisation step enter a portal name, an administrator email address and your organisation's name. The portal name becomes your portal's address, https://<portal name>.azurewebsites.net, and the wizard checks at once that it is free. Choose it once: the next step uses it.
Step 2. Create the app registration
Open Azure Cloud Shell (Bash) in another browser tab, signed in as a Global Administrator, and download the script:
curl -fsSLO https://www.altiuscloud.ai/install/altius-app-registration.sh
Then run it with your portal address:
bash altius-app-registration.sh create --portal-address https://contoso-altius.azurewebsites.net
The script shows the tenant it is about to use and asks you to confirm. It then prints three values: the Entra tenant ID, the client ID and the client secret. Copy the client secret now. It is shown once and cannot be read again. The script is short and you are welcome to read it first; what it creates is listed below.
Step 3. Enter the three values and install
In the wizard's Identity step tick the advanced option and enter the Entra tenant ID, client ID and client secret (at least 12 characters), then review and create. The secret is written straight into the Key Vault of your installation. Deployment takes about four minutes.
Step 4. Sign in and finish setup
Open your portal address and sign in as the Global Administrator. There is no connect step on this path: the app registration already knows your portal's address. Continue from Claim the installation on the First-run setup page.
What the script creates
| What | Why |
|---|---|
One app registration, named "Altius Cloud Platform" unless you pass --name | It is what people sign in to the portal with. |
| Supported accounts: any organisational directory | So that you can later connect other tenants you manage. Signing in to the portal itself stays limited to your own tenant. |
The permission "Sign in and read user profile" (User.Read), approved for your organisation | So that people are not each asked to approve it. |
| Directory roles included in the sign-in token | So that setup can confirm that the person claiming the installation is a Global Administrator. |
The sign-in time included in access tokens (the auth_time optional claim) | So that Altius Assist Terminal can confirm that you signed in freshly before it opens a terminal on a device. Admin, System Health reports it if it is missing, with the command that adds it. |
An application ID and one scope, access_as_user | What the portal uses to call the Altius API. |
| One client secret, valid for two years | Stored in the Key Vault inside your installation. Altius warns you before it expires. |
It also records your portal's two sign-in addresses on the app registration: the portal address, and the same address followed by /tenants/callback. If the address ever changes (a custom domain, for example):
bash altius-app-registration.sh add-portal-address https://portal.contoso.com --client-id <client ID>
The script sends nothing anywhere. Every permission Altius needs for managing a tenant is requested later, in the portal, where you can read and approve each one.
If something goes wrong
| What you see | What it means | What to do |
|---|---|---|
AADSTS50011 when signing in | The portal name entered in the wizard is not the one given to the script. | Run add-portal-address with your real portal address (the portalAddress output of the deployment). |
| "Your sign-in token carries no Entra directory roles" on the claim screen | The app registration is not set to include directory roles, or your account holds no role at the moment. | The message shows the command to run. If you hold Global Administrator through Privileged Identity Management, activate it, then sign out and back in. |
| "An app registration named ... already exists" | The script was run before in this tenant. | Use that app registration, or run create again with --name "Another name". |
| The wizard says the portal name is not available | Another web address in Azure already uses it. | Choose a different portal name. |
| The installation fails at once with a quota message | Your subscription has no App Service Premium v3 capacity in that region. | Choose another region, or ask Azure for quota under Quotas, App Service. |
| You lost the client secret | It cannot be read again. | In the Entra admin centre: App registrations, your app, Certificates and secrets, create a new one. |