Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
After 2026 Patch 3 update, Entra ID login to DB throw error
#1
After installing latest patch 3 version, upon launch login connection to Azure SQL database with Entra ID throws this error:
Code:
Rocket Remote Desktop 2026 Failed to authenticate the user  in Active Directory (Authentication=ActiveDirectoryInteractive). Error code 0xwindow_handle_required Failed to acquire access token for ActiveDirectoryInteractive: A window handle must be configured. See https://aka.ms/msal-net-wam#parent-window-handles   at CloudAdminDataAccess.SqlDataAccessor.get_GlobalSettingsBaseItem()   at CloudAdminCommon.Access.DataAccessor.get_GlobalSettingsBaseItem()   at CloudAdminCommon.Access.ConfigDataAccessor.get_EntraIdSettings()   at CloudAdminCommon.User.UserLogin.Login(Control parent, EnvironmentProtectionTypes protection, String username, String password, Boolean integrated, EnvironmentProtectionTypes logonMethod, String domainname, DsDomainTrust selectedDomain, List`1 domainList, Boolean changePassword)   at CloudAdminUI.Dialogs.LoginDialog.simpleButtonLogin_Click(Object sender, EventArgs e)


This is a Microsoft.Data.SqlClient + MSAL/WAM issue. 

Your data layer is opening a SQL connection whose connection string uses Authentication=Active Directory Interactive. On that first DB call (get_GlobalSettingsBaseItem), Microsoft.Data.SqlClient hands the interactive auth off to MSAL. In recent versions (Microsoft.Data.SqlClient 5.0+, and .NET on Windows) MSAL routes interactive login through the WAM broker, which needs a parent window handle (HWND) so it can anchor the account picker. Your code never supplies one, so MSAL throws window_handle_required.

This almost certainly appeared after a NuGet upgrade of Microsoft.Data.SqlClient (or a runtime bump) — older versions fell back to an embedded/system browser and didn't require the handle.
Reply
#2
We will fix and provide a private Patch today...
Regards/Gruss
Oliver
Reply
#3
(23-07-2026, 08:37 AM)DevOma Wrote: We will fix and provide a private Patch today...

Hi
I have the same issue. Can you provide me this patch too?
Best regards,
Andreas
Reply
#4
Sorry, forgot to post the link

https://rrddownloads.rocketsoftware.com/..._Setup.zip
Regards/Gruss
Oliver
Reply
#5
(29-07-2026, 08:41 AM)DevOma Wrote: Sorry, forgot to post the link

https://rrddownloads.rocketsoftware.com/..._Setup.zip

Hi Oliver
Unfortunately, the file is not anymore available.
404 - File or directory not found.

Do you release in the next days Patch4? I also can wait for it.

Best regards,
Andreas
Reply
#6
Sorry, please try again... link should work now
Regards/Gruss
Oliver
Reply
#7
Hi Oliver

(29-07-2026, 08:41 AM)DevOma Wrote: Sorry, forgot to post the link

https://rrddownloads.rocketsoftware.com/..._Setup.zip

With that Installer I get the following error:

Code:
Failed to authenticate the user in Active Directory (Authentication=ActiveDirectoryInteractive). Error code 0xUnknown API violation: provider threw unexpected exception Microsoft.Identity.Client.MsalServiceException: WAM Error Error Code: 3399614465 Error Message: IncorrectConfiguration WAM Error Message: (pii) Internal Error Code: 508634082 See troubleshooting: https://aka.ms/msal-net-wam at CloudAdminDataAccess.SqlDataAccessor.get_GlobalSettingsBaseItem() at CloudAdminCommon.Access.DataAccessor.get_GlobalSettingsBaseItem() at CloudAdminCommon.Access.ConfigDataAccessor.get_PermissionsSettings() at CloudAdminCommon.User.ConsolePrincipal.InitializeSIDs() at CloudAdminCommon.User.ConsolePrincipal.InitSecurityRoles() at CloudAdminCommon.User.UserLogin.Login(Control parent, EnvironmentProtectionTypes protection, String username, String password, Boolean integrated, EnvironmentProtectionTypes logonMethod, String domainname, DsDomainTrust selectedDomain, List`1 domainList, Boolean changePassword) at CloudAdmin.UI.Dialogs.LoginDialog.simpleButtonLogin_Click(Object sender, EventArgs e)

BR
Reply
#8
Next try

https://rrddownloads.rocketsoftware.com/..._Setup.zip

Tested with AZURE DB and EntraID MFA auth - worked for us
Regards/Gruss
Oliver
Reply




Users browsing this thread: 1 Guest(s)