Skip to content

TeamsMessagingPolicy: UseB2BInvitesToAddExternalUsers not exported correctly #6632

@ricmestre

Description

@ricmestre

Description of the issue

@FabienTchanz You added support for several new properties to Teams resources, namely UseB2BInvitesToAddExternalUsers on TeamsMessagingPolicy which according to [0] should either be set to Enabled or Disabled. This is properly defined in the module and in the schema nevertheless when exporting the resource it shows as boolean, I have a Markdown linter that catches these problems, but basically this means that when trying to deploy this resource it will result with an error.

Image

[0] https://learn.microsoft.com/en-us/powershell/module/microsoftteams/set-csteamsmessagingpolicy?view=teams-ps#-useb2binvitestoaddexternalusers

Microsoft 365 DSC Version

1.25.1015.1

Which workloads are affected

Teams

The DSC configuration

N/A

Verbose logs showing the problem

N/A

Environment Information + PowerShell Version

Win11/PS5.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions