microsoft-teams - 关于 MicrosoftTeams-TeamFunSettings
问题描述
今天发现当 GiphyContentRating 属性值为“允许所有内容”时, MicrosoftTeams powershell命令Get-TeamFunSettings运行失败。错误信息:
Get-TeamFunSettings:将值“unknownFutureValue”转换为类型“System.Nullable`1[Microsoft.TeamsCmdlets.PowerShell.Custom.Model.GiphyRatingType]”时出错。路径 'funSettings.giphyContentRating',第 1 行,位置 844。在第 1 行 char:1 + Get-TeamFunSettings -GroupId a3f33284-82a5-4643-a43d-401f2568177c + ~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ + CategoryInfo : NotSpecified: (:) [Get-TeamFunSettings], JsonSerializationException + FullyQualifiedErrorId : Newtonsoft.Json.JsonSerializationException,Microsoft.TeamsCmdlets.PowerShell.Custom.GetF unSettings
解决方案
也许它只是非常新,但根据命令“允许所有内容”的文档不是一个选项。(我确实认为它应该是一个) https://docs.microsoft.com/en-us/powershell/module/teams/set-teamfunsettings
推荐阅读
- docker - 解决 Docker 层缓存在 Azure Pipeline 中不起作用的问题
- javascript - 尝试部署 NextJS 应用程序时,我收到一条错误消息,指出“无法解析 'pnpapi'”
- kotlin - Jetpack compose:可以设置 DropdownMenu 高度以显示下一项
- rxjs - 如何展平在 rxjs 之后产生的嵌套 observables
- go - 为什么我的解决方案对于 go slices 练习不正确?
- css - 尝试使用固定位置渲染多个相互重叠的侧边栏,但第二个侧边栏在悬停时闪烁
- angular - Angular - 通过给定数据自动填充嵌套表单
- arrays - 使用yup验证的reactjs中的数组长度为零
- javascript - 当我分配了 10 时,来自数组的 setValues 没有将数据范围识别为 9 列
- c# - 我在哪里可以找到 Visual Studio 2019 中的 bin/debug 文件夹