Microsoft Entra single sign-on Azure configuration

Last published : Oct 12, 2026
In order to leverage Microsoft Entra single sign-on, you must first allow Microsoft Entra authentication for Windows in your Microsoft Entra ID tenant, which enables issuing the required authentication tokens that allow users to sign in to the Microsoft Entra joined and Microsoft Entra hybrid joined session hosts. To achieve this, you must do the following:
  1. Register the Citrix applications (Resource app and Client app) in your Microsoft Entra ID tenant.
  2. Enable the Remote Desktop Security Configuration for the Citrix resource application.
  3. Add the Citrix client application as an approved client for the Citrix resource application.
  4. \[Optional\] Hide the user consent prompt dialog.
  5. Create a Kerberos server object.
  6. Review Microsoft Entra Conditional Access policies.
The person making the Azure configuration must be assigned one of the following Microsoft Entra built-in roles or equivalent at a minimum:
If you wish to complete the Azure configuration via PowerShell, you will need to use the Microsoft Graph PowerShell SDK. You can also leverage Microsoft Graph API with a tool like Graph Explorer.
Instructions are provided for how to complete the configuration with both PowerShell and Graph Explorer.

PowerShell configuration

If you choose to use the Microsoft Graph PowerShell SDK, please note:

Enable Remote Desktop Security Configuration

After you register the Citrix applications, you must enable the Remote Desktop Security Configuration in the Citrix Resource application.
  1. Import the Authentication and Application Microsoft Graph modules and connect to Microsoft Graph with the Application.Read.All and Application-RemoteDesktopConfig.ReadWrite.All scopes:
    Import-Module Microsoft.Graph.Authentication
    Import-Module Microsoft.Graph.Applications
    Import-Module Microsoft.Graph.Beta.Applications
    Connect-MgGraph -Scopes "Application.Read.All","Application-RemoteDesktopConfig.ReadWrite.All"
  2. Get the object ID for the service principals associated with the app registrations:
    Citrix Cloud US, EU, APS
    $CtxResourceSpId = (Get-MgServicePrincipal -Filter "AppId eq '3a510bb1-e334-4298-831e-3eac97f8b26c'").Id
    $CtxClientSpId = (Get-MgServicePrincipal -Filter "AppId eq '85651ebe-9a8e-49e4-aaf2-9274d9b6499f'").Id
    Citrix Cloud Japan
    $CtxResourceSpId = (Get-MgServicePrincipal -Filter "AppId eq '0027603f-364b-40f2-98be-8ca4bb79bf8b'").Id
    $CtxClientSpId = (Get-MgServicePrincipal -Filter "AppId eq '0fa97bc0-059c-4c10-8c54-845a1fd5a916'").Id
  3. Set the property isRemoteDesktopProtocolEnabled to true:
    If ((Get-MgServicePrincipalRemoteDesktopSecurityConfiguration -ServicePrincipalId $CtxResourceSpId) -ne $true) {
        Update-MgServicePrincipalRemoteDesktopSecurityConfiguration -ServicePrincipalId $CtxResourceSpId -IsRemoteDesktopProtocolEnabled
    }
  4. Confirm the property isRemoteDesktopProtocolEnabled is set to true:
    Get-MgServicePrincipalRemoteDesktopSecurityConfiguration -ServicePrincipalId $CtxResourceSpId

Approve the client application

You must explicitly add the Citrix Client application as an approved client in the Citrix Resource application.
  1. Create an approvedClientApp object:
    $acp = New-Object -TypeName Microsoft.Graph.Beta.PowerShell.Models.MicrosoftGraphApprovedClientApp
    $acp.Id = $CtxClientSpId
  2. Add the client app to the approvedClientApp object:
    New-MgBetaServicePrincipalRemoteDesktopSecurityConfigurationApprovedClientApp -ServicePrincipalId $CtxResourceSpId -BodyParameter $acp
    The output should be similar to this:
    Id                                    DisplayName
    --                                    -----------
    87654321-wxyz-1a2b-3c4d-1029384756af  Citrix-Workspace

Microsoft Graph API configuration

Enable Remote Desktop Security Configuration

After you register the Citrix applications, you must enable the Remote Desktop Security Configuration in the Citrix Resource application.
  1. Get the object ID (OID) for the service principals associated with the app registrations from the Azure portal:
    1. Navigate to Microsoft Entra ID > Enterprise Applications.
    2. Remove the Application type filter if set so all applications are listed.
    3. Search for Citrix-Workspace-Resource / Citrix-Workspace-Resource-JP and note the associated object ID for the Resource application.
    4. Search for Citrix-Workspace / Citrix-Workspace-JP and note the associated object ID for the client application.
  2. In Graph Explorer, sign in with an account from the target Azure tenant that has the required permissions.
  3. Set the following query:
    • HTTP request method: PATCH
    • Microsoft Graph API Version: v1.0
    • Query:
      https://graph.microsoft.com/v1.0/servicePrincipals/<resourceAppOID>/remoteDesktopSecurityConfiguration
    • Request body:
      {
          "@odata.type": "#microsoft.graph.remoteDesktopSecurityConfiguration",
          "isRemoteDesktopProtocolEnabled": true
      }
  4. Select the Modify Permissions tab and ensure that you have consented to the Application.ReadWrite.All permission.
  5. Run the query.

Approve the client application

You must explicitly add the Citrix Client application as an approved client in the Citrix Resource application.
Set the following query and run it:
  • HTTP request method: POST
  • Microsoft Graph API Version: v1.0
  • Query:
    https://graph.microsoft.com/v1.0/servicePrincipals/<resourceAppOID>/remoteDesktopSecurityConfiguration/approvedClientApps
  • Request body:
    {
        "@odata.type": "#microsoft.graph.approvedClientApp",
        "id": "<clientAppOID>"
    }

Create a Kerberos server object

If your session hosts are Microsoft Entra hybrid joined, you must configure a Kerberos server object in the Active Directory domain where the user and computer accounts reside. See Create a Kerberos Server object for details.

Review Microsoft Entra Conditional Access policies

If you use or plan to use Microsoft Entra Conditional Access policies, review the configuration applied to the Citrix Resource application and the Citrix Client application to ensure users have the intended sign‑in experience.
For detailed guidance on configuring Conditional Access when using Microsoft Entra single sign‑on for DaaS, refer to the Microsoft documentation. Remember that the required Conditional Access settings must be applied to the Citrix Resource application or Citrix Client application, not the Microsoft applications.