Forum Discussion
ADAL Rest API SharePoint Online
Hi Franck,
I gave the application rights as follows in Azure AD. Just trying to go a GET to read items
Is it possible to use ADAL for server to server authentication to SharePoibt online?
Thanks
Joe
Yes it is possible to use ADAL for server-to-server authentication using app-only access. However, you will need a certificate to get it work with Azure AD. More info https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/security-apponly& https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/security-apponly-azuread.
This is why you get a 401 status because you don't have one.
Franck.
- Franck CornuMar 26, 2018Brass Contributor
- Joe GillMar 26, 2018Copper Contributor
Hi Franck
Not had a chance yet. Thinking of using the SharePoint CSOM and wrap this in an API which we can call
thanks for you help
Cheers
Joe