question

AliZiyaei avatar image
0 Votes"
AliZiyaei asked ZiyaeiAli commented

What Happens to direct Routing cmdlets after retirements of Skype for Business PowerShell Module on Feb 15

Hi,

We all have hear that Skype for Business Online Connector will retire on Feb 15. That's less than 2 month and it is being replaced with Microsoft Teams PowerShell module. But in Microsoft Teams module you can not find and cmdlet or commands related to direct routing or derived trunk configuration of any thing for managing PSTNgateway, PSTN usage or voice routes,

Does any one knows what will happen? I can't believe Microsoft is retiring something without having the replacement in place well ahead of the time. Is there any thing I'm missing?

Thanks
Ali

office-teams-windows-itprooffice-online-server-sfb
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.

AliZiyaei avatar image
0 Votes"
AliZiyaei answered JimmyYang-MSFT commented

Hey @JimmyYang-MSFT ,


Thanks again and please ignore previous respond,

Found the answer.

What I was missing was the New-CsOnlineSession cmdlet which I just saw in the screen shot after pasting it.

Thanks again for your responds and wish you a very happy new year.



Regards

Ali

· 1
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.

Hi @AliZiyaei

You're welcome! Happy New Year!

0 Votes 0 ·
JimmyYang-MSFT avatar image
0 Votes"
JimmyYang-MSFT answered JimmyYang-MSFT edited

Hi @AliZiyaei

Based on my knowledge, Skype for Business Online Connector is currently part of the latest Teams PowerShell module. If you’re using the latest Teams PowerShell, you don’t need to install the Skype for Business Online Connector. So don't worry about it. For more details, you can refer to:

https://docs.microsoft.com/en-us/microsoftteams/direct-routing-connect-the-sbc#connect-to-skype-for-business-online-by-using-powershell



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.

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.

AliZiyaei avatar image
0 Votes"
AliZiyaei answered

Hi @JimmyYang-MSFT

Unfortunately this is not the case. I have heard and read that too, but this is not how it is in reality.
You can easily try by installing a brand new fresh windows computer and install the latest version of Microsoft Teams PowerShell Module (Version 1.1.10-Preview) then look at the commands available.
there are limited commands for managing teams and channels but nothing for Voice part of it yet.
Then install the Skype Online for Business connector and try again.

Thanks
Ali
52564-image.png





image.png (126.9 KiB)
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.

MudasserJamil-0415 avatar image
0 Votes"
MudasserJamil-0415 answered ZiyaeiAli commented

Yes, i have exactly the issue, Microsoft claims every that New-CsOnlineSession command is part of the MicrosoftTeams module but that is not the case.
neither i can download they Skype connector as it's no longer available.

My Teams module version is 2.0.0.

Is there anyone managed to work around this problem?

· 1
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.

With Teams PowerShell Module 2.1 you have all the CsOnline commands
The challenge is it does not support OAuthToken which means makes the programming almost impossible.
You can't get the username and password along with MFA and use it in your program.

0 Votes 0 ·
MudasserJamil-0415 avatar image
0 Votes"
MudasserJamil-0415 answered ZiyaeiAli commented

@ZiyaeiAli thank you for your quick response.
Unfortunately command is still missing from the Module, any suggestions?

87824-capture.png



capture.png (21.3 KiB)
· 1
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.

@MudasserJamil-0415
Have you installed PowerShell Get Module?
Install-Module PowerShellGet -Force -AllowClobber
if you are using PowerShell V5,1 and higher you will need this module as well.
Use references below:
https://docs.microsoft.com/en-us/microsoftteams/teams-powershell-install

Cheers
Ali

0 Votes 0 ·