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

TeamsComplianceRecordingPolicy: Test-DSCConfiguration reports not in desired state if policy is removed #4212

Closed
ricmestre opened this issue Jan 22, 2024 · 0 comments · Fixed by #4214 or #4252

Comments

@ricmestre
Copy link
Contributor

Description of the issue

TeamsComplianceRecordingPolicy doesn't have any issues being created, updated or removed but Test-DSCConfiguration reports not in desired state if policy is removed, that's because the condition in Test-TargetResource is not correct and needs to be fixed.

Microsoft 365 DSC Version

1.23.117.1

Which workloads are affected

Teams

The DSC configuration

TeamsComplianceRecordingPolicy "TeamsComplianceRecordingPolicy-TeamsComplianceRecordingPolicy_1"
        {
            ApplicationId         = $TeamsApplicationId;
            CertificateThumbprint = $TeamsCertThumbprint;
            Ensure                = "Absent";
            Identity              = "TeamsComplianceRecordingPolicy_1";
            TenantId              = $OrganizationName;
        }

Verbose logs showing the problem

N/A

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