Nov 27 2020 12:55 AM
Hi all,
Was wondering if someone can help, I want to allow cloud recording for 121 calls. How do I do this Im using this Set-CsTeamsCallingPolicy -Identity Staff -allowCloudRecordingForCalls $true
But doesn't seem to work it says The term 'Set-CsTeamsCallingPolicy' 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.
Please help!
Nov 27 2020 01:10 AM
@AB21805 Hi there,
Did you install the skype for business before?
https://docs.microsoft.com/en-us/skypeforbusiness/set-up-your-computer-for-windows-powershell/downlo...
Nov 27 2020 01:59 AM
Hi @drmedner
I have this installed already, could it be something to do with me only creating the policy this morning?
"Staff"
Nov 30 2020 02:20 PM
@AB21805 I believe this parameter is only available for csTeamsCALLINGpolicy and will start working on 12/18/2020. AllowCloudRecording is the parameter that's currently used under csTeamsMEETINGpolicy.
Dec 04 2020 01:05 AM
Dec 04 2020 07:32 AM
Solution@AB21805 I think it depends on the version of the MicrosoftTeams module you have installed.
You may need to install the MicrosoftTeams module if you haven't already
PS C:\Windows\System32> Install-Module -Name MicrosoftTeams
Update the module - you don't need the SkypeForBusiness module if you have the latest MicrosoftTeams module
PS C:\Windows\System32> Update-Module MicrosoftTeams -Force
You may need to exit PowerShell and start a new elevated PowerShell at this point
Import the module
PS C:\Windows\system32> Import-Module -Name MicrosoftTeams
Create a session variable
PS C:\Windows\system32> $session = New-CSOnlineSession
This should prompt you to login to your tenant
Once logged in, import the commands from the newly created session
PS C:\Windows\system32> Import-PSSession $session
Check what settings you have currently
PS C:\Windows\system32> Get-CsTeamsCallingPolicy | Select Identity, allowCloudRecordingForCalls
Set the value for your Staff identity
PS C:\Windows\system32> Set-CsTeamsCallingPolicy -Identity Staff -allowCloudRecordingForCalls $true
Check it worked
PS C:\Windows\system32> Get-CsTeamsCallingPolicy | Select Identity, allowCloudRecordingForCalls
Good luck
Dave
Dec 04 2020 07:32 AM
Solution@AB21805 I think it depends on the version of the MicrosoftTeams module you have installed.
You may need to install the MicrosoftTeams module if you haven't already
PS C:\Windows\System32> Install-Module -Name MicrosoftTeams
Update the module - you don't need the SkypeForBusiness module if you have the latest MicrosoftTeams module
PS C:\Windows\System32> Update-Module MicrosoftTeams -Force
You may need to exit PowerShell and start a new elevated PowerShell at this point
Import the module
PS C:\Windows\system32> Import-Module -Name MicrosoftTeams
Create a session variable
PS C:\Windows\system32> $session = New-CSOnlineSession
This should prompt you to login to your tenant
Once logged in, import the commands from the newly created session
PS C:\Windows\system32> Import-PSSession $session
Check what settings you have currently
PS C:\Windows\system32> Get-CsTeamsCallingPolicy | Select Identity, allowCloudRecordingForCalls
Set the value for your Staff identity
PS C:\Windows\system32> Set-CsTeamsCallingPolicy -Identity Staff -allowCloudRecordingForCalls $true
Check it worked
PS C:\Windows\system32> Get-CsTeamsCallingPolicy | Select Identity, allowCloudRecordingForCalls
Good luck
Dave