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

在啟用混合式的商務用 Skype Server 內部部署中,您可以在內部部署環境和雲端之間移動使用者 (無論是移至 Microsoft Teams 或商務用 Skype Online)。In an on-premises deployment of Skype for Business Server that is enabled for hybrid, you can move users between the on-premises environment and the cloud (whether to Microsoft Teams or to Skype for Business Online). 無論使用者是位於內部部署或雲端中,都將視為使用者的商務用 Skype 首頁:Whether a user is located on-premises or in the cloud is known as the user’s Skype for Business home:

  • 位於內部部署的使用者會與內部部署商務用 Skype 伺服器互動。Users who are homed on premises interact with on-premises Skype for Business servers.
  • 已在線上狀態的使用者可以跟與商務用 Skype Online 服務互動。Users who are homed online may interact with Skype for Business Online service.

小組使用者本身擁有商務用 skype 的首頁,不論他們是否使用商務用 Skype。Teams users inherently have a Skype for Business home, whether they use Skype for Business or not. 如果您有內部部署商務用 Skype 的使用者,且該使用者同時使用團隊(並列),這些使用者便會位於內部部署環境。If you have on-premises Skype for Business users that are also using Teams (side by side), those users are homed on premises. 具有商務用 Skype 之商務用 Skype 的團隊使用者不具備從其團隊用戶端與商務用 Skype 使用者互動的能力,也無法與同盟組織中的使用者進行通訊。Teams users with Skype for Business on premises do not have the ability to interoperate with Skype for Business users from their Teams client, nor can they communicate from Teams with users in a federated organization. 這類功能只有在使用者從商務用 Skype (內部)移至線上時才可用。Such functionality is only available after the user is moved from Skype for Business on premises to online. 當您將使用者移至線上時,您可以允許他們使用商務用 Skype Online (或 Teams),或僅使用 Teams Only。When you move a user to online, you can either allow them to use Skype for Business Online (and, optionally, Teams) or you can make them Teams Only. 如果組織已經使用 Teams,強烈建議您將其移至 TeamsOnly 模式,這會確保所有路由傳送的傳入聊天和通話都會到達其 Teams 用戶端。If your organization is already using Teams, it’s strongly recommended that you move them to Teams Only mode, which will ensure that routing of all incoming chats and calls lands in their Teams client. 如需詳細資訊,請參閱使用團隊與商務用skype 結合使用商務用 skype和遷移的團隊和相關的指導方針。For more details, see Teams coexistence with Skype for Business and Migration and interoperability guidance for organizations using Teams together with Skype for Business.

必要條件Prerequisites

將使用者移至雲端(不論是僅限商務用 Skype 或僅限小組模式)的必要條件:Prerequisites to move a user to the cloud (whether to Skype for Business Only or Teams Only mode):

  • 組織必須正確地設定 Azure AD Connect,並依照Configure AZURE Ad connect中所述的方式,同步處理使用者的所有相關屬性。The organization must have Azure AD Connect properly configured and be syncing all relevant attributes for the user as described in Configure Azure AD Connect.
  • 必須設定商務用 skype 混合(如設定商務用 skype 混合式中所述)。Skype for Business hybrid must be configured, as described in Configure Skype for Business hybrid.
  • 必須為使用者指派商務用 Skype Online (方案2) 的授權,而如果要使用 Teams,使用者也必須擁有 Teams 的授權。The user must be assigned a license for Skype for Business Online (Plan 2), and if they will be using Teams, they must also have a Teams license. 此外:In addition:
    • 如果使用者已在內部部署中啟用電話撥入式會議,則預設情況下,使用者在執行移動使用者的線上之前,還必須在 Microsoft 365 或 Office 365 中指派音訊會議授權。If the user is enabled for dial-in conferencing in on premises, by default the user must also have an Audio Conferencing license assigned in Microsoft 365 or Office 365 before you run move the user online. 使用者一旦移轉到雲端,就會在雲端中佈建 [音訊會議]。Once migrated to the cloud, the user will be provisioned for audio conferencing in the cloud. 若由於某些原因您想要將使用者移至雲端,但未使用音訊會議功能,您可以在中指定參數,以覆寫此檢查 BypassAudioConferencingCheck Move-CsUserIf for some reason you want to move a user to the cloud, but not use audio conferencing functionality, you can override this check by specifying the BypassAudioConferencingCheck parameter in Move-CsUser.
    • 如果使用者已在內部部署中啟用 Enterprise Voice,使用者在線上移動使用者之前,必須先在 Microsoft 365 或 Office 365 中指派電話系統授權。If the user is enabled for Enterprise Voice in on premises, by default the user must have a Phone System license assigned in Microsoft 365 or Office 365 before you move the user online. 使用者一旦移轉到雲端,就會在雲端中佈建 [電話系統]。Once Migrated to the cloud, the user will be provisioned for Phone System in the cloud. 若由於某些原因您想要將使用者移至雲端,但未使用電話系統功能,您可以在中指定參數,以覆寫此檢查 BypassEnterpriseVoiceCheck Move-CsUserIf for some reason you want to move a user to the cloud but not use Phone System functionality, you can override this check by specifying the BypassEnterpriseVoiceCheckparameter in Move-CsUser.

