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

Compliance Application ID wasn't properly retrieved in TeamsComplianceRecordingPolicy #3848

Closed
pkernevez opened this issue Oct 30, 2023 · 0 comments · Fixed by #3849 or #3858
Closed

Comments

@pkernevez
Copy link
Contributor

Description of the issue

The issue #3712 is not fixed.

This issue make the assumption that [Array]$instance.ComplianceRecordingApplications contains objects with an ID
and the line ComplianceRecordingApplications = [Array]$instance.ComplianceRecordingApplications.Id is supposed to retrieve the list of IDs.

But in fact is only a list of string with name of the fields, so it contains:

@(
"Microsoft.Teams.Policy.Aministration.Cmdlets.Core.CompianceRecordingApplication",
"Microsoft.Teams.Policy.Aministration.Cmdlets.Core.CompianceRecordingApplication"
)

And in this case: [Array]$instance.ComplianceRecordingApplications.Id is empty.

Before the PR #3817, we had a list of string and after we have an empty list.

Microsoft 365 DSC Version

1.23.1025.1

Which workloads are affected

Teams

The DSC configuration

You need to have a SCcTteamsComplianceRecordingPolicy with at least one CSTeamsComplianceRecordingApplication

Verbose logs showing the problem

No response

Environment Information + PowerShell Version

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant