We are assisting a partner who wants to connect to M-Files REST API from SharePoint 365. They need to use Azure AD authentication with an app-registration. The M-Files installation is on-prem but Azure AD connected for user authentication.
This is described from the SharePoint side here: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/use-aadhttpclient
Does anyone have experience with this kind of authentication?