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

KB ID: 3076
Product: Veeam Backup for Microsoft 365
Version: any
Published: 2019-12-26
Last Modified: 2021-02-18
Get weekly article updates
By subscribing, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Policy.

Cheers for trusting us with the spot in your mailbox!

Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest

error icon

Oops! Something went wrong.

Please try again later.

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
        
      If an error about installing the NuGet provider occurs when running the above Install-Module comandlets, run the following command to force PowerShell to connect using TLS 1.2
      [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
      
    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. Update the Config.xml and Proxy.xml files

    1. Navigate to C:\ProgramData\Veeam\Backup365 directory on the Veeam Backup for Microsoft 365 server

    2. Create a backup copy of Config.xml and Proxy.xml

    3. Open both Config.xml and Proxy.xml in Notepad (or Notepad++)

    4. Using the Plan IDs gathered in Step 1 add the following lines between <Archiver> tags in the XML files
      (Example of what this should look like below)
      <Options>
      <O365Plans AdditionalExchangePlans="your-Exchange-plans-IDs" AdditionalSharePointPlans="your-SharePoint-plans-IDs" />
      </Options>
      
      If you do not have any SharePoint plans, omit the AdditionalSharePointPlans section.

      NOTE: The plans must be entered as shown in the example. The GUIDs are entered in Comma-Separated Value within the Quotation around 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.
Click here to send feedback regarding this KB, or suggest content for a new KB.
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Spelling error in text

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please try again later.

KB Feedback/Suggestion

This form is only for KB Feedback/Suggestions, if you need help with the software open a support case

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Policy.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Verify your email to continue your product download
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

error icon

Oops! Something went wrong.

Please try again later.