Skip to main content

November 3, 2026

Preparing Microsoft 365 for Single Sign-On with Omnissa Access

Work with your Microsoft service provider to make sure that your managed Microsoft 365 environment is correctly set up before you configure the Microsoft 365 application in the Omnissa Access service for single sign-on.

Note: Microsoft has retired the MSOnline (Connect-MsolService / Set-MsolDomainAuthentication) and AzureAD PowerShell modules. All domain federation management now goes through the Microsoft Graph API using the Microsoft.Graph.Identity.DirectoryManagement module. This guide reflects the current supported workflow.

Prerequisites

  • Microsoft 365 subscription: Business Premium or above.
  • Entra ID tenant admin access: Global Administrator or Domain Administrator role.
  • PowerShell version 5.1 or later. Version 7.0 or later is recommended (pwsh).
  • Microsoft Graph PowerShell module: Microsoft.Graph.Identity.DirectoryManagement.
  • Entra API permissions: Domain-InternalFederation.ReadWrite.All and Domain.ReadWrite.All (delegated or application).
  • Omnissa Access tenant: an active tenant with a configured WS-Fed / SAML application for Microsoft 365.
  • Target domain: the domain registered in the Entra tenant that you want to federate (for example, corp.example.com).
  • Attributes: userPrincipalName and objectGUID or sourceAnchor enabled.

Note: To confirm the installed PowerShell version, run $PSVersionTable.PSVersion and verify that the major version is 7 or higher. PowerShell 7 is available from the official GitHub releases page.

Get the Omnissa Access IdP Metadata and Signing Certificate

Single sign-on configuration for Microsoft 365 applications requires the Omnissa Access signing certificate and endpoint URIs. The IdP metadata URL provides all of these values in one place.

  1. Sign in to the Omnissa Access admin console.

  2. Navigate to Resources > Web Apps > Settings.

    Screenshot of the SAML Metadata settings page

  3. Click SAML Metadata.

  4. Copy the Identity Provider (IdP) Metadata URL. It follows this pattern:

    https://<your-access-tenant>/SAAS/API/1.0/GET/metadata/idp.xml
    

    For example: https://mycompany.workspaceoneaccess.com/SAAS/API/1.0/GET/metadata/idp.xml

  5. Open the URL in a browser to confirm it returns an XML document. The document should show a <EntityDescriptor> root element containing <KeyDescriptor> nodes with the signing certificate.

  6. From the XML, copy the signing certificate — the Base64 content inside the first <ds:X509Certificate> element.

    Copy Omnissa Access Identity Provider SSO Certificate

    Important: Copy the certificate value exactly as-is — no whitespace, no -----BEGIN CERTIFICATE----- / -----END CERTIFICATE----- headers, and no line breaks. The entire value must be a single unbroken Base64 string.

    Use this signing certificate value in the next step, when you build the federation configuration payload.

Install and Import the Microsoft Graph Module

# Install if not already present
Install-Module Microsoft.Graph.Identity.DirectoryManagement -Scope CurrentUser -Force

# Import
Import-Module Microsoft.Graph.Identity.DirectoryManagement

Configure the Federated Domain in Microsoft Entra ID

Convert the Microsoft 365 managed domain to a federated domain to enable single sign-on. Two configuration paths are available: a manual Graph PowerShell procedure (Option A) that completes each step directly, and an open-source automation script (Option B) provided for reference.

If you are configuring multiple tenants, convert each managed domain to a federated domain and update the settings for each domain separately.

Connect to Microsoft Graph

Connect-MgGraph `
  -TenantId "12345678-1234-1234-1234-123456789012" `
  -Scopes "Domain-InternalFederation.ReadWrite.All", "Domain.ReadWrite.All"

This opens a browser sign-in prompt. Use a Global Administrator or Domain Administrator account.

List the verified domains

Get-MgDomain | Select-Object Id, AuthenticationType, IsVerified

Confirm the target domain appears in the output with IsVerified = True before proceeding.

Collect the endpoint values from the Omnissa Access IdP metadata

All endpoint URLs are derived from the Omnissa Access base hostname (<access-host>):

BodyParameter fieldValue
ActiveSignInUrihttps://<access-host>/SAAS/auth/wsfed/active/logon
PassiveSignInUrihttps://<access-host>/SAAS/API/1.0/POST/sso
SignOutUrihttps://<access-host>/SAAS/auth/wsfed/active/logon
MetadataExchangeUrihttps://<access-host>/SAAS/auth/wsfed/services/mex
IssuerUrihttps://<your-domain>.<access-host> (for example, https://corp.example.com.mycompany.workspaceoneaccess.com)
PreferredAuthenticationProtocolwsFed

Note: When federating several domains against the same Omnissa Access tenant, each domain needs its own domainid query parameter on the passive and MEX endpoints. For example: https://<access-host>/SAAS/API/1.0/POST/sso?domainid=corp.example.com. Update PassiveSignInUri and MetadataExchangeUri accordingly for each domain.

