locked
Error while moving user using Powershell RRS feed

  • Question

  • Hi,

    We have 2 SFB pools.

    I am getting following error while moving users to another pool using SFB Powershell:

    Unable to connect to some of the servers in Pool due to DCOM error.

    However, I am able to move user using Control Panel.

    My colleague when tried to move user using SFB Powershell, he is getting different error:

    Failed while updating destination pool. 

    He can also move using Control Panel.

    We both have same rights on SFB servers. 

    Any help here.



    • Edited by Pawan11 Wednesday, June 15, 2016 2:20 PM
    Wednesday, June 15, 2016 11:11 AM

Answers

  • Hi Pawan11,

    Would you please tell us if you enable the Lync server user replicator service between ADDS and Lync server ?

    Make sure that the Lync Server User Replicator initial synchronization process has completed:

    1.On the desktop of a Lync Server pool front end server

    2.Click on Run from the Start menu

    3.Type in eventvwr.exe and Click on the OK button

    4.Expand the Applications and Services logs

    5.Select Communications Server

    6.In the Actions pane of the Event Viewer dialog, click on the Filter Current Log

    7.From the Event sources drop down selector choose CS User replicator

    For details, please refer to

    https://support.microsoft.com/en-ph/kb/2441696

    Best regards,

    Alice Wang

    • Proposed as answer by Eason Huang Thursday, June 23, 2016 1:55 AM
    • Marked as answer by Niko.Cheng Saturday, July 9, 2016 5:55 AM
    Wednesday, June 22, 2016 10:32 AM

All replies

  • Could you try using the parameter -DomainController along with the move command syntax and  try the move. 

    Make sure that account doing the move has full permission on Lync server. 


    Linus

    Wednesday, June 15, 2016 7:00 PM
  • Hi Pawan11,

    Make sure the user performing the move operation is added to RTCUniversalServerAdmins group. Also add RTCUniversalServerAdmins group to Lync server's local Administrators group.

    Please also check your back-end database, try to enable Cross Database ownership Chaining on the Lync Databases on SQL.

    Here is a similar case , please refer to

    https://social.technet.microsoft.com/Forums/lync/en-US/24bd43c9-ccfe-4b90-a495-fe9019654102/unable-to-move-users-between-2-lync-pools?forum=ocsmanagement

    Best regards


    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    Eason Huang
    TechNet Community Support

    Thursday, June 16, 2016 7:58 AM
  • Hi,

    User has Csadministrator rights. 

    As I said we are able to move user to different pool via SFB control panel.

    Issue is only when using Powershell.

    Thanks

    Pawan

    Thursday, June 16, 2016 6:02 PM
  • Hi Pawan, 

    Did you try using the -domain controller switch.


    Linus

    Friday, June 17, 2016 4:37 AM
  • Yes i tried using domain controller switch. Still the same error
    Friday, June 17, 2016 8:13 AM
  • Any help here. I am still facing the issue. Unable to move user using Powershell while it is working fine using Control Panel

    Tuesday, June 21, 2016 8:02 AM
  • Hi Pawan, 

    Did you try the cross database chaining as recommended by Eason. Could you paste the complete error when you get while moving the user with PS. 


    Linus || Please mark posts as answers/helpful if it answers your question.

    Tuesday, June 21, 2016 11:51 AM
  • Hello Pawan, 

    Since you have tried all the suggestion and if we need to go deeper , We can enable logging using the clslogger tool and can check the logs using the snooper tool , you can select the Scenario as "Powershell" Select the source and destination pool and then start the logging - execute  the move command  and then stop logging to analyze the same. 

    Location for both the tools

    C:\Program Files\Skype for Business Server 2015\Debugging Tools


    Linus || Please mark posts as answers/helpful if it answers your question.

    Wednesday, June 22, 2016 10:08 AM
  • Hi Pawan11,

    Would you please tell us if you enable the Lync server user replicator service between ADDS and Lync server ?

    Make sure that the Lync Server User Replicator initial synchronization process has completed:

    1.On the desktop of a Lync Server pool front end server

    2.Click on Run from the Start menu

    3.Type in eventvwr.exe and Click on the OK button

    4.Expand the Applications and Services logs

    5.Select Communications Server

    6.In the Actions pane of the Event Viewer dialog, click on the Filter Current Log

    7.From the Event sources drop down selector choose CS User replicator

    For details, please refer to

    https://support.microsoft.com/en-ph/kb/2441696

    Best regards,

    Alice Wang

    • Proposed as answer by Eason Huang Thursday, June 23, 2016 1:55 AM
    • Marked as answer by Niko.Cheng Saturday, July 9, 2016 5:55 AM
    Wednesday, June 22, 2016 10:32 AM