Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug : TeamsComplianceRecordingPolicy, Attribut ComplianceRecordingApplications is not exported as a list of string, but as a list of object #3890

Closed
pkernevez opened this issue Nov 14, 2023 · 2 comments · Fixed by #3894 or #3985
Labels
Bug Something isn't working Teams V1.23.1101.1 Version 1.23.1101.1

Comments

@pkernevez
Copy link
Contributor

Description of the issue

In the MOF file, the attribut is declared like that (string[]):

[Write, Description("A list of application instances of policy-based recording applications to assign to this policy. The Id of each of these application instances must be the ObjectId of the application instance as obtained by the Get-CsOnlineApplicationInstance cmdlet.")] String ComplianceRecordingApplications[];

But the export produce code like that:

        TeamsComplianceRecordingPolicy "TeamsComplianceRecordingPolicy-Tag:-rec"
        {
            ApplicationId                                          = $ConfigurationData.NonNodeData.ApplicationId;
            CertificateThumbprint                            = $ConfigurationData.NonNodeData.CertificateThumbprint;
            ComplianceRecordingApplications        = @(@{Id='xxxyyyyxx-abcd-efgh-abcd-wqhequwewqehq'});
            Description                                              = "Policy for xxx";
            DisableComplianceRecordingAudioNotificationForCalls = $False;
            Enabled                                                   = $True;
            Ensure                                                     = "Present";
            Identity                                                    = "Tag:rec";
            TenantId                                                   = $OrganizationName;
            WarnUserOnRemoval                              = $True;
        }

Microsoft 365 DSC Version

1.23.1101.1

Which workloads are affected

Teams

The DSC configuration

No response

Verbose logs showing the problem

No response

Environment Information + PowerShell Version

No response

@pkernevez
Copy link
Contributor Author

Related to #3848 and #3817

@pkernevez
Copy link
Contributor Author

Are you waiting for something else ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Teams V1.23.1101.1 Version 1.23.1101.1
Projects
None yet
2 participants