c# - Use ADAL to authenticate with office365 to manage word docs? from console app -
i want know if possible use office 365 api interact word documents in office 365 (create, update, , download). have azure directory setup, don't know how leverage access office 365 api interact these documents.
what process, if any, using azure active directory combined office 365 manage documents? of resources can find assume azure active directory used handle authentication web service / web app. wish console app.
it not necassary me use azure active directory, goal authenticate , interact office 365 online word documents, if there someway obtain token directly through office 365 manage word documents, solve issue too.
you can use both adal or msal on console based application , interact office documents using graph api: onedrive workload in graph api allows retrieve, download, upload documents onedrive/ onedrive business or sharepoint document library.
below resources/ samples can use references:
- github sample: call azure ad graph api native client (adal) - sample application show how sign-in , query graph api in context of user , application
- call graph windows desktop (msal) - simple guide shows how call graph api via rest on .net desktop app - same can done console based app.
- service apps - show more information on how query aad (using msal) on context of application (instead of user).
Comments
Post a Comment