--- title: "Restore-VEODDocument" description: "Restores OneDrive documents. Product: Veeam Backup for Microsoft 365 Product Edition: Community, Rental License, Subscription License This cmdlet provides the following parameter sets: This cmdlet allows you to restore OneDrive documents." canonical: "https://helpcenter.veeam.com/docs/vbr/explorers_powershell/restore-veoddocument.html" breadcrumb: "Veeam Explorers PowerShell Reference > Veeam Explorers PowerShell Reference > Veeam Explorer for Microsoft OneDrive > Restore-VEODDocument" dateModified: "2026-08-18" --- # Restore-VEODDocument ## Short Description Restores OneDrive documents. **Product**: Veeam Backup for Microsoft 365 **Product Edition**: Community, Rental License, Subscription License ## Syntax This cmdlet provides the following parameter sets:
Document
User
MultipleUser
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
ApplicationCertificatePassword |
To restore data using multi-factor authentication. Specifies the certificate password. The cmdlet will use this password to confirm the certificate that you want to import to a Microsoft Entra application. This parameter is obligatory. |
|
False |
Named |
False |
|
ApplicationCertificatePath |
To restore data using multi-factor authentication. Specifies a path to the folder where the certificate is located. The cmdlet will import the certificate that is located in this path to set up an encrypted connection to a Microsoft organization. |
|
False |
Named |
False |
|
ApplicationId |
To restore data using multi-factor authentication. Specifies a Microsoft Entra application ID. The cmdlet will use this application ID to set up a secure connection to a Microsoft organization. |
|
False |
Named |
False |
|
Credential |
Specifies the account credentials that you want to use for connecting to the OneDrive server. If omitted, the cmdlet will use the current user Windows account credentials to connect to the OneDrive server. Accepts the |
|
False |
Named |
False |
|
Document |
Specifies OneDrive documents. This cmdlet will restore the specified OneDrive documents. Accepts the |
True |
0 |
True (ByValue) |
|
|
MultipleUsers |
Specifies an array of OneDrive users. The cmdlet will restore documents of these users. Note: This cmdlet will restore documents to the production versions of the same OneDrive users. Accepts the |
True |
0 |
True (ByValue) |
|
|
Office365Credential |
Specifies the credentials that the cmdlet will use for authenticating to Microsoft 365 organization. Note: Specify the organization user name in the Accepts the |
|
False |
Named |
False |
|
OnPremisesCredential |
Specifies the credentials that the cmdlet will use for authenticating to On-Premises SharePoint organization. Note: Specify the organization user name in the Accepts the |
|
False |
Named |
False |
|
Overwrite |
Defines that the cmdlet will overwrite the items in the target directory with the restored items if these items have the same name. Default: False |
|
False |
Named |
False |
|
RestoreChangedItems |
Defines that the cmdlet will restore all versions of OneDrive documents that were modified by the user. Default: False |
|
False |
Named |
False |
|
RestoreDeletedItems |
Defines that the cmdlet will restore all document items that were deleted by the user. Default: False |
|
False |
Named |
False |
|
RestoreSharedAccess |
Defines that the cmdlet will restore shared access permissions with the restored document. Default: False |
|
False |
Named |
False |
|
SkipSharedAccessNotificationSending |
Defines that the cmdlet will not send shared access notifications. Default: False |
|
False |
Named |
False |
|
SkipUnresolvedUsers |
Defines that the cmdlet will not restore items of the users that are not resolved. Default: False |
|
False |
Named |
False |
|
TargetFolder |
Specifies the restore target OneDrive folder. This cmdlet will restore OneDrive document to the specified folder. |
|
False |
Named |
False |
|
TargetUser |
Specifies the restore target OneDrive user. This cmdlet will restore OneDrive document to the specified user. |
|
False |
Named |
False |
|
User |
Specifies OneDrive user. The cmdlet will restore documents of this user. Accepts the |
True |
0 |
True (ByValue) |