Prerequisites
- Global administrator role in the Entra ID tenant
- Access to the TruU Admin Console for the environment being updated
- The domain must already be federated with TruU (see Federating Entra ID Domain to TruU for Authentication)
- PowerShell 64-bit, run as administrator, on a Windows machine with network access to Entra ID
- The Microsoft Graph PowerShell module installed, with an active
Connect-MgGraphsession authenticated as an account with permission to manage domain federation settings (Domain.ReadWrite.All)
Creating a New Entra ID Adapter Using TruU Admin Console
- Navigate to Integrations and click on the (+) in the top right corner
- Add a new Single Sign On adapter by clicking the (+) in the upper right corner
- Select Entra ID type and click Create
- Enter a distinct Adapter Name and the Entra ID Domain (this should match the domain that is currently federated). The ID Server URL is pre-populated and does not need to be changed. Select a certificate validity period and a FIDO Origin (default, in most cases). Set the Default View to match the setting on your existing Entra ID adapter
- Click Apply. This will download a PowerShell script containing the updated configuration needed to re-establish federation in Entra ID
Note: Creating a new adapter does not remove or disable the existing one. Once the new adapter’s configuration has been applied via the federation script (below), the old adapter’s certificate is no longer used for federated authentication and can be retired from the TruU Admin Console.
Important: Save a copy of the downloaded PowerShell script somewhere secure. The TruU Admin Console does not provide a way to re-download the script or certificate for an adapter after it has been created, so if federation ever needs to be re-applied with this same certificate, the saved script will be required.
Applying the Updated Configuration Using the PowerShell Script
The script downloaded from the TruU Admin Console only sets the values for the new adapter (domain, display name, sign-in and sign-out URIs, signing certificate, and protocol settings) and callsNew-MgDomainFederationConfiguration directly. For an update, use the full PowerShell script published in Federating Entra ID Domain to TruU for Authentication instead of running the downloaded script on its own — the full script also verifies the Microsoft Graph module and required scopes (Domain.ReadWrite.All and Directory.ReadWrite.All), and, because the domain is already federated, safely converts it to Managed authentication and waits before re-federating, rather than attempting to federate an already-federated domain directly.
- Run PowerShell 64 app on Windows as administrator
- Copy and paste the full PowerShell script from Federating Entra ID Domain to TruU for Authentication into your PowerShell session
- Open the script downloaded from the TruU Admin Console in the previous step, and copy the variable assignments (domain, display name, URIs, signing certificate, protocol, and MFA behavior) into Step 3 of the pasted script, replacing the placeholder values
- Run the script
New-MgDomainFederationConfiguration with the new adapter’s settings, and finally confirm that the domain’s authentication type is now Federated. Once the script completes, authentication will use the new certificate and settings going forward.
Testing Federated Authentication
After the script completes, confirm that federated sign-in is still working as expected:- Sign out of any active sessions
- Navigate to a sign-in page for the federated domain
- Enter the email address for a user in the federated domain on the Microsoft sign-in screen and confirm that authentication is redirected to TruU
- Complete authentication with TruU and confirm the user is signed in successfully

