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

TeamsCortanaPolicy: Test-DSCConfiguration reports not in desired state if policy is removed #4208

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

Comments

@ricmestre
Copy link
Contributor

Description of the issue

TeamsCortanaPolicy 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

TeamsCortanaPolicy "TeamsCortanaPolicy-TeamsCortanaPolicy_1"
        {
            ApplicationId         = $TeamsApplicationId;
            CertificateThumbprint = $TeamsCertThumbprint;
            Ensure                = "Absent";
            Identity              = "TeamsCortanaPolicy_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