Forum Discussion
Joe Lee
Feb 11, 2018Copper Contributor
CSOM SharePoint Online AuthenticationManager Client Credentaial flow support
Hi,
I am in the process to write a console app to access SharePoint Online without interactive user log in.
I am thinking using clientID and clientSecret in code so no user login is requi...
Feb 11, 2018
Yes, this should be possible (it has been a while since last time I did): https://www.codeproject.com/Articles/1034444/Access-Office-using-a-Console-Application
- Joe LeeFeb 11, 2018Copper Contributor
Thanks for the reply and link. I am thinking using Azure AD to register the app so the app security will be managed by Azure AD in consistent with other Azure services.
- Feb 11, 2018Might I ask what do you want to achieve? Registering as an Azure AD App might require you have to use the Microsoft Graph to work with SPO. By the way, it's also possible to follow a similar approach to the one described in the link