May 11 2021 10:02 PM - edited May 11 2021 10:07 PM
I am creating Policy Recording Bot in Microsoft Teams as per the below URL
https://github.com/microsoftgraph/microsoft-graph-comms-samples/tree/master/Samples/V1.0Samples/Loca...
I have created bot in Azure.
I am able to create Application instance using below powershell command
New-CsOnlineApplicationInstance -UserPrincipalName <upn@contoso.com> -DisplayName <displayName> -ApplicationId <your_botappId>
Now working on creating Recording Policy with the below command in Powershell
New-CsTeamsComplianceRecordingPolicy -Enabled $true -Description "Test policy created by <yourName>" <policyIdentity>
But while executing this command getting following message -
The term 'New-CsTeamsComplianceRecordingPolicy' 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.
+ CategoryInfo : ObjectNotFound: (New-CsTeamsComplianceRecordingPolicy:String) [], CommandNotFoundExcepti
on
+ FullyQualifiedErrorId : CommandNotFoundException
+ PSComputerName : api.interfaces.records.teams.microsoft.com
I have installed powershell version 2.3.1 of Microsoft Teams. Also "New-CsTeamsComplianceRecordingPolicy" this command exists in the module "MicrosoftTeams".
Could you please assist.
May 12 2021 03:34 AM
May 13 2021 09:35 PM
No. In the Import Module the command -New-CsTeamsComplianceRecordingPolicy is exists. But While executing it gives error.
May 14 2021 01:16 AM