移動使用者Moving users

從內部部署移動使用者至雲端時:When a user is moved from on-premises to the cloud:

  • 使用者開始在雲端中的商務用 Skype Online 服務,以使用任何商務用 Skype 功能。The user starts using Skype for Business Online services in the cloud for any Skype for Business functionality.
  • Teams 使用者可與商務用 Skype 使用者互通,並可與其他組織同盟。Teams users become enabled for interoperability with Skype for Business users, and they can also federate with other organizations.
  • 從內部部署的連絡人會移至雲端(商務用 Skype 或小組)。Contacts from on premises are moved to the cloud (either Skype for Business or Teams).
  • 其組織的現有會議會遷移至線上:如果使用者直接移至 TeamsOnly (請參閱以下)、會議會轉換為小組會議,否則會議會保留商務用 Skype,但是會進行遷移,以供線上(而非內部部署)。Existing meetings they organized that are scheduled in the future are migrated to online: If users are moved directly to TeamsOnly (see below), meetings are converted to Teams meetings, otherwise meetings remain Skype for Business but will be migrated so they are hosted online instead of on-premises. 會議移轉會同步發生,並在移動使用者之後約 90 分鐘開始。Migration of meetings happens asynchronously and begins approximately 90 minutes after moving the user. 若要判斷會議移轉狀態,可以使用 Get-csMeetingMigrationStatusTo determine status of meeting migration, you can use Get-csMeetingMigrationStatus. 請注意,不會移動會議之前上傳的任何內容。Note that any content that was uploaded in advance of the meeting is not moved.

若要在內部部署與雲端之間移動使用者(不論是團隊或商務用 Skype Online),請使用 Move-CsUser Cmdlet 或商務用 Skype 系統管理員控制台,這兩者都是內部部署工具。To move users between on premises and the cloud (whether to Teams or to Skype for Business Online), use either the Move-CsUser cmdlet or the Skype for Business Admin Control Panel, both of which are on-premises tools. 這些工具支援三種不同的移動路徑:These tools support three different move paths:

所需的系統管理認證Required administrative credentials

