This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice This article is not considered official documentation for K2 software and is provided "as is" with no warranties.
When Trying to create SmartObjects or Appify a list in SharePoint, you receive the following error:
"Authentication With Server Failed : Security Label not found : (Security label name)"
This issue is usually related to an incorrect Security Label using the SharePoint Security Token Service Issuer in the Claims table in Management. If the SharePoint Token Service is pointing
to the wrong Label
, this is what is used on all SharePoint sites for Appifying lists. We will not be able to Appify any lists.
Navigate to K2 Management and open the Authentication > Claims > Claims node. Check which Security Labels are configured for which issuer.
You want to make sure the SharePoint Security Token Service is pointing to a Security Label that exists, the K2 Security Label in K2 Five or AAD in K2 Cloud.
See the screenshot below.
Make sure that whichever Security Label is using the SharePoint Security Token Service, exists.