Unable to find assembly 'Microsoft.IdentityModel'
In this article, we will review the case when the 'Unable to find assembly Microsoft.IdentityModel' error occurs.
This error appears when the client id and secret for the OAuth app are expired.
To solve this issue it is required to register a new Integration Hub application following the steps described below:
Please note: An Office365 account with Site Collection Administrator of root site collection permissions is required for Online App registration.
1. Go to
- your-company-tenant – name of SharePoint Online tenant;
2. Click Generate for ‘Client Id’ and ‘Client Secret’.
3. Copy and save ‘Client Id’ and ‘Client Secret’.
4. Set the ‘App domain’ field to the IIS site host domain name.
5. Set the ‘Redirect URI’ field to https://integraionthub.domain.com/ConnectionProviders/ProjectOnline/AcceptAccessToken
where - integraionthub.domain.com – IIS host domain name.
6. Verify that all fields contain proper information and click Create.
Next, it is required to change the old client ID/secret values in the configuration files for the new ones generated during app registration.
1. Open the configuration files:
C:\Program Files\FluentPro Software\Integration Hub\Web\web.config
C:\Program Files\FluentPro Software\Integration Hub\Service\Pip.JobProcessor.exe.config
2. Change the client ID/secret accordingly.
3. Restart FluentPro Integration Hub services and perform iisreset.