AD FS Azure MFA — "Exception calling SAS" — Production Outage

Neil Aragon 6 Reputation points
2026-06-15T21:34:08.62+00:00

Environment: AD FS Farm Behavior Level 4 (Server 2016), Federated to M365/Entra ID


Problem

All M365 browser sign-ins fail after primary auth with:

Exception calling SAS

AD FS successfully authenticates the user (password), then fails when invoking the AzureMfaAuthentication adapter to call Azure MFA.


What we've ruled out

  • Not browser/cookie related (tested InPrivate, multiple browsers)
  • Not device auth (disabled via Set-AdfsGlobalAuthenticationPolicy -DeviceAuthenticationEnabled $false)
  • Adapter shows as enabled, Get-AdfsAzureMfaConfigured = True
  • Token signing cert is valid and not expired
  • Persists regardless of Authentication Methods migration state ("Complete" or "In Progress")

Notable finding: Get-AdfsAzureMfaTenantCertificate throws CommandNotFoundException — suspected token signing cert trust model, not legacy tenant cert model.


Suspected cause

Token signing cert rolled over but Entra still has the old thumbprint registered, causing SAS to reject the request. Alternatively, federation metadata is out of sync with Entra.


Question

Has anyone resolved Exception calling SAS on AD FS 2016, and is Update-MgDomainFederationConfiguration the right fix to resync federation metadata?

Microsoft Security | Active Directory Federation Services
0 comments No comments

Your answer

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