My client's claims issuance rules for a relying trust don't include this claim, but it ends up in the outgoing claims and crashes Okta: http://schemas.microsoft.com/2012/01/devicecontext/claims/isregistereduser
They have this as a Custom Rule on the Relying Trust for my app:
c:[Type == "http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname", Issuer == "AD AUTHORITY"] => issue(store = "Active Directory", types = ("userName", "firstName", "lastName", "email", "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier"), query = ";userPrincipalName,givenName,sn,mail,userPrincipalName;{0}", param = c.Value);
During an IdP-initiated SAML login, AD FS is sending http://schemas.microsoft.com/2012/01/devicecontext/claims/isregistereduser
as well. It appears to be related to device registration, Device Context, and AD FS MFA.
The customer uses these claims for other Relying Trusts, so I can't remove them entirely.
Is there a way to disable passing through these claims on a specific Relying Trust?
How can I remove or delete a specific outgoing claim?