From fc17c387f1ace58dc1f0f0443daa07964e5c3a4f Mon Sep 17 00:00:00 2001 From: Vaibhav Kamra Date: Tue, 10 Jan 2023 23:09:14 -0800 Subject: [PATCH] Update list of skus that license onedrive (#2105) ## Description Adds a few missing SKUs that license OneDrive. This is not the complete list. ## Does this PR need a docs update or release note? - [x] :white_check_mark: Yes, it's included - [ ] :clock1: Yes, but in a later PR - [ ] :no_entry: No ## Type of change - [ ] :sunflower: Feature - [x] :bug: Bugfix - [ ] :world_map: Documentation - [ ] :robot: Test - [ ] :computer: CI/Deployment - [ ] :broom: Tech Debt/Cleanup ## Issue(s) * #2104 ## Test Plan - [x] :muscle: Manual - [ ] :zap: Unit test - [ ] :green_heart: E2E --- CHANGELOG.md | 1 + src/internal/connector/onedrive/drive.go | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 26296e27d..5a2c79930 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Issue where repository connect progress bar was clobbering backup/restore operation output. - Issue where a `backup create exchange` produced one backup record per data type. - Specifying multiple users in a onedrive backup (ex: `--user a,b,c`) now properly delimits the input along the commas. +- Updated the list of M365 SKUs used to check if a user has a OneDrive license. ### Known Issues diff --git a/src/internal/connector/onedrive/drive.go b/src/internal/connector/onedrive/drive.go index 55e1ead53..36a79dca1 100644 --- a/src/internal/connector/onedrive/drive.go +++ b/src/internal/connector/onedrive/drive.go @@ -54,6 +54,18 @@ var ( "afcafa6a-d966-4462-918c-ec0b4e0fe642", // Microsoft 365 E5 Developer "c42b9cae-ea4f-4ab7-9717-81576235ccac", + // Microsoft 365 E5 + "06ebc4ee-1bb5-47dd-8120-11324bc54e06", + // Office 365 E4 + "1392051d-0cb9-4b7a-88d5-621fee5e8711", + // Microsoft 365 E3 + "05e9a617-0261-4cee-bb44-138d3ef5d965", + // Microsoft 365 Business Premium + "cbdc14ab-d96c-4c30-b9f4-6ada7cdc1d46", + // Microsoft 365 Business Standard + "f245ecc8-75af-4f8e-b61f-27d8114de5f3", + // Microsoft 365 Business Basic + "3b555118-da6a-4418-894f-7df1e2096870", } )