Azure Active Directory

Unable to logon to K2 using AAD credentials: “WIF10201: No valid key mapping found for securityToken”

Problem: You unable to log on to K2 sites (Designer/Runtime/Management) using AAD credentials (AAD integration configured without SharePoint online as described here) and receiving the following error: WIF10201: No valid key mapping found for securityToken: ‘System.IdentityModel.Tokens.X509SecurityToken’ and issuer: ‘https://sts.windows.net/{YOUR_AAD_ID}/’. Resolution steps: 1) Open your K2 AAD app Federation Metadata Document using the following URL:  https://login.microsoftonline.com/{YOUR_DIRECTORY ID}/federationmetadata/2007-06/federationmetadata.xml Unable to logon to K2 using AAD credentials: “WIF10201: No valid key mapping found for securityToken”