https://login.veeam.com/en/oauth?client_id=nXojRrypJ8&redirect_uri=https%3A%2F%2Fwww.veeam.com%2Fservices%2Fauthentication%2Fredirect_url&response_type=code&scope=profile&state=eyJmaW5hbFJlZGlyZWN0TG9jYXRpb24iOiJodHRwczovL3d3dy52ZWVhbS5jb20va2IzMDc2IiwiaGFzaCI6ImM1ZGI4NTdkLTFmOTktNDJhOS04ZWU1LTNhZjM0MWUyYTIwNSJ9
1-800-691-1991 | 9am - 8pm ET
EN

Warning: "User does not have a valid Microsoft Office 365 license with SharePoint plan enabled."

Challenge

Microsoft OneDrive for Business or Microsoft SharePoint backups may not be backed up, resulting in a warning: User does not have a valid Microsoft Office 365 license with SharePoint plan enabled.

Solution

To resolve this issue, add missing Plans IDs to the list according to the following steps:
  1. Get the current Office 365 plan IDs assigned for the organization. You can do this via ‘MSOnline’ AzureAD module and the following PowerShell One-Liners: *
    Note: This script is provided as-is as a courtesy for Gathering Plan IDs from MSOnline. Please be aware that the commands and parameters may be altered by Microsoft in the future, which may cause the script to function incorrectly. There is no support provided for this script, and should it fail, we ask you to contact Microsoft support. This script may be updated in the future to reflect changes to the Office 365 Powershell Environment
    1. To call "get-msolaccountsku" (use the CMDLET), call "Connect-MsolService" first. This requires the following modules to be installed and activated:
      • install-module AzureAD
      • install-module AzureADPreview
      • install-module MSOnline
    2. To get the list of Exchange Online service plans IDs:
      • (get-msolaccountsku).servicestatus.serviceplan | where {$_.ServiceType -match "Exchange"} | ft ServiceName,ServicePlanId
    3. To get the list of SharePoint Online service plans IDs:
      • (get-msolaccountsku).servicestatus.serviceplan | where {$_.ServiceType -match "SharePoint"} | ft ServiceName,ServicePlanId
  2. Make sure that no backup jobs or restore sessions are running.
  3. Stop the Veeam.Archiver.Service and Veeam.Archiver.Proxy services.
  4. Navigate to the C:\ProgramData\Veeam\Backup365 directory on the Veeam Backup for Microsoft Office 365 server, create a backup of the Congif.xml file by copying it to another location, then (only after making the pre-edit copy) edit the Config.xml file by adding the following lines between <Archiver> tags:
  5. Repeat Step 4 but for the Proxy.xml file instead.
<Options>
<O365Plans AdditionalExchangePlans="your-Exchange-plans-IDs" AdditionalSharePointPlans="your-SharePoint-plans-IDs" />
</Options>

If you do not have any SharePoint plans, do not add the AdditionalSharePointPlans to the line mentioned

NOTE: You will have to add the Plans as the examples shown in the following screenshot. The GUIDs are entered in Coma Separated Value within the Quotation after each of the key values in the <O365Plans line.

  1. Start the Veeam.Archiver.Service and the Veeam.Archiver.Proxy services.
  2. Open the Add organization wizard and retry the procedure.
KB ID:
3076
Product:
Veeam Backup for Microsoft Office 365
Version:
any
Published:
2019-12-26
Last Modified:
2020-08-13
Please rate how helpful this article was to you:
5 out of 5 based on 1 ratings
Thank you for helping us improve!
An error occurred during voting. Please try again later.

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.
Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Spelling error in text

Knowledge base content request
By submitting, you agree that your personal data will be managed by Veeam in accordance with the Privacy Policy.

ty icon

Thank you!

We have received your request and our team will reach out to you shortly.

OK

error icon

Oops! Something went wrong.

Please go back try again later.