Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Troubleshooting/Common problems

SharePoint Online Connector authentication issues warnings in M-Files Admin with 22.2.58.0 and later

Last updated on 15 August 2023

Admin
M-Files for Microsoft SharePoint

Overview

When you set up the SharePoint Online Connector version 22.2.58.0 and later, you need to create and authorize an AAD (Azure Active Directory) app so that the vault can connect to the SharePoint Online site. It then uses that app for authenticating the needed background operations. This is a new feature from this version that supersedes the indexer and permissions retriever users that you had to authenticate via M-Files Admin previously - now M-Files does this automatically for you via this app.

Even when you do the needed setup, and the connection appears to work as expected, you may still see warnings in the Dashboard of the connection in M-Files Admin that the indexer and permission retriever users are not authenticated, similar to this:

image.png

Solution

Ignore these warnings.

They do not indicate an issue - these users are not needed anymore. You should not authenticate them, even though the option may still be available in the context menu. The authorization for them is done in the background via the AAD app now.

This is an issue with the display of information that has been fixed in the connector versions 22.2.70.0 and later.

Notes

  • If there are authorization issues, you will see errors in the Windows Event Log and/or in the client when you try to browse the repository.
  • When/if the improvement above in the M-Files Admin dashboard is implemented, it will apply only to newer versions, so if your M-Files is a version that does not have it, you will still see the warnings. For example, this would happen if your M-Files is a relatively old version but the connector is already the newer one. Some controlled environments cannot upgrade all components often and so such mismatch may occur.
  • If you try to authenticate the users, you may get an error like the message pasted below. Ignore it, close the dialog, and do not try to authenticate the background users manually.
  • On newer versions, the dashboard should not show these anymore, but you may still see one or both in the Server validation tab at the bottom. You can still ignore that.

Error from trying to authenticate the user:

TypeError: authenticationOptions[0].assemblyName

   at AuthenticateUserHandler.prototype.processImpl (/lib/json-conf-editor/viewmodels/handlers/AuthenticateUserHandler.js:62:17)

   at ClientDirectiveHandler.prototype.process (/lib/json-conf-editor/viewmodels/handlers/ClientDirectiveHandler.js:29:17)

   at DomainCommandResponseProcessor.prototype.processResponse (/lib/json-conf-editor/viewmodels/DomainCommandResponseProcessor.js:53:21)

   at JsonConfigurationDomain.prototype._processCommandResponse (/lib/json-conf-editor/viewmodels/JsonConfigurationDomain.js:1270:13)

   at Anonymous function (/lib/json-conf-editor/viewmodels/JsonConfigurationDomain.js:1047:21)

   at notifyIsolated (/lib/polyfills/npo.js:120:6)

   at notify (/lib/polyfills/npo.js:97:4)

   at drain (/lib/polyfills/npo.js:67:6)

Still need help?