SharePoint Error using Office 365 REST API OAuth access_token
问题 I am developing a rather simple application that retrieves files from SharePoint using the REST Office 365 API. This is a batch job running in the background with no user interface so the following simple 2-step flow is what I'm doing: (1) Requesting an Access Token from Azure AD (supplying client ID, client secret, resource, and grant_type=client_credentials) (2) Invoke the SharePoint API ( https://{base url}/_api/v1.0/Files ) using the "Authorization: Bearer " as a request header . That