This guide will walk you through setting up Allthenticate as an Identity Provider to let your organization users log into Microsoft Office 365 and other online services.
In order to successfully switch Identity providers, an Administrator would have to have the Global Administrator role assigned first.
All users must also have an On-Premises Immutable ID assigned to them in order for Microsoft to verify their identity during login.
The Administrator can have access to Powershell and the module Microsoft.Graph installed. It can be installed by running this command:
Install-Module Microsoft.Graph -Scope CurrentUser
This is only necessary if the customer wants to configure domain federation themselves. We are able to configure domain federation on our end if that is something you desire.
Why is this needed?
Usually, the Authentication Type for users from your organization’s domain are set to Managed by default.
This means that Microsoft Entra will handle the login and prompt the users for their email and password.
In order to facilitate SSO logins, the Authentication Type must be changed to Federated .
You can check this by running the following command: Get-AzureADDomain
PS C:\Users\Admin\Desktop> Get-AzureADDomain
Name AvailabilityStatus AuthenticationType
---- ------------------ ------------------
yourorganization.onmicrosoft.com Managed
yourorganization.com Managed
Once we have the Microsoft.Graph module installed, we can begin the setup process.
Connect-MgGraph -Scopes "Domain.ReadWrite.All", "Directory.AccessAsUser.All"

Welcome to Microsoft Graph!
Connected via delegated access using <REDACTED>
Readme: https://aka.ms/graph/sdk/powershell
SDK Docs: https://aka.ms/graph/sdk/powershell/docs
API Docs: https://aka.ms/graph/docs
NOTE: You can use the -NoWelcome parameter to suppress this message.
$Domain = <the domain of your user’s UPN, i.e: yourcompany.com>New-MgDomainFederationConfiguration `
-DomainID $Domain `
-IssuerUri "https://saml.allthenticate.com/idpmetadata" `
-PassiveSignInUri "https://saml.allthenticate.com/ssoentry" `
-PreferredAuthenticationProtocol "saml" `
-SignOutUri "https://saml.allthenticate.com/logout" `
-SigningCertificate "MIIDrDCCApSgAwIBAgIUCKhSCap/oJWPZPLbjYNskNPkFhgwDQYJKoZIhvcNAQELBQAwZzELMAkGA1UEBhMCVVMxDjAMBgNVBAgMBVRleGFzMRAwDgYDVQQHDAdIb3VzdG9uMRYwFAYDVQQKDA1BbGx0aGVudGljYXRlMR4wHAYDVQQDDBV3d3cuYWxsdGhlbnRpY2F0ZS5jb20wHhc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pMfaBehavior "acceptIfMfaDoneByFederatedIdp" `
-ActiveSignInUri "https://saml.allthenticate.com/ssoentry" `
-DisplayName "Allthenticate SAML"
We want to re-iterate, this can be done on our side if you desire.
If all the fields are correct, you should see a pop up like this:

Click Accept and you should be good to go!
If the steps above were executed successfully, you can confirm your authentication is federated now by running Get-AzureADDomain again:
Name AvailabilityStatus AuthenticationType
---- ------------------ ------------------
yourdomain.onmicrosoft.com Managed
yourdomain.com Federated
This domain federation can also be checked directly on https://entra.microsoft.com. To access, please go to Entra ID → Domain Names in the left-hand column of the Entra Admin portal. You will then see your tenant domains and their federation status:

And to confirm if your SSO configuration is correct, you may run: Get-MgDomainFederationConfiguration -DomainId $Domain | fl and see this:
ActiveSignInUri : https://saml.allthenticate.com/ssoentry
DisplayName : Allthenticate SAML
FederatedIdpMfaBehavior : acceptIfMfaDoneByFederatedIdp
Id : <redacted>
IsSignedAuthenticationRequestRequired :
IssuerUri : https://saml.allthenticate.com/idpmetadata
MetadataExchangeUri :
NextSigningCertificate :
PassiveSignInUri : https://saml.allthenticate.com/ssoentry
PasswordResetUri :
PreferredAuthenticationProtocol : saml
PromptLoginBehavior :
SignOutUri : https://saml.allthenticate.com/logout
SigningCertificate : MIIDrDCCApSgAwIBAgIUCKhSCap/oJWPZPLbjYNskNPkFhgwDQYJKoZIhvcNAQELBQAwZzELMAkGA1UEBhMCVVMxDjAMBgNVBAgMBVRleGFzMRAwDgYDVQQHDAdIb3VzdG9uMRYwFAYDVQQKDA1BbGx0aGVudGljYXRlMR4wHAYDVQQDDBV3d3cuYWxsdGhlbnR
pY2F0ZS5jb20wHhcNMjUwMjEwMjIyMjIxWhcNMzAwMjA5MjIyMjIxWjBnMQswCQYDVQQGEwJVUzEOMAwGA1UECAwFVGV4YXMxEDAOBgNVBAcMB0hvdXN0b24xFjAUBgNVBAoMDUFsbHRoZW50aWNhdGUxHjAcBgNVBAMMFXd3dy5hbGx0aGVudGljYXRlLmNvbT
CCASIwDQYJKoZIhvcNAQ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