Hi Michel,
Given the environment—Windows Server 2022 Standard with Entra ID sync and pass-through authentication—this behavior often stems from token persistence and session context limitations within RDS sessions, especially when WAM (Web Account Manager) is involved.
Here are a few additional areas worth exploring:
- Ensure Modern Authentication is fully enabled across all Microsoft 365 services, particularly Exchange Online and SharePoint Online. Inconsistent auth modes can trigger fallback behaviors.
- Review Conditional Access policies, especially those involving session controls or sign-in frequency. If policies enforce re-authentication after a short interval, that could explain the repeated prompts.
- Check for roaming profile or FSLogix configuration issues. If token caches aren’t persisting correctly across sessions, users may lose their auth state prematurely.
- Validate the integrity of the Primary Refresh Token (PRT). If the PRT isn’t issued or maintained properly in the RDS session, WAM-based SSO will fail intermittently. You can use
dsregcmd /statusto inspect PRT status. - Consider disabling WAM only if absolutely necessary, as it’s tightly integrated with modern authentication flows. Instead, try isolating the issue by testing with a clean user profile and minimal GPOs.
- Enable logging for Office apps and AAD authentication
Hope it works for you.
Harry P.