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 create/update TeamsAppSetupPolicy with & without specifying either of 'PinnedMessageBarApp' & 'AppPresetMeeting'. Eventhough I used the apps that supports these configurations (confirmed from UI in teams admin), while I am setting up them in conifguration, it erros out saying
##########
Unable to cast object of type 'Microsoft.Teams.Policy.Administration.Cmdlets.Core.AppPreset' to type 'Microsoft.Teams.Policy.Administration.Cmdlets.Core.AppPresetMeeting'.
+ CategoryInfo : InvalidOperation: (:) [], CimException
+ FullyQualifiedErrorId : ProcessRecordFailed,Microsoft.Teams.Policy.Administration.Cmdlets.Core.SetTeamsAppSetupPolicyCmdlet
+ PSComputerName : localhost
The PowerShell DSC resource '[TeamsAppSetupPolicy]TeamsAppSetupPolicy-DSC Test App setup' with SourceInfo
'D:\Setup\M365DSC\CorpDev\DSC-MOF\Extract\Teams\Appsetup\M365TenantConfig_Teams-NoMsgbarOnlyPresetMeetlist.ps1::22::9::TeamsAppSetupPolicy' threw one or more non-terminating errors while running the Set-TargetResource
functionality. These errors are logged to the ETW channel called Microsoft-Windows-DSC/Operational. Refer to this channel for more details.
+ CategoryInfo : InvalidOperation: (:) [], CimException
+ FullyQualifiedErrorId : NonTerminatingErrorFromProvider
+ PSComputerName : localhost
The SendConfigurationApply function did not succeed.
+ CategoryInfo : NotSpecified: (root/Microsoft/...gurationManager:String) [], CimException
+ FullyQualifiedErrorId : MI RESULT 1
+ PSComputerName : localhost
###########
Unable to cast object of type 'Microsoft.Teams.Policy.Administration.Cmdlets.Core.PinnedApp' to type 'Microsoft.Teams.Policy.Administration.Cmdlets.Core.PinnedMessageBarApp'.
+ CategoryInfo : InvalidOperation: (:) [], CimException
+ FullyQualifiedErrorId : ProcessRecordFailed,Microsoft.Teams.Policy.Administration.Cmdlets.Core.SetTeamsAppSetupPolicyCmdlet
+ PSComputerName : localhost
Unable to cast object of type 'Microsoft.Teams.Policy.Administration.Cmdlets.Core.AppPreset' to type 'Microsoft.Teams.Policy.Administration.Cmdlets.Core.AppPresetMeeting'.
+ CategoryInfo : InvalidOperation: (:) [], CimException
+ FullyQualifiedErrorId : ProcessRecordFailed,Microsoft.Teams.Policy.Administration.Cmdlets.Core.SetTeamsAppSetupPolicyCmdlet
+ PSComputerName : localhost
The PowerShell DSC resource '[TeamsAppSetupPolicy]TeamsAppSetupPolicy-DSC Test App setup' with SourceInfo
'D:\Setup\M365DSC\CorpDev\DSC-MOF\Extract\Teams\Appsetup\M365TenantConfig_Teams-NoMsgbarOnlyPresetMeetlist.ps1::22::9::TeamsAppSetupPolicy' threw one or more non-terminating errors while running the Set-TargetResource
functionality. These errors are logged to the ETW channel called Microsoft-Windows-DSC/Operational. Refer to this channel for more details.
+ CategoryInfo : InvalidOperation: (:) [], CimException
+ FullyQualifiedErrorId : NonTerminatingErrorFromProvider
+ PSComputerName : localhost
The SendConfigurationApply function did not succeed.
+ CategoryInfo : NotSpecified: (root/Microsoft/...gurationManager:String) [], CimException
+ FullyQualifiedErrorId : MI RESULT 1+ PSComputerName : localhost
###########
Unable to cast object of type 'Microsoft.Teams.Policy.Administration.Cmdlets.Core.PinnedApp' to type 'Microsoft.Teams.Policy.Administration.Cmdlets.Core.PinnedMessageBarApp'.
+ CategoryInfo : InvalidOperation: (:) [], CimException
+ FullyQualifiedErrorId : ProcessRecordFailed,Microsoft.Teams.Policy.Administration.Cmdlets.Core.SetTeamsAppSetupPolicyCmdlet
+ PSComputerName : localhost
Environment Information + PowerShell Version
OsName : Microsoft Windows Server 2019 Standard
OsOperatingSystemSKU : StandardServerEdition
OsArchitecture : 64-bit
WindowsVersion : 1809
WindowsBuildLabEx : 17763.1.amd64fre.rs5_release.180914-1434
OsLanguage : en-US
OsMuiLanguages : {en-US}
Key : PSVersion
Value : 5.1.17763.6766
Name : PSVersion
Key : PSEdition
Value : Desktop
Name : PSEdition
Key : PSCompatibleVersions
Value : {1.0,2.0,3.0,4.0...}
Name : PSCompatibleVersions
Key : BuildVersion
Value : 10.0.17763.6766
Name : BuildVersion
Key : CLRVersion
Value : 4.0.30319.42000
Name : CLRVersion
Key : WSManStackVersion
Value : 3.0
Name : WSManStackVersion
Key : PSRemotingProtocolVersion
Value : 2.3
Name : PSRemotingProtocolVersion
Key : SerializationVersion
Value : 1.1.0.1
Name : SerializationVersion
The text was updated successfully, but these errors were encountered:
Description of the issue
Trying to create/update TeamsAppSetupPolicy with & without specifying either of 'PinnedMessageBarApp' & 'AppPresetMeeting'. Eventhough I used the apps that supports these configurations (confirmed from UI in teams admin), while I am setting up them in conifguration, it erros out saying
##########
Unable to cast object of type 'Microsoft.Teams.Policy.Administration.Cmdlets.Core.AppPreset' to type 'Microsoft.Teams.Policy.Administration.Cmdlets.Core.AppPresetMeeting'.
+ CategoryInfo : InvalidOperation: (:) [], CimException
+ FullyQualifiedErrorId : ProcessRecordFailed,Microsoft.Teams.Policy.Administration.Cmdlets.Core.SetTeamsAppSetupPolicyCmdlet
+ PSComputerName : localhost
The PowerShell DSC resource '[TeamsAppSetupPolicy]TeamsAppSetupPolicy-DSC Test App setup' with SourceInfo
'D:\Setup\M365DSC\CorpDev\DSC-MOF\Extract\Teams\Appsetup\M365TenantConfig_Teams-NoMsgbarOnlyPresetMeetlist.ps1::22::9::TeamsAppSetupPolicy' threw one or more non-terminating errors while running the Set-TargetResource
functionality. These errors are logged to the ETW channel called Microsoft-Windows-DSC/Operational. Refer to this channel for more details.
+ CategoryInfo : InvalidOperation: (:) [], CimException
+ FullyQualifiedErrorId : NonTerminatingErrorFromProvider
+ PSComputerName : localhost
The SendConfigurationApply function did not succeed.
+ CategoryInfo : NotSpecified: (root/Microsoft/...gurationManager:String) [], CimException
+ FullyQualifiedErrorId : MI RESULT 1
+ PSComputerName : localhost
###########
Unable to cast object of type 'Microsoft.Teams.Policy.Administration.Cmdlets.Core.PinnedApp' to type 'Microsoft.Teams.Policy.Administration.Cmdlets.Core.PinnedMessageBarApp'.
+ CategoryInfo : InvalidOperation: (:) [], CimException
+ FullyQualifiedErrorId : ProcessRecordFailed,Microsoft.Teams.Policy.Administration.Cmdlets.Core.SetTeamsAppSetupPolicyCmdlet
+ PSComputerName : localhost
Microsoft 365 DSC Version
1.25.122.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: