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
After exporting my TeamsUpdateManagementPolicy, I have the following error when launching M365TenantConfig.ps1:
PS C:\ProgramData\Dsc\git\mpc_dsc_m365\tmp> .\M365TenantConfig.ps1
Write-Error: C:\ProgramData\Dsc\git\mpc_dsc_m365\tmp\M365TenantConfig.ps1:3682:9
Line |
3682 | TeamsUpdateManagementPolicy "TeamsUpdateManagementPolicy-Tag: …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
| At least one of the values 'NewTeamsOnly' is not supported or valid for property 'UseNewTeamsClient' on class 'TeamsUpdateManagementPolicy'. Please specify
| only supported values: NewTeamsAsDefault, UserChoice, MicrosoftChoice, AdminDisabled.
InvalidOperation: Errors occurred while processing configuration 'M365TenantConfig'.
Write-Error: C:\ProgramData\Dsc\git\mpc_dsc_m365\tmp\M365TenantConfig.ps1:3682:9
Line |3682| TeamsUpdateManagementPolicy "TeamsUpdateManagementPolicy-Tag: … | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | At least one of the values 'NewTeamsOnly' is not supported or valid for property 'UseNewTeamsClient' on class 'TeamsUpdateManagementPolicy'. Please specify | only supported values: NewTeamsAsDefault, UserChoice, MicrosoftChoice, AdminDisabled.InvalidOperation: Errors occurred while processing configuration 'M365TenantConfig'.
Environment Information + PowerShell Version
OsName : Microsoft Windows 10 Enterprise
OsOperatingSystemSKU : EnterpriseEdition
OsArchitecture : 64-bit
WindowsVersion : 2009
WindowsBuildLabEx : 19041.1.amd64fre.vb_release.191206-1406
OsLanguage : en-GB
OsMuiLanguages : {en-GB}
PS C:\ProgramData\Dsc\git\mpc_dsc_m365\tmp>$PSVersionTable
Name Value
---------
PSVersion 7.3.8
PSEdition Core
GitCommitId 7.3.8
OS Microsoft Windows 10.0.19045
Platform Win32NT
PSCompatibleVersions {1.0,2.0,3.0,4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
The text was updated successfully, but these errors were encountered:
Description of the issue
After exporting my TeamsUpdateManagementPolicy, I have the following error when launching M365TenantConfig.ps1:
I guess this value is new and is missing in https://github.com/microsoft/Microsoft365DSC/blob/Dev/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsUpdateManagementPolicy/MSFT_TeamsUpdateManagementPolicy.schema.mof#L12C109-L12C116
Microsoft 365 DSC Version
1.24.313.1
Which workloads are affected
Teams
The DSC configuration
Verbose logs showing the problem
Environment Information + PowerShell Version
The text was updated successfully, but these errors were encountered: