2020.2

Table Of Contents
This task uses the Microsoft Graph API.
For this task to function correctly, Workflow needs to be granted application permissions for
Microsoft Graph in the organizations Azure instance.
It needs read access to the Users category (User.Read.All) so that the task can identify the
users in the organization.
In addition, the Files.ReadWrite.All permission is required so that the task can create the folder
if it doesn't already exist.
For more information on setting application permissions for Microsoft Graph, see
https://docs.microsoft.com/en-us/graph/auth-v2-service.
Input
The Microsoft 365 OneDrive Input task retrieves files corresponding to a specified file mask,
from a specified OneDrive folder. These files may be of any format, even formats that are not
readable by PlanetPress Workflow.
Processing
The task uses the Microsoft Graph API to access OneDrive folders in the organization (subject
to that organization's IT policies).
Each file captured by the input is sent down through the process, one at a time. When the file is
finished, the process goes back to the input which feeds another file down, as long as there are
files in the queue. Once all the files are gone, the task polls the input folder again to see if new
files are present and, if so, the process continues with these files. Otherwise, the process ends.
Note
The MS Graph REST API is limited to a certain number of requests within a certain
period of time. This is called throttling. When throttling comes into play, the plugin makes
two more attempts. It exits with an error after three unsuccessful attempts.
Output
The output to this task is a series of individual files, one after the other. These files are not
modified in any way from when they are captured from the source folder.
Page 344