Challenge
Connecting to Office 365 organization fails with the “Check Exchange plan: No Exchange plan found” or “Check SharePoint plan: No SharePoint plan found” error.
Cause
Some of the Office 365 Exchange or SharePoint service plans assigned to the Office 365 Organization cannot be automatically identified as valid by Veeam Backup for Microsoft Office 365. This happens because assigned Office 365 plans are missing from the list of valid ones.
Solution
To resolve this issue, we need to add missing Plans IDs to the list:- First, get your current service plan ID. For example, you can do it via ‘MSOnline’ AzureAD module and the following PowerShell One-Liners:
To get the list of Exchange Online service plans IDs:
(get-msolaccountsku).servicestatus.serviceplan | where {$_.ServiceType -match "Exchange"} | ft ServiceName,ServicePlanId
To get the list of SharePoint Online service plans IDs:
(get-msolaccountsku).servicestatus.serviceplan | where {$_.ServiceType -match "SharePoint"} | ft ServiceName,ServicePlanId
- Ensure that no jobs and restore sessions are running.
- Stop the Veeam.Archiver.Service and the Veeam.Archiver.Proxy services.
- Navigate to C:\Program Files\Veeam\Backup365 and edit the Config.xml file by adding the following lines between <Archiver> tags:
<Options>
<O365Plans AdditionalExchangePlans="your-Exchange-plans-IDs" />
</Options>
OR
<Options>
<O365Plans AdditionalSharePointPlans="your-SharePoint-plans-IDs" />
</Options>
- Start the Veeam.Archiver.Service and the Veeam.Archiver.Proxy services.
- Open ‘Add organization’ wizard and re-try the procedure.
More Information
In case the issue persists after these changes, please, contact Veeam Support.