Azure app with client secret - access to sharepoint

Hi

I’m trying to set up a connection to a sharepoint site with the Microsoft Authentication node and the Sharepoint Online Connector.

I’ve managed to create a working connection with the interactive authentication using my AD login. So far everyting is fine.

The problem:

My Sharepoint administrator and I have been trying to set up a connection using the client/app secret auth.

The authetication node executes fine, but when I want to choose the working directory in the Sharepoint online connector I get the following error:

It seems we haven’t got the correct permissions down.

And we aren’t any wiser by “Either scp or roles claim need to be present in the token”

My sharepoint admin registreted the app in Azure AD and tried different API permissions with no luck.

We can’t seem to find any further documentation about what settings we need to set on the Azure AD side of things to make it work with Knime.

I’m running 4.7.1

Any help would be greatly appreciated.