Forum Discussion
setting call policy to allow cloud recording
- Dec 04, 2020
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 MicrosoftTeamsUpdate the module - you don't need the SkypeForBusiness module if you have the latest MicrosoftTeams module
PS C:\Windows\System32> Update-Module MicrosoftTeams -ForceYou may need to exit PowerShell and start a new elevated PowerShell at this point
Import the module
PS C:\Windows\system32> Import-Module -Name MicrosoftTeamsCreate a session variable
PS C:\Windows\system32> $session = New-CSOnlineSessionThis 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 $sessionCheck what settings you have currently
PS C:\Windows\system32> Get-CsTeamsCallingPolicy | Select Identity, allowCloudRecordingForCalls
Set the value for your Staff identityPS C:\Windows\system32> Set-CsTeamsCallingPolicy -Identity Staff -allowCloudRecordingForCalls $trueCheck it worked
PS C:\Windows\system32> Get-CsTeamsCallingPolicy | Select Identity, allowCloudRecordingForCallsGood luck
Dave
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 MicrosoftTeamsUpdate the module - you don't need the SkypeForBusiness module if you have the latest MicrosoftTeams module
PS C:\Windows\System32> Update-Module MicrosoftTeams -ForceYou may need to exit PowerShell and start a new elevated PowerShell at this point
Import the module
PS C:\Windows\system32> Import-Module -Name MicrosoftTeamsCreate a session variable
PS C:\Windows\system32> $session = New-CSOnlineSessionThis 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 $sessionCheck 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 $trueCheck it worked
PS C:\Windows\system32> Get-CsTeamsCallingPolicy | Select Identity, allowCloudRecordingForCalls
Good luck
Dave