Forum Discussion
CCorcoran
Jun 18, 2020Copper Contributor
Enabling Meeting Attendance Report
Hi All,
We have tried to enable the Teams Attendance report for our Global policy however when I run the PowerShell command I receive the following message:
"The WriteObject and WriteError methods cannot be called from outside the overrides of the BeginProcessing, ProcessRecord,
and EndProcessing methods, and they can only be called from within the same thread."
I can run Get commands without issue however I cannot seem to run any Set- or New- commands.
Has anyone seen this error message before?
Code sample below:
Get-CSTeamsMeetingPolicy -Identity Global | ft Identity,AllowEngagementReport
Set-CsTeamsMeetingPolicy -Identity Global -AllowEngagementReport Enabled
- try the following:
Get-CsTeamsMeetingPolicy -Identity Global
If LiveCaptionsEnabledType is set to EnabledUserOverride
Do the following:
Set-CsTeamsMeetingPolicy -Identity Global -LiveCaptionsEnabledType DisabledUserOverride
Looks like EnabledUserOverride is an invalid PS Value
If you have any additional meeting policies with this value, you will also want to configure the same value.
8 Replies
Sort By
Hi CCorcoran
Can you please connect to Skype for Business Powershell and then run the command.
Run PowerShell ISE as Administrator
Set-ExecutionPolicy unrestricted
Import-Module SkypeOnlineConnector
$cred = Get-Credential
$session = New-CsOnlineSession -Credential $cred -Verbose
Import-PSSession -Session $sessionLet me know in case you face any issues
With Regards,
Satish U
- ShawnColemanCopper Contributor
RealTime_M365 We are seeing the exact same issue. We are trying to enable this for our Global Policy
Set-CSTeamsMeetingPolicy -Identity Global -AllowEngagementReport Enabled
gives us that error "The WriteObject and WriteError methods cannot be called from outside the overrides of the BeginProcessing"Get-CSTeamsMeetingPolicy -Identity Global | Set-CSTeamsMeetingPolicy -AllowEngagementReport Enable
Gives me this error "You are not permitted to invoke Set-CsTeamsMeetingPolicy with the following parameters:
Instance"- ShawnColemanCopper Contributortry the following:
Get-CsTeamsMeetingPolicy -Identity Global
If LiveCaptionsEnabledType is set to EnabledUserOverride
Do the following:
Set-CsTeamsMeetingPolicy -Identity Global -LiveCaptionsEnabledType DisabledUserOverride
Looks like EnabledUserOverride is an invalid PS Value
If you have any additional meeting policies with this value, you will also want to configure the same value.
- CCorcoranCopper Contributor
Hi Brisby,
Please let me know if you hear back.
Hi RealTime_M365.
Thank you for your suggestion.
Yes, I ran ISE in the administrator context, and with similar code to what you suggested (script.png) and received the same message as before (console.png).
Any other ideas are greatly appreciated...
Kind regards,
CC
- This should have been fixed now. Most of the Customer were affected due to the updates. Please run the Powershell now and see if you still see the issue.
With Regards,
Satish U