what are ther requirements for using module SkypeForBusiness

pk_oz 181 Reputation points

I am trying to update some Skype For Business certs on a Win Server 2019 Datacenter DC.
I am trying to run the commandlet Get_CSCertificate which requires module: SkypeForBusiness
(see https://learn.microsoft.com/en-us/powershell/module/skype/get-cscertificate?view=skype-ps)
Which links to: https://learn.microsoft.com/en-us/office365/enterprise/powershell/manage-skype-for-business-online-with-office-365-powershell
Which links to: https://learn.microsoft.com/en-us/microsoft-365/enterprise/manage-skype-for-business-online-with-microsoft-365-powershell?view=o365-worldwide
I followed the procedures on this page to install Microsoft Teams Module:
These are the modules currently installed:
Manifest Microsoft.PowerShell.Management
Manifest Microsoft.PowerShell.Utility {
Script 3.1.0 MicrosoftTeams
Binary PackageManagement
Script PowerShellGet
Script 2.0.0 PSReadline

I logged in using my AzureAD global admin acct using:


My account is then displayed correctly as is my TenantID

When I try and run Get_CSCertificate, I get the following error:
Get-CsCertificate : The term 'Get-CsCertificate' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or if a path was included, verify that
the path is correct and try again.

Are there any other requirements I am missing?

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,411 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,435 questions
0 comments No comments
{count} votes

Accepted answer
  1. Limitless Technology 39,476 Reputation points

    Hi @pk_oz

    Yes, it has been integrated with the Teams PowerShell module.

    Microsoft Teams PowerShell module requires PowerShell 5.1 or higher on all platforms. Install the latest version of PowerShell available for your operating system.

    To check your PowerShell version, run the following command from within a PowerShell session:


    You can use the Install-Module cmdlet to install the Microsoft Teams PowerShell module.

    Install Microsoft Teams PowerShell Module

    Hope this resolves your Query!!


    --If the reply is helpful, please Upvote and Accept it as an answer--

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Rich Matheisen 45,431 Reputation points

    Have you run "Get-Module -Name SkypeForBusiness -ListAvailable" after you installed the module? Was the module found? If it was, try "Get-Command -Name Get-CSCertificate -Module SykpeForBusiness".

    If the command's available, try "Import-Module SkypeForBusiness" and then see if the Get-CSCertificate works.