Highlighted
Micro Focus Expert
Micro Focus Expert
118 views

(SM) Support Tip: Smart Analytics SharePoint Index fails "Could not load .. 'Microsoft.IdentityModel

Smart Analytics Indexing of a SharePoint site fails with the following error stack:

MYTASK: Failed to complete synchronize: Could not load file or assembly 'Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
MYTASK: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
MYTASK: File name: 'Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
MYTASK: at Autonomy.Connector.Sharepoint.MsOnlineClaimsHelper.getResponse(String stsUrl, String realm)
MYTASK: at Autonomy.Connector.Sharepoint.MsOnlineClaimsHelper.getSamlToken()
MYTASK: at Autonomy.Connector.Sharepoint.MsOnlineClaimsHelper.getCookieContainer()
MYTASK: at Autonomy.Connector.Sharepoint.MsOnlineClaimsHelper.get_CookieContainer()
MYTASK: at Autonomy.Connector.Sharepoint.ClaimsAuthenticationWrapper.setRequestCookieContainer(Object sender, WebRequestEventArgs e)
MYTASK: at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
MYTASK: at Autonomy.Connector.Sharepoint.WrappedContext.forwardExecutingWebRequestEvent(Object sender, WebRequestEventArgs eventArgs)
MYTASK: at Microsoft.SharePoint.Client.ClientRuntimeContext.OnExecutingWebRequest(WebRequestEventArgs args)
MYTASK: at Microsoft.SharePoint.Client.ClientContext.GetFormDigestInfoPrivate()
MYTASK: at Microsoft.SharePoint.Client.ClientContext.EnsureFormDigest()
MYTASK: at Microsoft.SharePoint.Client.ClientContext.ExecuteQuery()
MYTASK: at Autonomy.Connector.Sharepoint.WrappedContext.ExecuteQuery()
MYTASK: at Autonomy.Connector.Sharepoint.Synchronize.synchronize()
MYTASK: at Autonomy.Connector.Sharepoint.SharepointConnector.Synchronize(ISynchronizeTask task)

The above error/problem will be seen when Microsoft Identity Model is not installed on the server where Smart Analytics is installed. To resolve install Microsoft Identity Model by:

1. In Microsoft Windows Control Panel > Program & Features add Microsoft Identity Model

also it's good to ensure that...

2. The user Smart Analytics is configured to use to index SharePoint has administration permissions

Labels (1)
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.