Skip Ribbon Commands
Skip to main content

Xadean's Empirical Musing

:

Quick Launch

Xadean's Empirical Musing > Posts > Error in Moving Lync Online Users to On Premise in Hybrid Configuration
April 12
Error in Moving Lync Online Users to On Premise in Hybrid Configuration

Recently experienced an issue where a client has a hybrid Lync 2013 on premise deployment integrated with Office 365 Lync Online.  Some of the users are able to be moved successfully from Lync Online to On Premise with the following commands:

Import-Module LyncOnlineConnector
$cred = Get-Credential
$CSSession = New-CsOnlineSession -Credential $cred
Import-PSSession $CSsession -AllowClobber

Move-CsUser -Identity <username>@domain.com -Target "<fe-pool>.domain.com" -Credential $cred -HostedMigrationOverrideURL <URL>

The users that could not be moved had the following errors:

Enable-CsUser : Cannot move legacy user in enable operation. Use the Move user
cmdlet instead.
At line:1 char:14
+ enable-csuser <<<<  -identity domain.local\dtrott -registrarpool lyncpool01.ccs.in
t -sipaddresstype samaccountname -sipdomain domain.com
    + CategoryInfo          : InvalidOperation: (:) [Enable-CsUser], InvalidOp
   erationException
    + FullyQualifiedErrorId : ProcessRecord,Microsoft.Rtc.Management.AD.Cmdlet
   s.EnableOcsUserCmdlet

 

Move-CsUser : Cannot move users from pools running earlier versions. Use Move-CsLegacyUser cmdlet instead.
At line:1 char:2
+  Move-CsUser -Identity <NAME> -Target <FEPool.domain.com> -Credential $ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (CN=OCSADUser) [Move-CsUser], LegacyPoo
   lException
    + FullyQualifiedErrorId : MoveError,Microsoft.Rtc.Management.AD.Cmdlets.MoveOcsUserCmdlet

The root cause was improperly set AD attributes. This ARTICLE by Terence Luk describes the fix, which is summarized below:

Open up adsiedit.msc, navigate to the user's object, open the properties, and removing or setting the following attributes to "<not set>" and "0":

  1. msRTCSIP-ArchivingEnabled
  2. msRTCSIP-FederationEnabled
  3. msRTCSIP-InternetAccessEnabled
  4. msRTCSIP-OptionFlags
  5. msRTCSIP-PrimaryHomeServer
  6. msRTCSIP-PrimaryUserAddress
  7. msRTCSIP-UserEnabled

Here's an example of a user who still had legacy OCS attributes populated for their account:

Here's an example of a user account that had the legacy OCS attributes removed:

 

 

Comments

Air Jordan 1

https://www.yeezysslides.us.com/ Yeezy Slides
https://www.yeezyofficialwebsite.us.com/ Yeezy Official Website
https://www.jordans1.us.com/ Jordan 1
https://www.airjordan12.us.com/ Jordan 12
https://www.airjordan11.us.com/ Jordan 11
https://www.yeezyslideswebsite.us.com/ Yeezy Slides
https://www.nfl-shop.us.com/ NFL Shop
https://www.nfl-store.us.com/ NFL Store
https://www.yeezysupplywebsite.us.com/ Yeezy Supply
https://www.jordan4.us.com/ Jordan 4
https://www.yeezywebsite.us.com/ Yeezy Website
https://www.yeezyslidesofficials.us.com/ Yeezy Slides
https://www.jordan12.us.com/ Jordan 12
https://www.jordans11.us.com/ Jordan 11
https://www.jordan1.us.com/ Jordan 1
https://www.air-jordan.us.com/ Air Jodan
https://www.nfl-jerseys.us.com/ NFL Jerseys
https://www.yeezyslideswebsites.us.com/ Yeezy Slides
https://www.yeezyslideswebsites.us.com/ Yeezy Website
https://www.yeezysupplywebsites.us.com/ Yeezy Supply
https://www.yeezy-stores.us.com/ Yeezy Stores
https://www.yeezyslidesstore.us.com/ Yeezy Slides
https://www.yeezyslidesstore.us.com/ Yeezy Store
https://www.lvoutlets.us.com/ Louis Vuitton
https://www.lvoutlets.us.com/ Louis Vuitton Outlet
https://www.lvoutlet.us.com/ Louis Vuitton
https://www.lvoutlet.us.com/ Louis Vuitton Outlet
https://www.louis-vuitton-outlets.us.com/ Louis Vuitton
https://www.louis-vuitton-outlets.us.com/ Louis Vuitton Outlet
https://www.lv-outlet.us.com/ Louis Vuitton
https://www.lv-outlet.us.com/ Louis Vuitton Outlet
https://www.yeezyshoes.de/ Yeezy Shoesa
https://www.yeezysupplys.de/ Yeezy Supply
https://www.yeezy-slides.de/ Yeezy Slides
https://www.yeezy-supply.de/ Yeezy Supply
https://www.yeezy-350.de/ Yeezy 350
https://www.yeezyshoess.us/ Yeezy Shoes
https://www.yeezy-slidess.us/ Yeezy Slides
https://www.adidayeezy.us.com/ Adidas Yeezy
https://www.yeezyadidas.us.com/ Yeezy Adidas
https://www.adida.us.com/ Adidas Yeezy
https://www.yeezys-supplys.us.com/ Yeezy Supply
https://www.yeezy-slidess.us.com/ Yeezy Slides
https://www.yeezyofficialwebsites.us.com/ Yeezy Official Website
https://www.adidasyeezys.us.com/ Adidas Yeezy
https://www.yeezyslidesofficial.us.com/ Yeezy Slides
https://www.yeezyslidesofficial.us.com/ Yeezy Official
https://www.yeezyboost350v2.us.com/ Yeezy 350
https://www.yeezy2024.us.com/ Yeezy 2024

Tags:Yeezy Shoes,Yeezy Slides,Jordan 1,Air Jordan,Jordan 4
 on 2/12/2025 2:49 AM

Re: Error in Moving Lync Online Users to On Premise in Hybrid Configuration

The intestinal flora is made up of trillions of microorganisms whose role is to maintain good intestinal permeability, support the immune system, produce vitamins, etc. What is often overlooked is that a healthy microbiota helps you lose weight and reduces fat storage. https://www.fatburnersmax.com/best-fat-burners-for-men-and-women/ Above all, research has shown that overweight people systematically suffer from dysbiosis, an imbalance between good and bad bacteria that most often manifests itself in bloating, gas and digestive disorders. On the other hand, people whose microbiota is represented by a wide variety of beneficial bacteria digest better, store less fat and suffer less from abdominal bloating, which promotes the flat stomach effect.
 on 2/12/2025 6:16 AM

Add Comment

Title


Body *


CAPTCHA *

Attachments