Forum Discussion

robwill100's avatar
robwill100
Brass Contributor
Oct 16, 2023

The version '5.6.0' of module 'MicrosoftTeams' is currently in use.

Hi all, I am hopng someine can assist me with this query. 

I am trying to link up a call recording software platfoorm to Teams calling to allow the recording of users calls. 

Every time I go to do I am asked to use powershell to process the installation however I keep getting the following message. I have tried a few different fixes but nothing seems to work, any suggestions would be great. Cheers

 

WARNING: The version '5.6.0' of module 'MicrosoftTeams' is currently in use. Retry the operation after closing the applications.

 

 

  • LeonPavesic's avatar
    LeonPavesic
    Silver Contributor

    Hi robwill100,

    The error message "WARNING: The version '5.6.0' of module 'MicrosoftTeams' is currently in use. Retry the operation after closing the applications." means that there is another application using the Microsoft Teams PowerShell module. To fix this error, you need to close all applications that are using the module before retrying the installation.

    To fix this error, you need to close any applications that are using the Teams module. If you are not sure which applications are using the module, you can use the following PowerShell command to find out:

     

    Get-WmiObject -Query "SELECT * FROM Win32_Process WHERE CommandLine LIKE '%Teams.exe%'" | Select-Object ProcessId, Name, CommandLine

     


    This command will return a list of all processes that are using the Teams module. You can then close these processes using the Task Manager and try to install the recording software one more time.

    If you are still getting the error message after trying the above steps, you can try the following:

    1. Open PowerShell as an administrator.
    2. Run the following command:

     

    Get-Module -Name MicrosoftTeams​

     

    1. This will list all of the Microsoft Teams PowerShell modules that are installed on your computer.
    2. Find the version of the module that is currently in use (5.6.0 in your case).
    3. Run the following command to uninstall the module:

     

    Uninstall-Module -Name MicrosoftTeams -Version 5.6.0​

     

    1. Once the module is uninstalled, run the following command to reinstall it:

     

    Install-Module -Name MicrosoftTeams​

     

    1. Try to install the call recording software platform again.

     

    Please click Mark as Best Response & Like if my post helped you to solve your issue.
    This will help others to find the correct solution easily. It also closes the item.


    If the post was useful in other ways, please consider giving it Like.


    Kindest regards,


    Leon Pavesic
    (LinkedIn)