question

AdminAS-2566 avatar image
0 Votes"
AdminAS-2566 asked bharathn-msft edited

Installing Hybrid worker on On-Premises Server running Exchange/Skype for business

Okay, I have to ask this because I cannot find a clear answer to this.

I am currently trying to utilize runbooks to enable users for our Skype for business (on-Prem) server to migrate them into Teams. They need to have these accounts first utilize our DID's since they aren't available within Teams. (FYI I know that Skype for business is being and is mostly deprecated. And that they will auto migrate to TeamsOnly mode by themselves now. This doesn't change that I need to "enable-csuser" first)

Considering the migration and deprecation of SFB I am forced to utilize the Microsoft Teams module in PowerShell. This module does not give me access to the "enable-csuser" cmdlet. When I install this on my hybrid worker ( this is an individual VM only used for runbooks for this process) it won't recognize the cmdlet. There is not way to import a CSOnline session into it anymore.

Because of all of this and the need to utilize a module given to the SFB server from the management shell, could use my SFB server as a hybrid worker. I would install, on it, all the appropriate modules and it would run those tasks when requested. Technically, it would be a separate service running then the SFB stuff, so would this work with no interference from its primary function?

Please explain best practice or if you have other ways of enabling SFB users. Once this command is ran i do have decent access to Set-csuser and the like from my hybrid worker.

windows-server-powershelloffice-skype-business-server-itpro-general
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SharonZhao-MSFT avatar image
0 Votes"
SharonZhao-MSFT answered AdminAS-2566 commented

@AdminAS-2566,

It is suggested to enable on-premises users either by Enable-CsUser command on Skype for Business server or in Skype for Business Server Control Panel firstly. Then, try to run the following script to migrate users to Microsoft Teams.

As you know, the root cause is that Enable-CsUser cmdlet is not included in Microsoft Teams module. It can only run for Skype for Business server on-premises. The following image captured from official document shows the evidence:
124572-image.png



If the response is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



image.png (10.6 KiB)
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

This i already know. I appreciate you confirming that it only works on the server. NOW I ask if i should run the Azure Automation Hybrid worker from the server? From my understanding it installs selective modules and opens up the log analytics to monitor the processes ran on the system. Will this be disruptive to the servers main function, SFB? Or will it not interfere, therefore I can install it as a hybrid worker.

I need guidance on this so I do not implement this and effect the servers function.

0 Votes 0 ·

@AdminAS-2566,

Sorry for misunderstand your real question. I read some related official documents but don’t get a clear answer.

If your server runs well, it is recommended you enable users on-premises server. If you must use hybrid worker which is out of our scope, I will add azure-automation tag for this thread. Someone checking this tag will give you more insights. Thanks for your patience and understanding.

0 Votes 0 ·

@AdminAS-2566,
How is going now?
Please feel free to drop us any notes.
Have a good day!

0 Votes 0 ·
Show more comments