SSO Setup
This guide walks you through setting up Microsoft Entra ID Single Sign-On for your TenantWise instance. You will need access to both the TenantWise admin console and the Microsoft Azure Portal.
TenantWise uses OAuth 2.0 with PKCE (Proof Key for Code Exchange) for secure authentication with Microsoft Entra ID.
Prerequisites
A Microsoft Azure account with permission to create App Registrations in Microsoft Entra ID.
Administrator access to the TenantWise admin console.
Step 1 - Create an App Registration
Go to the Azure Portal and navigate to Microsoft Entra ID > App registrations.
Click New registration.
Enter a name for the application, for example
TenantWise SSO.Under 'Supported account types', select Accounts in this organizational directory only.
Click Register.
Step 2 - Copy the Application and Directory IDs
From the App Registration overview page, copy the Application (client) ID.
Copy the Directory (tenant) ID.
In the TenantWise admin console, navigate to Settings > SSO Settings and enter these values in the Client ID and Tenant ID fields.
Step 3 - Create a Client Secret
In your App Registration, navigate to Certificates & secrets.
Click New client secret.
Enter a description and select an expiry period.
Click Add and copy the secret value immediately.
In the TenantWise admin console, enter the secret value in the Client Secret field.
The client secret value is only displayed once in Azure. Make sure you copy it before navigating away from the page.
Step 4 - Add the Redirect URI
In your App Registration, navigate to Authentication.
Click Add a platform and select Web.
In the TenantWise admin console, copy the redirect URI displayed on the SSO Settings page using the copy button.
Paste this URI into the Redirect URI field in Azure.
Click Configure.
Step 5 - Enable ID Tokens
In the Authentication section of your App Registration, under 'Implicit grant and hybrid flows', tick ID tokens.
Click Save.
Step 6 - Add API Permissions
In your App Registration, navigate to API permissions.
Click Add a permission and select Microsoft Graph.
Select Delegated permissions.
Add the following permissions:
openidprofileemail
Click Add permissions.
Step 7 - Enable SSO in TenantWise
In the TenantWise admin console, navigate to Settings > SSO Settings.
Tick the Enable SSO checkbox.
Optionally, enter allowed domains to restrict SSO to specific email domains.
Click Save.
After completing setup, you can create SSO-only administrator accounts from the User Management section. See SSO Settings for more information.
Last updated