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

TeamsGroupPolicyAssignment: Missing one policy type in ValidateSets #4647

Closed
ricmestre opened this issue May 8, 2024 · 0 comments · Fixed by #4648 or #4674
Closed

TeamsGroupPolicyAssignment: Missing one policy type in ValidateSets #4647

ricmestre opened this issue May 8, 2024 · 0 comments · Fixed by #4648 or #4674

Comments

@ricmestre
Copy link
Contributor

Description of the issue

After making an export of a customer's tenant I wasn't able to compile it into MOF, the weird thing was that it didn't give any error message but after several tests with the blueprint I found out the problem was with one of the TeamsGroupPolicyAssignment that contained a policy type which isn't included in the module and its schema, in this case it's missing policy type TeamsVerticalPackagePolicy.

I'll raise a PR to fix this.

Microsoft 365 DSC Version

1.24.424.1

Which workloads are affected

Teams

The DSC configuration

TeamsGroupPolicyAssignment "TeamsGroupPolicyAssignment-REDACTEDTeamsVerticalPackagePolicy"
        {
            Credential           = $Credscredential;
            Ensure               = "Present";
            GroupDisplayName     = "REDACTED";
            GroupId              = "REDACTED";
            PolicyName           = "REDACTED";
            PolicyType           = "TeamsVerticalPackagePolicy";
            Priority             = 1;
        }

Verbose logs showing the problem

N/A

Environment Information + PowerShell Version

N/A
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