為 IT 系統管理員升級至團隊的工具 —Tools for upgrading to Teams — for IT administrators

本文將說明升級至團隊的工具。This article describes tools for upgrading to Teams. 本文是幾個描述 IT 系統管理員升級概念與實現的第三個專案。This article is the third of several that describe upgrade concepts and implementation for IT administrators.

此外,下列文章說明重要的升級概念與共存行為:In addition, the following articles describe important upgrade concepts and coexistence behaviors:

管理升級的工具Tools for managing the upgrade

無論您選擇哪一種升級方法,如果使用者已有商務用 Skype Online,您都可以使用 TeamsUpgradePolicy來管理切換至 TeamsOnly,以控制使用者的共存模式。Whichever upgrade method you choose, for users that already have Skype for Business Online, you manage the transition to TeamsOnly using TeamsUpgradePolicy, which controls a user’s coexistence mode. 針對在商務用 Skype Server 中擁有內部部署帳戶的使用者,您也可以 Move-CsUser 使用 將其移至雲端For users with an on-premises account in Skype for Business Server, you also use Move-CsUser to move them to the cloud. 如需每個模式的詳細資訊,請參閱 共存模式For more information on each of the modes, see Coexistence modes.

無論您是使用商務用 Skype 模式執行選取功能轉場,或是直接從預設孤島設定升級到 TeamsOnly 模式,TeamsUpgradePolicy 是已擁有商務用 Skype Online 之使用者的主要工具。Whether you perform a select capabilities transition using Skype for Business modes or simply upgrade to TeamsOnly mode from the default Islands configuration, TeamsUpgradePolicy is the primary tool for users who already have Skype for Business Online. 與團隊中的任何其他原則一樣,您可以將 TeamsUpgradePolicy 直接指派給使用者。Like any other policy in Teams, you can assign TeamsUpgradePolicy directly to a user. 您也可以將原則設定為租使用者範圍的預設值。You can also set the policy as the tenant-wide default. 針對使用者的任何指派,都優先于租使用者預設設定。Any assignment to a user takes precedence over the tenant default setting. 您可以在 [團隊管理員] 主控台和 PowerShell 中管理原則。You can manage the policy in the Teams Admin Console and in PowerShell.

您也可以將任何 TeamsUpgradePolicy 模式(除了 TeamsOnly 模式)指派給駐留在商務用 Skype 內部部署中的使用者。You can also assign any mode of TeamsUpgradePolicy, except for TeamsOnly mode, to users homed in Skype for Business on-premises. TeamsOnly 模式只能指派給已駐留在商務用 Skype Online 的使用者TeamsOnly mode can only be assigned to a user who is already homed in Skype for Business Online. 這是因為與商務用 Skype 使用者、同盟以及 Microsoft 365 電話系統功能的互通性,只有當使用者駐留在商務用 Skype Online 中時,才可以使用。This is because interop with Skype for Business users and federation as well as Microsoft 365 Phone System functionality are only possible if the user is homed in Skype for Business Online. 此外, 如果您有商務用 Skype 內部部署 (,您無法將 TeamsOnly 模式指派為租使用者的預設模式,因為 目前狀態為指向 Office 365 以外的位置的 lyncdiscover DNS 記錄。In addition, you cannot assign TeamsOnly mode as the tenant-wide default if you have a Skype for Business on-premises deployment (which is detected by presence of a lyncdiscover DNS record that points to location other than Office 365.

使用商務用 Skype 帳戶駐留內部部署的使用者 必須在線上 (移 至商務用 skype online,或直接) 使用商務用 skype 內部部署工具組中的 Move-CsUser。Users with Skype for Business accounts homed on-premises must be moved online (either to Skype for Business Online or direct to Teams) using Move-CsUser in the Skype for Business on-premises toolset. 在1或2個步驟中,您可以將這些使用者移至 TeamsOnly:These users can be moved to TeamsOnly in either 1 or 2 steps:

  • 1步驟:在 Move-csuser 中指定-MoveToTeams 開關。1 step: Specify the -MoveToTeams switch in Move-CsUser. 這需要有 CU8 或更新版本的商務用 Skype Server 2019 或商務用 Skype Server 2015。This requires Skype for Business Server 2019 or Skype for Business Server 2015 with CU8 or later.

  • 2個步驟:執行移動 Move-csuser 之後,使用 TeamsUpgradePolicy 將 TeamsOnly 模式授與使用者。2 steps: After running Move-CsUser, grant TeamsOnly mode to the user using TeamsUpgradePolicy.

與其他原則不同,您無法在 Microsoft 365 或 Office 365 中建立新的 TeamsUpgradePolicy 實例。Unlike other policies, it is not possible to create new instances of TeamsUpgradePolicy in Microsoft 365 or Office 365. 所有現有的實例都會內嵌在服務中。All the existing instances are built into the service. (請注意,mode 是 TeamsUpgradePolicy 內的屬性,而不是原則實例的名稱。 ) 在部分(但非全部)情況下,原則實例的名稱與模式相同。(Note that mode is a property within TeamsUpgradePolicy, rather than the name of a policy instance.) In some--but not all--cases, the name of the policy instance is the same as mode. 特別是,若要將 TeamsOnly 模式指派給使用者,您會將 TeamsUpgradePolicy 的「UpgradeToTeams」實例授與該使用者。In particular, to assign TeamsOnly mode to a user, you will grant the “UpgradeToTeams” instance of TeamsUpgradePolicy to that user. 若要查看所有實例的清單,您可以執行下列命令:To see a list of all instances, you can run the following command:

Get-CsTeamsUpgradePolicy|ft Identity, Mode, NotifySfbUsers

若要將線上使用者升級為 TeamsOnly 模式,請指派「UpgradeToTeams」實例:To upgrade an online user to TeamsOnly mode, assign the “UpgradeToTeams” instance:

Grant-CsTeamsUpgradePolicy -PolicyName UpgradeToTeams -Identity $user 

若要將內部部署商務用 Skype 使用者升級到 TeamsOnly 模式,請使用內部部署工具集中的 Move-CsUser:To upgrade an on-premise Skype for Business user to TeamsOnly mode, use Move-CsUser in the on-premises toolset:

Move-CsUser -identity $user -Target sipfed.online.lync.com -MoveToTeams -credential $cred

若要變更租使用者中所有使用者的模式,除了擁有明確的每位使用者 (授與優先順序) 的人員外,請執行下列命令:To change the mode for all users in the tenant, except those who have an explicit per-user grant (which takes precedence), run the following command:

Grant-CsTeamsUpgradePolicy -PolicyName SfbWithTeamsCollab -Global

注意

如果您有任何使用者使用商務用 Skype 帳戶內部部署,您就無法在租使用者層級指派 TeamsOnly 模式。If you have any users with Skype for Business accounts on-premises, you cannot assign TeamsOnly mode at the tenant level. 您必須使用移動 Move-csuser 將這些使用者逐一移動到雲端。You must move these users individually to the cloud using Move-CsUser.

在商務用 Skype 用戶端中使用通知Using notifications in Skype for Business clients

系統管理員可以選擇在商務用 Skype 用戶端中提供使用者通知,以通知使用者即將升級至團隊,如下圖所示。Administrators have the option to provide end user notifications in the Skype for Business client to inform users that they will soon be upgraded to Teams, as shown in the following diagram. 例如,管理員將一周的時間升級為 TeamsOnly 模式,系統管理員可能會想要針對該使用者群組開啟這些通知。For example, a week before the administrator plans to upgrade a group of users to TeamsOnly mode, the administrator might want to turn on these notifications for that group of users. 使用 TeamsUpgradePolicy 與 NotifySfbUsers = true 的實例啟用這些通知。These notifications are enabled using an instance of TeamsUpgradePolicy with NotifySfbUsers=true. 針對除 TeamsOnly 以外的所有模式,實際會有兩個模式的實例,對應到兩個 NotifySfbUsers 值。For all modes other than TeamsOnly, there are actually two instances per mode, corresponding to the two values of NotifySfbUsers. 針對除 TeamsOnly 以外的所有模式,實際會有兩個模式的實例,對應到兩個 NotifySfbUsers 值。For all modes other than TeamsOnly, there are actually two instances per mode, corresponding to the two values of NotifySfbUsers.

顯示通知的圖表

如果您的使用者是駐留在商務用 Skype Online,只要指派的原則實例與使用者的模式相同,但 NotifySfbUsers = true。If your users are homed in Skype for Business Online, simply assign the policy instance that has the same mode as the user, but with NotifySfbUsers=true.

如果您的使用者是駐留在內部部署的商務用 Skype 伺服器,您必須使用內部部署工具集,且需要商務用 Skype server 2019 或 CU8 (適用于商務用 skype Server 2015)。If your users are homed in Skype for Business Server on-premises, you’ll need to use the on-premises toolset and you’ll need Skype for Business Server 2019 or CU8 for Skype for Business Server 2015. 針對駐留在內部部署的商務用 Skype 伺服器中的使用者,TeamsUpgradePolicy 來自線上實例的 mode 屬性,但 NotifySfbUsers 屬性不會生效。For users homed in Skype for Business Server on-premises, the mode property from the online instance of TeamsUpgradePolicy is honored, but the NotifySfbUsers property is not. 如果您需要通知,您必須建立 TeamsUpgradePolicy 的內部部署實例來控制用戶端行為。If notifications are desired, you must create an on-premises instance of TeamsUpgradePolicy to control the client behavior.

在 [內部部署] PowerShell 視窗中,使用 NotifySfbUsers = true 建立新的 TeamsUpgradePolicy 實例:In the on-premises PowerShell window, create a new instance of TeamsUpgradePolicy with NotifySfbUsers=true:

New-CsTeamsUpgradePolicy -Identity EnableNotification -NotifySfbUsers $true

接著,使用相同的內部部署 PowerShell 視窗,將該新原則指派給所需的使用者:Then, using the same on-premises PowerShell window, assign that new policy to the desired users:

Grant-CsTeamsUpgradePolicy -Identity $user -PolicyName EnableNotification

會議遷移Meeting migration

當使用者被遷移至 TeamsOnly 模式時,預設會將他們所組織的現有商務用 Skype 會議轉換成小組。When a user is migrated to TeamsOnly mode, by default their existing Skype for Business meetings that they organized will be converted to Teams. 您也可以選擇在指派 TeamsOnly 模式給使用者時,停用預設行為。You can optionally disable the default behavior when assigning TeamsOnly mode to a user. 從內部部署移動使用者時,必須將會議遷移到雲端,才能與線上使用者帳戶共同作業,但如果您沒有指定-MoveToTeams,會議將會以商務用 Skype 會議進行遷移,而不是轉換成團隊。When moving users from on-premises, meetings must be migrated to the cloud to function with the online user account, but if you do not specify -MoveToTeams, the meetings will be migrated as Skype for Business meetings, rather than converted to Teams.

在租使用者層級指派 TeamsOnly 模式時,不會觸發會議遷移給任何使用者。When assigning TeamsOnly mode at the tenant level, meeting migration is not triggered for any users. 如果您想要在租使用者層級指派 TeamsOnly 模式和遷移會議,您可以使用 PowerShell 來取得租使用者的使用者清單 (例如,在需要任何篩選器時使用 Get-CsOnlineUser) 然後遍歷這些使用者,以觸發會議遷移(使用啟動 CsExMeetingMigration)。If you wish to assign TeamsOnly mode at the tenant level and migrate meetings, you can use PowerShell to get a list of users in the tenant (for example, using Get-CsOnlineUser with whatever filters are needed) and then loop through each of these users to trigger meeting migration using Start-CsExMeetingMigration. 如需詳細資訊,請參閱 使用會議遷移服務 (MMS) For details, see Using the Meeting Migration Service (MMS).

與商務用 Skype 搭配使用團隊之組織的遷移和互通性指南Migration and interoperability guidance for organizations using Teams together with Skype for Business

在商務用 Skype Server 與 Microsoft 365 或 Office 365 之間設定混合式連接Configure hybrid connectivity between Skype for Business Server and Microsoft 365 or Office 365

在內部部署和雲端之間移動使用者Move users between on-premises and cloud

設定您的共存與升級設定Setting your coexistence and upgrade settings

授與 CsTeamsUpgradePolicyGrant-CsTeamsUpgradePolicy

使用會議遷移服務 (MMS) Using the Meeting Migration Service (MMS)