当前位置:网站首页 > 更多 > 玩电脑 > 正文

[玩转系统] Microsoft 365 租户到租户迁移的视觉品牌注意事项

作者:精品下载站 日期:2024-12-14 04:12:46 浏览:14 分类:玩电脑

Microsoft 365 租户到租户迁移的视觉品牌注意事项


这不仅仅是数据传输

在开始 Microsoft 365 租户到租户迁移时,请务必记住,此过程不仅仅是数据传输。这类似于搬进新家:目标不仅仅是重新安置您的物品,而是创造一个感觉熟悉和舒适的空间。对于企业来说,这意味着确保您的数字工作空间反映您的品牌形象并为用户培养连续性感。

收购是租户到租户迁移的常见场景:A 公司收购 B 公司并将 B 公司的数据迁移到 A 公司的租户中。在一些收购中,企业选择保留 B 公司的独特身份。在这些情况下,额外的考虑可以改善租户到租户的迁移体验。

本文探讨了在 Microsoft 365 租户中建立有凝聚力的视觉品牌的实用步骤和脚本,确保团队和数据的无缝过渡。

自定义登录体验

浏览器登录页面通常是 Microsoft 365 环境中用户交互的第一个点。自定义登录页面可以增强环境的身份,并让用户确信他们正在登录正确的租户。登录页面可以包含为可能无法登录的用户提供的 IT 支持信息。

Microsoft 记录了将自定义品牌添加到登录体验的先决条件。下面是默认 Microsoft 365 登录体验(图 1)和自定义 Microsoft 365 登录体验(图 2)的比较。

[玩转系统] Microsoft 365 租户到租户迁移的视觉品牌注意事项

[玩转系统] Microsoft 365 租户到租户迁移的视觉品牌注意事项

当用户使用通用链接(例如,portal.office.com、microsoft365.com)登录 Microsoft 365 时,登录页面自定义仅在用户键入电子邮件或电话号码并选择“下一步”按钮后才会显示 - 此时 Entra ID 验证凭据并应用租户的自定义品牌。但是,您可以通过在用于连接到 Microsoft 365 的 URL 中使用租户经过验证的域名来强制立即显示品牌。自定义 URL 的语法因应用程序而异;以下是一些常见位置的快速指南:

Location

示例网址

Outlook

https://outlook.com/practical365.com

Teams

https://teams.microsoft.com/?tenantId=practical365.com

SharePoint Online

https://practical365.sharepoint.com

My Apps

https://myapps.microsoft.com/?whr=practical365.com

Self-Service Password Reset

https://passwordreset.microsoftonline.com/?whr=practical365.com

要自定义登录体验,请按照 Microsoft 文档中的说明操作,或使用 Microsoft Graph。让我们看看如何使用 Graph SDK 自定义登录体验。

使用 PowerShell 自定义公司品牌

确认满足自定义公司品牌的先决条件后,使用 PowerShell SDK 连接到 Microsoft Graph。

# Set the Tenant ID
$tenantID = “74282c8c-971c-48b1-bce2-a58aff66cf5a” 
 
# Connect to Microsoft Graph 
Connect-MgGraph -TenantId $tenantId -Scopes "Organization.ReadWrite.All" 


由于存在默认值,因此可以通过 Invoke-MgGraphRequest cmdlet 运行 PATCH 命令来更新用于品牌化的字符串属性。必须使用 PUT 命令一次更新一个图像属性。您可以配置品牌支持的任何organizationalBranding 属性。以下是设置字符串属性值,然后使用 Invoke-MgGraphRequest 更新租户配置的示例:

# Page background color. Replaces the sign-in page image if it cannot load
$backgroundColor = "#FF99CC"

# Text at the bottom of the sign-in box. For additional info e.g., help desk phone number. Unicode, max 1024 characters
$signInPageText = "Welcome to Contoso. IT Helpdesk: 555-5555 ext. 55."

# Configure layout. “default” = Default layout with centered lightbox. “verticalSplit” = Background on left and full-height lightbox on right
$layoutTemplateType = "verticalSplit" 
$isHeaderShown = $false
$isFooterShown = $false

# Configure login page text visibility settings
$hidePrivacyAndCookies = $false
$hideTermsOfUse = $false

# Set to $true to hide all SSPR hyperlinks
$hideAccountResetCredentials = $true

# Individually hide SSPR hyperlinks. hideAccountResetCredentials must be set to $false
$hideCannotAccessYourAccount = $true
$hideForgotMyPassword = $true
$hideResetItNow = $true

