Used Ports: From To Protocol Port Description
Used Ports: From To Protocol Port Description
Used Ports: From To Protocol Port Description
The following table lists required ports that must be opened for inbound/outbound requests in Veeam Backup
for Microsoft Office 365.
NOTE:
Data communication between Microsoft Office 365 organizations and Veeam Backup for Microsoft Office
365 is performed through an SSL connection.
S3 Compatible HTTPS 443 (used Required to work with any of the object
object storage by storage repositories.
default)
Amazon S3
object storage
/ IBM Cloud
Object Storage
Azure blob
storage
Veeam Explorer for Veeam Backup TCP 9194 Required to manage inbound/outbound
Microsoft for Microsoft traffic when interacting with:
Exchange Office 365
• Veeam Explorer for Microsoft
Server
Veeam Explorer for Exchange
Microsoft
• Veeam Explorer for Microsoft
SharePoint
(including Veeam SharePoint
Explorer for
Microsoft OneDrive Make sure to open this port on a Veeam
for Business) Backup for Microsoft Office 365 server.
When you add Microsoft Office 365 organization using the modern app-only authentication method, you use
only Azure AD application to establish and maintain connection between Veeam Backup for Microsoft Office 365
and Microsoft Office 365 organizations and perform a backup and restore from/to such organizations.
When you add Microsoft Office 365 organization using modern authentication with legacy protocols allowed,
you use both Veeam Backup account and Azure AD application to establish and maintain connection between
Veeam Backup for Microsoft Office 365 and Microsoft Office 365 organizations and perform a backup and
restore from/to such organizations. You use MFA-enabled Office 365 user account as Veeam Backup account.
When you add Microsoft Office 365 organization using basic authentication or an on-premises Microsoft
organization, you use Veeam Backup account to establish and maintain connection between Veeam Backup for
Microsoft Office 365 and such organizations and perform a backup and restore.
Depending on authentication methods you use, you must grant permissions to Veeam Backup account and Azure
AD application.
To provide Veeam Backup for Microsoft Office 365 with the ability to work with Microsoft Exchange
organizations, Microsoft SharePoint and OneDrive for Business organizations, and protect Microsoft Teams data,
you must grant permissions to the Veeam Backup account, as follows:
• Microsoft Teams
Roles and permissions required to protect Microsoft Teams data.
• The account you are using to add an organization must be a member of this organization.
• The account you are using to add an organization is not required to have a mailbox in such an organization.
• If you are backing up public folder mailboxes, the Veeam Backup account must have a valid Exchange
Online license and an active mailbox within the Microsoft Office 365 organization.
NOTE:
For more information about permissions required to restore Microsoft Exchange data from backups created
by Veeam Backup for Microsoft Office 365, see Required Permissions for Veeam Explorer for Microsoft
Exchange.
Role Description
To obtain the list of users whom the ApplicationImpersonation role has already been granted, use the following
cmdlet (for both on-premises and Online organizations).
To remove the role, use the following cmdlet (for both on-premises and Online organizations).
To back up public folder mailboxes correctly, enable the AllowBasicAuthAutodiscover parameter for the
created authentication policy by using the following cmdlet.
• To add Microsoft SharePoint Online organizations, make sure that the LegacyAuthProtocolsEnabled
setting is enabled.
To enable this setting, use the following cmdlet.
For more information about the Set-SPOTenant cmdlet, see this Microsoft article.
• The account you are using to add on-premises Microsoft SharePoint and Microsoft SharePoint Online
organizations must be a member of these organizations.
NOTE:
For more information about permissions required to restore Microsoft SharePoint data from backups
created by Veeam Backup for Microsoft Office 365, see Required Permissions for Veeam Explorer for
Microsoft SharePoint.
Connect-MsolService
$role=Get-MsolRole -RoleName "SharePoint Administrator"
$accountname="example@domain.com"
Add-MsolRoleMember -RoleMemberEmailAddress $accountname -RoleName $role.Name
In addition, the Veeam Backup account that you use to add an organization must meet the following
requirements:
• The account must have a Microsoft Office 365 license that permits access to Microsoft Teams API. The
minimum sufficient license is Microsoft Teams Exploratory experience.
NOTE:
• In case you add an organization in Veeam Backup for Microsoft Office 365 using the modern
authentication method with legacy protocols allowed, and specify different accounts to connect to
Microsoft Exchange and Microsoft SharePoint, the required license and role must be assigned to the
account used to connect to Microsoft SharePoint.
• For more information about permissions required to restore Microsoft Teams data from backups
created by Veeam Backup for Microsoft Office 365, see Required Permissions for Veeam Explorer for
Microsoft Teams.
For more information about permissions in Azure, see this Microsoft article.
If you prefer to use a custom application of your own, make sure to grant all the permissions listed in this table
manually.