OneDrive 365

The OneDrive365 activity enables you to automatically perform the operations related to Microsoft OneDrive365 services such as copy item, create folder, delete item and so on.

 

Using OneDrive 365 Activity

  1. Make sure the prerequisites for using Office 365 activities are met.
  2. Create new process.
  3. Drag the OneDrive365 activity and drop it inside the Application activity block of type Office 365. 

    The validation error symbol disappears once you enter the mandatory fields in the required format.

  4. From the Access Token dropdown list, select the argument holding the access token retrieved using the OAuth activity.

    NOTE:  

    The access token can be retrieved either from the Oauth activity present in the same or in another process workflow. For more information, see OAuth Activity.
  5. Select the IsClientCredFlow checkbox, if the access token was obtained using the ClientCredential OAuth flow type. The Client Credential OAuth flow type uses identity of the application itself (instead of any user) to obtain the access token. The application permissions are granted directly to the application by an administrator.
  6. From the IsClientCredFlow dropdown list, select the argument holding the administrator’s details who can grant the application permissions. You can provide either the user Id or the User Permission Name (UPN).

    NOTE:  

    UPN is the account Id used to login to the Azure portal while user Id can be obtained by
  7. From the Output dropdown list, select the argument to map the status of the operation performed. You must pre-define the parameter as an Out argument to make it available for the selection. 
  8. The instructions related to the specific features differs depending upon the selected feature.

    Click the appropriate link to know the details.

  1. Configure the above steps specific to the required feature and save the process.
  2. Click Test Run if you want to test run the process to verify the desired output. 

    Post execution, the relevant output is generated.

  3. For more information regarding test run, setting up environment, debugging a process, refer Process Management

 

NOTE:  

You must have the file.ReadWrite.All permission in OAuth activity to automate one drive features. For more information, see OAuth Activity. However, the required scope for client credential must always be https://graph.microsoft.com/.default. You can pass this value as .default as well.