# Prepare the request body for non-image properties
$body = @{
    backgroundColor = $backgroundColor
    signInPageText = $signInPageText
    loginPageTextVisibilitySettings = @{
        hideAccountResetCredentials = $hideAccountResetCredentials
        hideCannotAccessYourAccount = $hideCannotAccessYourAccount
        hideForgotMyPassword = $hideForgotMyPassword
        hidePrivacyAndCookies = $hidePrivacyAndCookies
        hideResetItNow = $hideResetItNow
        hideTermsOfUse = $hideTermsOfUse
    }
    loginPageLayoutConfiguration = @{
        layoutTemplateType = $layoutTemplateType
        isHeaderShown = $isHeaderShown
        isFooterShown = $isFooterShown
    }
} | ConvertTo-Json

# Issue request to Graph API
Invoke-MgGraphRequest -Method PATCH -Uri "https://graph.microsoft.com/v1.0/organization/$($tenantID)/branding" -Body $body -ContentType "application/json"

以下是配置用于租户品牌的图像的方法:

# Set the content type
$contentType = "image/*"

# Banner company logo. PNG or JPEG image, 36x245px. Recommend transparent image with no padding
$bannerLogoPath = "C:/Users/kariska/Downloads/Image36x245.png"
$bannerLogoEndpoint = “https://graph.microsoft.com/v1.0/organization/$tenantID/branding/localizations/0/bannerLogo”

# Background image of sign-in page. PNG or JPEG image, 1920x1080px, max file size 300KB
$backgroundImagePath = "C:/Users/kariska/Downloads/Image1920x1080.png"
$backgroundImageEndpoint = “https://graph.microsoft.com/v1.0/organization/$tenantID/branding/localizations/0/backgroundImage”

# Favicon. PNG (preferred) or JPEG image, 32x32px, max file size 5KB
$faviconPath = "C:/Users/kariska/Downloads/Image36x36.png"
$faviconEndpoint = “https://graph.microsoft.com/v1.0/organization/$tenantID/branding/localizations/0/favicon”

# Issue requests to Graph API 
Invoke-MgGraphRequest -Method PUT -Uri $bannerLogoEndpoint -InputFilePath $bannerLogoPath -ContentType $contentType

Invoke-MgGraphRequest -Method PUT -Uri $backgroundImageEndpoint -InputFilePath $backgroundImagePath -ContentType $contentType

Invoke-MgGraphRequest -Method PUT -Uri $faviconEndpoint -InputFilePath $faviconPath -ContentType $contentType

不要忘记断开与 Graph 的连接:

Disconnect-MgGraph

打造 Microsoft 365 套件标头品牌

一致的主题可以增强 Microsoft 365 中的组织身份。Microsoft 所说的“组织主题”只是 Microsoft 365 套件标题中的颜色和徽标。此标头(如下图所示)保留在 Microsoft 365 中基于浏览器的应用中。

[玩转系统] Microsoft 365 租户到租户迁移的视觉品牌注意事项

租户可以有多个组织主题:适用于组织中每个人的默认主题以及最多四个附加主题。其他主题已分配给一个或多个 Microsoft 365 组(抱歉,没有安全组或通讯组)。对于收购,请考虑为迁移的用户创建额外的主题。如果满足先决条件,请根据 companyName 等属性创建动态 Microsoft 365 组。

Microsoft 的文档提供了有关如何自定义默认主题以及如何创建其他主题的简单说明。目前,租户的组织主题无法使用脚本进行配置。

SharePoint 在线品牌

SharePoint 网站是协作的核心,还应该反映公司的视觉形象。我们可以在 SharePoint 网站的主题、页眉、导航和页脚中强化这种标识。这篇博文涵盖了更改网站外观的基础知识,包括添加网站徽标;这篇文章教您如何创建和部署自定义颜色主题。

如果您的迁移是一项收购,并且源网站尚未在中心结构中构建,则为被收购公司创建一个品牌中心网站并将其迁移的网站加入其中将有助于迁移的用户更轻松地导航到他们的信息,并帮助现有用户确定哪些数据属于迁移的公司。

这些脚本需要 SharePoint Online Management Shell 和 PnP PowerShell。

从源租户导出 SharePoint 颜色主题并在目标租户中创建它

此脚本使用 SharePoint Online Management Shell 获取源租户中主题的属性,然后使用这些属性在目标租户中创建新主题:

# Admin URLs for source and target
$sourceAdminUrl = “https://skapski-admin.sharepoint.com”
$targetAdminUrl = “https://m365x18891260-admin.sharepoint.com”

# Name of the theme to export
$themeName = “Custom Cyan”

# Connect to source with a SharePoint Administrator account
Connect-SPOService -Url $sourceAdminUrl

