0

Add URL for the current and new M365 web app to scope extensions

Microsoft announced a rebranding from Microsoft 365 to Microsoft
365 Copilot including a new URL. The current URL for the M365 PWA
as well as the new URL are added to the scope extensions of the
M365 PWA to prevent user interruption.

Bug: b:389599427
Change-Id: I6b606dac0c6ebd3f6468cad0dcaea2567705af60
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6172441
Reviewed-by: Dibyajyoti Pal <dibyapal@chromium.org>
Reviewed-by: Alexander Bolodurin <alexbn@chromium.org>
Commit-Queue: Dibyajyoti Pal <dibyapal@chromium.org>
Auto-Submit: Leon Masopust <lmasopust@google.com>
Cr-Commit-Position: refs/heads/main@{#1407324}
This commit is contained in:
Leon Masopust
2025-01-16 07:53:36 -08:00
committed by Chromium LUCI CQ
parent 7df8dc2aaf
commit 358538037f
2 changed files with 10 additions and 2 deletions
chrome/browser/web_applications
chromeos/constants

@ -20,7 +20,8 @@ constexpr char kM365UrlsFinchParamName[] = "m365-scope-extensions-urls";
constexpr char kM365DomainsFinchParamName[] = "m365-scope-extensions-domains";
constexpr auto kDefaultUrls = base::MakeFixedFlatSet<std::string_view>(
{"https://onedrive.live.com", "https://1drv.ms", "https://www.office.com"});
{"https://onedrive.live.com", "https://1drv.ms", "https://www.office.com",
"https://m365.cloud.microsoft", "https://www.microsoft365.com"});
constexpr auto kDefaultDomains =
base::MakeFixedFlatSet<std::string_view>({"https://sharepoint.com"});

@ -319,7 +319,14 @@ const base::FeatureParam<std::string> kMicrosoft365ScopeExtensionsURLs{
// The old branding of the Microsoft 365 web app. Many links within
// Microsoft 365 still link to the old www.office.com origin.
"https://www.office.com/"};
"https://www.office.com/,"
// The new branding for the Microsoft 365 web app.
"https://m365.cloud.microsoft/,"
// The current Microsoft 365 web app. The scope of the new Microsoft 365
// Copilot web app remains unclear, so this is added for safety.
"https://www.microsoft365.com/"};
// Comma separated list of scope extension domains for the Microsoft 365 PWA.
const base::FeatureParam<std::string> kMicrosoft365ScopeExtensionsDomains{