若要在內部部署與雲端之間移動使用者,您必須在內部部署商務用 Skype 伺服器環境和 Microsoft 365 或 Office 365 組織中使用具有足夠許可權的帳戶。To move users between on premises and the cloud, you must use an account with sufficient privileges in both the on-premises Skype for Business Server environment as well as in the Microsoft 365 or Office 365 organization. 您可以使用一個具有所有必要許可權的帳戶,也可以使用兩個帳戶,在這種情況下,您會使用內部部署認證來存取內部部署工具,然後在這些工具中,您會為 Microsoft 365 或 Office 365 系統管理帳戶提供額外的認證。You can either use one account that has all the necessary privileges, or you can use two accounts, in which case you would access the on-premises tools using on-premises credentials, and then in those tools you would supply additional credentials for a Microsoft 365 or Office 365 administrative account.

  • 在內部部署環境中,執行移動的使用者必須具備商務用 Skype Server 中的 CSServerAdminstrator 角色。In the on-premises environment, the user performing the move must have the CSServerAdminstrator role in Skype for Business Server.

  • 在 Microsoft 365 和 Office 365 中,執行移動的使用者必須是全域系統管理員或同時具有商務用 Skype 管理員和使用者管理員角色。In Microsoft 365 and Office 365, the user performing the move must either be a Global Administrator or must have both Skype for Business Administrator and User Administrator roles.

    重要

    • 如果您使用的是商務用 Skype 系統管理員控制台,系統會提示您使用適當的角色為 Microsoft 365 或 Office 365 帳戶提供認證,如上所述。If you are using the Skype for Business Admin Control Panel, you will be prompted to provide credentials for a Microsoft 365 or Office 365 account with the appropriate roles, as noted above. 您必須提供一個以 onmicrosoft.com 結尾的帳戶。You must supply an account that ends in .onmicrosoft.com. 如果無法做到,請使用 Move-CsUser Cmdlet。If that is not possible, then use the Move-CsUser cmdlet.
    • 如果您是在 PowerShell 中使用 Move-CsUser,您可以使用 onmicrosoft.com 中的任何內部部署帳戶,也可以使用任何已同步處理至 Azure AD 的內部部署帳戶,前提是您也在 Cmdlet 中指定 HostedMigrationOverrideUrl 參數。If you are using Move-CsUser in PowerShell, you can either use an account that ends in .onmicrosoft.com, or you can use any on-premises account that is synchronized into Azure AD, provided that you also specify the HostedMigrationOverrideUrl parameter in the cmdlet. 裝載的遷移覆寫 URL 的值為下列 URL: 的 variant。https://adminXX.online.lync.com/HostedMigration/hostedmigrationService.svcThe value of the hosted migration override URL is a variant of the following URL: https://adminXX.online.lync.com/HostedMigration/hostedmigrationService.svc
      在上述 URL 中,以兩個或三個字元取代 XX,如下所示:In the above URL, replace the XX with either two or three characters, determined as follows:
      • 在商務用 Skype Online PowerShell 會話中,執行下列 Cmdlet:In a Skype for Business Online PowerShell session, run the following cmdlet:
        Get-CsTenant|ft identity
      • 產生的值會是下列格式:The resulting value will be in the following format:
        OU=<guid>,OU=OCS Tenants,DC=lyncXX001,DC=local
      • 這兩位數的程式碼是區段中包含的 XX,DC = lyncXX001。The two- or three-digit code is the XX contained in the section, DC=lyncXX001. 如果是兩個字元的代碼,它會是一個數位後接數位(如0a)。If it’s a two-character code, it will be a digit followed by a number (such as 0a). 如果是三個字元的代碼,它會是兩個字母后接一位數(例如 jp1)。If it’s a three-character code, it will be two letters followed by a digit (such as jp1). 在所有情況下,您會在 XX 碼之後立即看到001。In all cases, you’ll see 001 immediately after the XX code.

語音設定需求Voice configuration requirements

如果使用者已在內部部署中為 enterprise voice 設定,則在您將使用者移至線上時,您必須協調更新其語音設定,或者,您也可以在不含電話語音功能的情況下進行遷移。If users are configured for enterprise voice in on premises, you will need to coordinate updating their voice configuration when you move them to online, or, alternatively, you could migrate them without telephony capabilities. 可用的選項取決於使用者是否要在線上時使用團隊或商務用 Skype 用戶端:The available options depend on whether the user will be using the Teams or Skype for Business client once they are online:

  • 您可以將使用者的電話語音提供者更新為使用Microsoft 通話方案You can update a user’s telephony provider to use a Microsoft Calling Plan. 這是使用者是否要使用團隊或商務用 Skype 用戶端的選項。This is an option whether users will use Teams or Skype for Business clients.
  • 您可以繼續使用內部部署 PSTN 提供者:You can continue to use your on-premises PSTN provider:
    • 必須針對直接路由設定要使用小組的語音使用者。Voice users who will use Teams must be configured for Direct Routing. 只有在使用者從內部部署移至線上後,才能使用直接路由。Direct Routing is only available after the user is moved from on premises to online.
    • 在線上移動商務用 Skype 用戶端後,必須為商務用 Skype 混合語音功能設定語音使用者。Voice users who will use the Skype for Business client after they are moved online must be configured for Skype for Business Hybrid Voice functionality.

如需混合式環境中電話語音選項的詳細資訊,以及支援性清單,請參閱使用 PSTN 連線的混合式環境中的使用者帳戶For more details about telephony options in hybrid environments, as well as a supportability matrix, see User accounts in a hybrid environment with PSTN connectivity.

其他考量事項Other considerations

內部部署和線上環境中的原則 (例如,控制訊息、會議、通話行為) 互不相干。The policies (such as to control messaging, meeting, and calling behavior) in on-premises and online environments are independent. 您可以考慮在環境中設定任何原則,並將其指派給使用者,然後再將該使用者從內部部署移至雲端,使其在遷移到線上時立即具備正確的設定。You may want to consider configuring any policies in the environment and assigning them to the user before you move that user from on premises to the cloud, so that they have the correct configuration as soon as they are migrated to online.

另請參閱See also

將使用者從內部部署移動至商務用 Skype OnlineMove users from on premises to Skype for Business Online

將使用者從內部部署移動至 TeamsMove users from on-premises to Teams

設定會議移轉服務 (MMS)Setting up the Meeting Migration Service (MMS)

規劃直接路由Plan Direct Routing

Move-CsUserMove-CsUser