# Get theme settings
$Palette = Get-SPOTheme -Name $themeName | Select-Object -ExpandProperty Palette
$IsInverted = Get-SPOTheme -Name $themeName | Select-Object -ExpandProperty IsInverted

# Connect to target with a SharePoint Administrator account
Connect-SPOService -Url $targetAdminUrl

# Add the color theme to the target tenant
Add-SPOTheme -Identity $themeName -Palette $palette -IsInverted $isinverted

Write-Host "Added $themeName theme to target tenant”

将颜色主题应用于站点列表

此脚本使用 CSV 中 siteURL 列中包含的信息将 SharePoint 颜色主题应用于网站列表:

# File path of CSV
$csvPath = "C:/Users/kariska/Documents/Sites.csv"

Import-Csv $csvPath | ForEach-Object {
    $siteURL = $_.SiteURL 

    # Apply the theme to the site
    Set-SPOWebTheme -Identity $ThemeName -Web $siteUrl

    Write-Host "Applied $themeName theme to $siteUrl"
}

指定中心站点、将站点关联到中心以及将关联站点添加到中心站点导航

在 CSV 中添加一列并将其标题为“HubStatus”。通过在 HubStatus 列中在其旁边写上“Hub”来选择一个要指定为中心的站点。将其他所有内容留空。

# Connect to PnP PowerShell
Connect-PnPOnline tenant.sharepoint.com -Interactive

# File path of CSV
$csvPath = "C:/Users/kariska/Documents/Sites.csv"

# SharePoint Admin user account
$adminUser = “[email protected]” 

Import-Csv $csvPath | ForEach-Object {
    $siteUrl = $_.SiteUrl
    $hubStatus = $_.HubStatus
    # Register hub site and grant the SharePoint Admin rights to the hub site
    if ($hubStatus -eq "Hub") {
        $hubSiteURL = $siteURL
        Register-PnPHubSite -Site $hubSiteURL -Principals  $adminUser
        Write-Host "Registered $hubSiteURL as Hub Site"
    }
    # Associate other sites to hub and add them to hub navigation
    elseif ($hubStatus -ne $Hub -and $siteURL -ne $null) {
        Add-PnPHubSiteAssociation -Site $siteURL -HubSite $hubSiteURL
        Connect-PnPOnline -Url $siteURL -Interactive
        $web = Get-PnPWeb
        $siteTitle = Get-PnPProperty -ClientObject $web -Property Title
        Connect-PnPOnline -Url $hubSiteURL -Interactive
        Add-PnPNavigationNode -Title $siteTitle -Url $siteURL -Location "TopNavigationBar"
        Write-Host "Associated $siteURL with Hub Site"
    }
}


由于缓存的原因,您可能需要浏览到中心网站,单击中心网站导航上的“编辑”,然后单击“保存”以使更改可见。

将自定义磁贴添加到应用程序启动器

Microsoft 365 应用启动器包含您获得许可的应用和服务。通过一些配置,应用程序启动器可以包含自定义磁贴。这些可以帮助用户更轻松地导航到共享资源,例如 SharePoint Online 中的中心网站。下面是应用程序启动器菜单的简化图像:

[玩转系统] Microsoft 365 租户到租户迁移的视觉品牌注意事项

通过导航到 https://admin.microsoft.com > 设置 > 组织设置 > 组织配置文件,将自定义磁贴添加到应用程序启动器。单击“应用程序的自定义磁贴”,单击“添加自定义磁贴”,然后输入以下信息:

Field

描述

Tile name

瓷砖名称。出现在图块中。

URL of website

当用户单击图块时会打开什么。

URL of tile image

该图像应为 60×60 像素,并且组织中的每个人都可以使用,无需进行身份验证。在 URL 中使用 HTTPS。显示在“我的应用程序”页面和应用程序启动器上。

Description

瓷砖的描述。当您选择“我的应用程序”页面上的磁贴并选择“应用程序详细信息”时可见。

您可以通过将自定义应用程序磁贴固定给用户来使其更加可见。

是时候更新和强化了

Microsoft 365 租户到租户迁移提供了在数字工作空间中强化和刷新品牌形象的机会。通过自定义登录页面、SharePoint 网站、向 Microsoft 365 应用启动器添加自定义磁贴以及维护子公司的独特品牌,您可以创建一个用户欢迎且熟悉的环境。

请记住,迁移不仅仅是移动数据;而是移动数据。这是为了创造一个让您的团队能够蓬勃发展的空间。

您需要 登录账户 后才能发表评论

取消回复欢迎 发表评论:

关灯