OneDrive_DriveGet

Description

This activity allows to get informations about a OneDrive drive.

Note:

For the activity to work, the reference application in the Azure Portal must have the following API permissions. This activity allows only APPLICATION type permissions (it cannot work with "DELEGATE" ones).
Required permissions:
Files: Files.Read.All, Files.ReadWrite.All

Sites: Sites.Read.All
Check this page for more information on Azure app API permissions.

Auth

AuthString InArgument<String> REQUIRED

The authorization string to authenticate in MicrosoftGraph service.

It is possible to obtain it using the activity MsGraph_Login. Look at its dedicated page for more details.

Drive

DriveId InArgument<String>

The Id of the drive on which the activity has to work on.

DriveIdOut OutArgument<String>

The id of the obtained drive.

DriveType OutArgument<EDriveType>

The type of the drive: personal, business or documentLibrary.


Owner

OwnerId OutArgument<String>

The id of the user who own the drive.

OwnerName OutArgument<String>

The display name of the user who own the drive. It could be such as 'Mario Rossi'.


Quotas

AvailableStorgeSize OutArgument<Int64>

The size of the availeble space in the drive.

DeletedFilesSize OutArgument<Int64>

The size of files in the Recicle Bin.

DriveState OutArgument<EDriveState>

The state of the drive. It could be: normal, nearing , critical , exceeded.

TotalStorageSize OutArgument<Int64>

The size of the total space in the drive.

UsedStorageSize OutArgument<Int64>

The size of the used space in the drive.


Settings

Timeout InArgument<TimeSpan>

The maximum time the activity might take to be executed. If it takes longer, an exception will be thrown.


User

UserId InArgument<String>

The id of the Microsoft Account of the owner of the Drive.

It can be found in the result fields of certain activities such as, for example, the owner of a file returned by the OneDrive_ItemGet activity.

UserName InArgument<String>

The email of the Microsoft Account of the owner of the Drive. Example: "mario.rossi@outlook.it".