Note: PreferredAuthenticationProtocol is a required parameter. Entra ID accepts a payload without it, but SP/RP-initiated authentication flows fail even though the object shows wsFed.

Build the BodyParameter payload

$bodyParameter = @{
    DisplayName                     = "Example Corp"
    ActiveSignInUri                 = "https://mycompany.workspaceoneaccess.com/SAAS/auth/wsfed/active/logon"
    PassiveSignInUri                = "https://mycompany.workspaceoneaccess.com/SAAS/API/1.0/POST/sso"
    SignOutUri                      = "https://mycompany.workspaceoneaccess.com/SAAS/auth/wsfed/active/logon"
    IssuerUri                       = "https://corp.example.com.mycompany.workspaceoneaccess.com"
    MetadataExchangeUri             = "https://mycompany.workspaceoneaccess.com/SAAS/auth/wsfed/services/mex"
    SigningCertificate              = "<base64-cert-from-idp-metadata>"
    PreferredAuthenticationProtocol = "wsFed"
    FederatedIdpMfaBehavior         = "acceptIfMfaDoneByFederatedIdp"
}

FederatedIdpMfaBehavior options

ValueBehavior
acceptIfMfaDoneByFederatedIdp(Default) Entra accepts MFA performed by Omnissa Access.
enforceMfaByFederatedIdpEntra requires that MFA is always performed by Omnissa Access.
rejectMfaByFederatedIdpEntra ignores MFA claims from Omnissa Access and performs its own MFA.

Create the federation configuration

New-MgDomainFederationConfiguration `
  -DomainId "corp.example.com" `
  -BodyParameter $bodyParameter

This creates the WS-Fed federation configuration in Entra ID for the target domain.

Option B — Community Automation Script

For reference, a PowerShell script (New-MgDomainFederation.ps1) is available that automates the metadata fetch, payload construction, and Graph API call in a single run.

Note: This script is provided as an open-source sample and is not an officially supported Omnissa product feature. Review it carefully before use in a production environment.

The script, its documentation, and usage examples are available here:

https://github.com/euc-oss/euc-samples/tree/main/Access-Samples/Entra-Domain-Federation-Management

Verify the Federation Configuration

After running either option, verify the federation configuration.

Get-MgDomainFederationConfiguration -DomainId "corp.example.com" |
  Select-Object DisplayName, IssuerUri, ActiveSignInUri, PassiveSignInUri, MetadataExchangeUri, SigningCertificate

Check that:

  • IssuerUri matches the value set during creation.
  • ActiveSignInUri and PassiveSignInUri point to the Omnissa Access tenant.
  • SigningCertificate is populated (non-empty).
  • The domain's AuthenticationType has changed to Federated:
Get-MgDomain -DomainId "corp.example.com" | Select-Object Id, AuthenticationType

Expected output:

Id                  AuthenticationType
--                  ------------------
corp.example.com    Federated

Troubleshooting

SymptomLikely causeResolution
Connect-MgGraph fails with insufficient permissionsAccount lacks Domain Administrator or Global Administrator roleSign in with the correct admin account
New-MgDomainFederationConfiguration returns a 400 errorDomain is not yet verified in Entra, or a federation config already existsRun Get-MgDomain to confirm domain status; use Update-MgDomainFederationConfiguration to update an existing config
Signing certificate value rejectedCertificate includes whitespace or header/footer linesEnsure the value is a single unbroken Base64 string with no -----BEGIN CERTIFICATE----- wrappers
Users see an error after federationClock skew between Omnissa Access and EntraConfirm NTP sync on the Omnissa Access server; Entra tolerates a maximum of 5 minutes of clock skew
AuthenticationType stays ManagedFederation config was created but domain auth type was not updatedVerify that New-MgDomainFederationConfiguration completed without errors

Legacy Reference — Mapping Old MSOnline Parameters to New Graph Parameters

For an existing configuration built with the retired Set-MsolDomainAuthentication cmdlet, the following table maps the legacy parameters to the new Graph approach.

Legacy Set-MsolDomainAuthenticationNew New-MgDomainFederationConfiguration BodyParameter field
-DomainName-DomainId (cmdlet parameter, not in BodyParameter)
-Authentication FederatedImplied by calling New-MgDomainFederationConfiguration
-IssuerUriIssuerUri
-FederationBrandNameDisplayName
-PassiveLogOnUriPassiveSignInUri
-ActiveLogOnUriActiveSignInUri
-LogOffUriSignOutUri
-MetadataExchangeUriMetadataExchangeUri
-SigningCertificateSigningCertificate
(not available)PreferredAuthenticationProtocol — set to wsFed
(not available)FederatedIdpMfaBehavior — controls MFA claim handling

Additional Resources

Was this page helpful?

Provide feedback for this topic

Was this topic helpful?

Please do not include any personal or confidential information.

Generating link…