Sometimes, we get asked which forest customers should use when moving a user to Microsoft Teams in the Move-CsUser.

A quick way to check the forest is to open the following link in a browser:

In the response we can look at the redirect URL and look at the forest, in this case it is 1E.

To make it easier, we can build a PowerShell script/cmdlet to extract the forest from the previous response.

The Get-UcTeamsForest PowerShell cmdlet only needs the domain parameter:

Here is a use scenario from Move users from on-premises to Teams:

$url = (Get-UcTeamsForest -Domain
Move-CsUser -Identity -Target -Credential $cred -HostedMigrationOverrideUrl $url

Get-UcTeamsForest is available UC Lobby Teams PowerShell module since version 0.1.2 .


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.