Azure Virtual Desktop Multi-session Windows 11 21H2 CU 2022-09 breaks SSO with AD

Maarten van den Berg 1 Reputation point
2022-10-07T07:01:04.86+00:00

When adding the standard Windows 11 (21H2 22000.978) to Hostpool (AAD joined) we have SSO to our AD resources because of Azure AD Connect. However, when updating tot KB5017383 2022-09 CU, the update adds AAD SSO (we have set up the AAD Kerberos object within our AD) and works. This breaks SSO with AD.
Similarly, deploying W11 22H2 (preview) and setting this up with AAD SSO, the SSO with AD breaks.

Is this a known issue? Are there workarounds?

Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

2 answers

Sort by: Most helpful
  1. Maarten van den Berg 1 Reputation point
    2022-10-10T13:30:41.05+00:00

    This is the answer from workstation. From the W11 22H2(Preview) multisession for AVD is beneath that again....

    A bit further in troubleshooting learns that placing the CloudKerberosTicketRetrievalEnabled =1 within registry on homesystem allows access to some DFS shares as follows:

    DFS shares hosted on AD Servers work on W11 22H2 single system
    DFS shares hosted on AD Servers do not work on W11 22H2(preview) multisession system
    DFS shares hosted on Azure Files with AD authentication do not work on any of these two testing systems
    The shares themselves straight from Azure Files with AD authentication also do not work on any of these two testing systems
    DFS shares hosted on Azure Files with AAD authentication do work on both of these two testing systems
    The shares themselves straight from Azure Files with AAD authentication do work on both of these two testing systems

    +----------------------------------------------------------------------+
    | Device State |
    +----------------------------------------------------------------------+

             AzureAdJoined : YES  
          EnterpriseJoined : NO  
              DomainJoined : NO  
           Virtual Desktop : NOT SET  
               Device Name : LP-H0DX693  
    

    +----------------------------------------------------------------------+
    | Device Details |
    +----------------------------------------------------------------------+

                  DeviceId : is there  
                Thumbprint : is there  
    

    DeviceCertificateValidity : [ 2022-02-15 10:03:26.000 UTC -- 2032-02-15 10:33:26.000 UTC ]
    KeyContainerId : is there
    KeyProvider : Microsoft Platform Crypto Provider
    TpmProtected : YES
    DeviceAuthStatus : SUCCESS

    +----------------------------------------------------------------------+
    | Tenant Details |
    +----------------------------------------------------------------------+

                TenantName : Innovam  
                  TenantId : is there  
               AuthCodeUrl : https://login.microsoftonline.com/is there/oauth2/authorize  
            AccessTokenUrl : https://login.microsoftonline.com/is there/oauth2/token  
                    MdmUrl : https://enrollment.manage.microsoft.com/enrollmentserver/discovery.svc  
                 MdmTouUrl : https://portal.manage.microsoft.com/TermsofUse.aspx  
          MdmComplianceUrl : https://portal.manage.microsoft.com/?portalAction=Compliance  
               SettingsUrl : is there  
            JoinSrvVersion : 2.0  
                JoinSrvUrl : https://enterpriseregistration.windows.net/EnrollmentServer/device/  
                 JoinSrvId : urn:ms-drs:enterpriseregistration.windows.net  
             KeySrvVersion : 1.0  
                 KeySrvUrl : https://enterpriseregistration.windows.net/EnrollmentServer/key/  
                  KeySrvId : urn:ms-drs:enterpriseregistration.windows.net  
        WebAuthNSrvVersion : 1.0  
            WebAuthNSrvUrl : https://enterpriseregistration.windows.net/webauthn/is there/  
             WebAuthNSrvId : urn:ms-drs:enterpriseregistration.windows.net  
    DeviceManagementSrvVer : 1.0  
    DeviceManagementSrvUrl : https://enterpriseregistration.windows.net/manage/is there/  
     DeviceManagementSrvId : urn:ms-drs:enterpriseregistration.windows.net  
    

    +----------------------------------------------------------------------+
    | User State |
    +----------------------------------------------------------------------+

                    NgcSet : NO  
           WorkplaceJoined : NO  
             WamDefaultSet : YES  
       WamDefaultAuthority : organizations  
              WamDefaultId : https://login.microsoft.com  
            WamDefaultGUID : {is there} (AzureAd)  
    

    +----------------------------------------------------------------------+
    | SSO State |
    +----------------------------------------------------------------------+

                AzureAdPrt : YES  
      AzureAdPrtUpdateTime : 2022-10-10 12:41:28.000 UTC  
      AzureAdPrtExpiryTime : 2022-10-24 12:41:27.000 UTC  
       AzureAdPrtAuthority : https://login.microsoftonline.com/is there  
             EnterprisePrt : NO  
    EnterprisePrtAuthority :   
                 OnPremTgt : YES  
                  CloudTgt : YES  
         KerbTopLevelNames : .windows.net,.windows.net:1433,.windows.net:3342,.azure.net,.azure.net:1433,.azure.net:3342  
    

    +----------------------------------------------------------------------+
    | Diagnostic Data |
    +----------------------------------------------------------------------+

        AadRecoveryEnabled : NO  
    Executing Account Name : INNOVAM\MBR, ******@innovam.nl  
               KeySignTest : PASSED  
    
        DisplayNameUpdated : Managed by MDM  
          OsVersionUpdated : Managed by MDM  
           HostNameUpdated : YES  
    
      Last HostName Update : SUCCESS  
               Client Time : 2022-10-09 08:38:41.000 UTC  
                Request ID : fb5002ac-d7f4-435d-928f-c647e0ef97e8  
               Server Time : 10-09-2022 8:38:42Z  
               HTTP Status : 200  
            Server Message : The attribute 'hostnames' value(s) were successfully updated  
    

    +----------------------------------------------------------------------+
    | IE Proxy Config for Current User |
    +----------------------------------------------------------------------+

      Auto Detect Settings : YES  
    Auto-Configuration URL :   
         Proxy Server List :   
         Proxy Bypass List :   
    

    +----------------------------------------------------------------------+
    | WinHttp Default Proxy Config |
    +----------------------------------------------------------------------+

               Access Type : DIRECT  
    

    +----------------------------------------------------------------------+
    | Ngc Prerequisite Check |
    +----------------------------------------------------------------------+

            IsDeviceJoined : YES  
             IsUserAzureAD : YES  
             PolicyEnabled : NO  
          PostLogonEnabled : YES  
            DeviceEligible : YES  
        SessionIsNotRemote : YES  
            CertEnrollment : none  
              PreReqResult : WillNotProvision  
    

    For more information, please visit https://www.microsoft.com/aadjerrors

    The W1122H2(Preview) multisession:

    +----------------------------------------------------------------------+
    | Device State |
    +----------------------------------------------------------------------+

             AzureAdJoined : YES  
          EnterpriseJoined : NO  
              DomainJoined : NO  
           Virtual Desktop : NOT SET  
               Device Name : AZ-WVD-W11P-1  
    

    +----------------------------------------------------------------------+
    | Device Details |
    +----------------------------------------------------------------------+

                  DeviceId : is there  
                Thumbprint : is there  
    

    DeviceCertificateValidity : [ 2022-10-08 16:38:05.000 UTC -- 2032-10-08 17:08:05.000 UTC ]
    KeyContainerId : is there
    KeyProvider : Microsoft Platform Crypto Provider
    TpmProtected : YES
    DeviceAuthStatus : SUCCESS

    +----------------------------------------------------------------------+
    | Tenant Details |
    +----------------------------------------------------------------------+

                TenantName : Innovam  
                  TenantId : is there  
               AuthCodeUrl : https://login.microsoftonline.com/is there/oauth2/authorize  
            AccessTokenUrl : https://login.microsoftonline.com/is there/oauth2/token  
                    MdmUrl : https://enrollment.manage.microsoft.com/enrollmentserver/discovery.svc  
                 MdmTouUrl : https://portal.manage.microsoft.com/TermsofUse.aspx  
          MdmComplianceUrl : https://portal.manage.microsoft.com/?portalAction=Compliance  
               SettingsUrl : is there  
            JoinSrvVersion : 2.0  
                JoinSrvUrl : https://enterpriseregistration.windows.net/EnrollmentServer/device/  
                 JoinSrvId : urn:ms-drs:enterpriseregistration.windows.net  
             KeySrvVersion : 1.0  
                 KeySrvUrl : https://enterpriseregistration.windows.net/EnrollmentServer/key/  
                  KeySrvId : urn:ms-drs:enterpriseregistration.windows.net  
        WebAuthNSrvVersion : 1.0  
            WebAuthNSrvUrl : https://enterpriseregistration.windows.net/webauthn/is there/  
             WebAuthNSrvId : urn:ms-drs:enterpriseregistration.windows.net  
    DeviceManagementSrvVer : 1.0  
    DeviceManagementSrvUrl : https://enterpriseregistration.windows.net/manage/is there/  
     DeviceManagementSrvId : urn:ms-drs:enterpriseregistration.windows.net  
    

    +----------------------------------------------------------------------+
    | User State |
    +----------------------------------------------------------------------+

                    NgcSet : NO  
           WorkplaceJoined : NO  
             WamDefaultSet : YES  
       WamDefaultAuthority : organizations  
              WamDefaultId : https://login.microsoft.com  
            WamDefaultGUID : {is there} (AzureAd)  
    

    +----------------------------------------------------------------------+
    | SSO State |
    +----------------------------------------------------------------------+

                AzureAdPrt : YES  
      AzureAdPrtUpdateTime : 2022-10-10 13:17:09.000 UTC  
      AzureAdPrtExpiryTime : 2022-10-24 13:17:08.000 UTC  
       AzureAdPrtAuthority : https://login.microsoftonline.com/is there  
             EnterprisePrt : NO  
    EnterprisePrtAuthority :   
                 OnPremTgt : YES  
                  CloudTgt : YES  
         KerbTopLevelNames : .windows.net,.windows.net:1433,.windows.net:3342,.azure.net,.azure.net:1433,.azure.net:3342  
    

    +----------------------------------------------------------------------+
    | Diagnostic Data |
    +----------------------------------------------------------------------+

        AadRecoveryEnabled : NO  
    Executing Account Name : INNOVAM\MBR, ******@innovam.nl  
               KeySignTest : PASSED  
    
        DisplayNameUpdated : Managed by MDM  
          OsVersionUpdated : Managed by MDM  
           HostNameUpdated : YES  
    
      Last HostName Update : NONE  
    

    +----------------------------------------------------------------------+
    | IE Proxy Config for Current User |
    +----------------------------------------------------------------------+

      Auto Detect Settings : YES  
    Auto-Configuration URL :   
         Proxy Server List :   
         Proxy Bypass List :   
    

    +----------------------------------------------------------------------+
    | WinHttp Default Proxy Config |
    +----------------------------------------------------------------------+

               Access Type : DIRECT  
    

    +----------------------------------------------------------------------+
    | Ngc Prerequisite Check |
    +----------------------------------------------------------------------+

            IsDeviceJoined : YES  
             IsUserAzureAD : YES  
             PolicyEnabled : YES  
          PostLogonEnabled : YES  
            DeviceEligible : NO  
        SessionIsNotRemote : NO  
            CertEnrollment : none  
              PreReqResult : WillNotProvision  
    

    For more information, please visit https://www.microsoft.com/aadjerrors


  2. Sandeep G-MSFT 20,906 Reputation points Microsoft Employee Moderator
    2022-11-01T16:42:58.813+00:00

    @Maarten van den Berg

    As we discussed on phone, this issue is resolved by latest patches released by Microsoft recently.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.