You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to apply one of these policies from a customer to another tenant I noticed that the the policy wasn't being deployed so I created one manually through the admin portal and tried to change it with M365DSC but Test-TargetResource always returns false and no errors were present in the logs, nevertheless trying to create/set the policy via cmdlets I found the problem is because AllowCloudRecording is set to False but parameter AllowRecordingStorageOutsideRegion is also included in the blueprint and sent when creating/setting the policy which shouldn't be the case. Please note that in the admin portal once the Recording setting is set to Off then all parameters under it get disabled which means that we need to remove parameter AllowRecordingStorageOutsideRegion if AllowCloudRecording is present and set to False.
New-CsTeamsMeetingPolicy : Enabling in region recording is not allowed when AllowCloudRecording is set to false. Please refer to documentation. CorrelationId: REDACTED
Environment Information + PowerShell Version
N/A
The text was updated successfully, but these errors were encountered:
Description of the issue
Trying to apply one of these policies from a customer to another tenant I noticed that the the policy wasn't being deployed so I created one manually through the admin portal and tried to change it with M365DSC but Test-TargetResource always returns false and no errors were present in the logs, nevertheless trying to create/set the policy via cmdlets I found the problem is because AllowCloudRecording is set to False but parameter AllowRecordingStorageOutsideRegion is also included in the blueprint and sent when creating/setting the policy which shouldn't be the case. Please note that in the admin portal once the Recording setting is set to Off then all parameters under it get disabled which means that we need to remove parameter AllowRecordingStorageOutsideRegion if AllowCloudRecording is present and set to False.
I'll send a PR to fix this.
Microsoft 365 DSC Version
1.24.424.1
Which workloads are affected
Teams
The DSC configuration
Verbose logs showing the problem
Environment Information + PowerShell Version
N/A
The text was updated successfully, but these errors were encountered: