Before you or others login, ensure the API permissions are set correctly as the permissions apply upon the moment you login. With the creation of the Auth. Provider and Named Credential it is possible for each user to login and use the resources from SharePoint, this is required for each user that wants to work with the Managed Package. First, select your user at the top right, and click on “Settings” > “Authentication Settings for External Systems” > “New”. In here fill in the following:
External System Definition: Named Credential
Named Credential: Your Named Credential created earlier
User: Your own user
Authentication Protocol: OAuth 2.0
Authentication Provider: Your Auth. Provider created earlier
Start authentication Flow on Save: Checked
Upon save, the Microsoft login screen is shown, after a successful login you should be able to use the Managed Package.
[IMG]
Authenticated but still an error
[IMG]
From time to time, it can happen that an error is shown on the configuration page indicating that the user is not able to make a connection with SharePoint, even though the Authentication Settings for External System shows the status Authenticated. This can happen if the external user still has pending tasks to be completed. i.e. a password change. Always try to re-authenticate if this happens so you get prompted with the required tasks.
Microsoft Authentication error
Upon authentication, a prompt can be shown to indicate that the user does not have the correct permission. This can happen if access is limited for a set of users. This is not something Filenize can work around (you don’t want that) but can be evaluated in Azure. Please reach out to your Azure admin to diagnose the situation. (https://docs.microsoft.com/en-us/azure/active-directory/conditional-access/troubleshoot-conditional-access#azure-ad-sign-in-events )
Add Comment