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

[EXOMailTips] Change the Organization parameter to IsSingleInstance (BREAKING CHANGE) #4117

Closed
ykuijs opened this issue Jan 3, 2024 · 0 comments · Fixed by #4477 or #4512
Closed

Comments

@ykuijs
Copy link
Member

ykuijs commented Jan 3, 2024

Description of the issue

The EXOMailTips resource has an Organization parameter, which is the Key parameter. This accepts all string input, which means the resource can be supplied more than once in a config. However M365 only has one Mail Tips configuration. This can result into conflicts.

We have to change the current Organization parameter into the IsSingleInstance parameter, which makes sure the resource can only be used once in a config. This is however a breaking change, so must be included in the April 2024 breaking change release.

Microsoft 365 DSC Version

Dev

Which workloads are affected

Exchange Online

The DSC configuration

Current:

EXOMailTips 'OrgWideMailTips'
{
    Organization                          = "contoso.com"
    MailTipsAllTipsEnabled                = $True
    MailTipsGroupMetricsEnabled           = $True
    MailTipsLargeAudienceThreshold        = 100
    MailTipsMailboxSourcedTipsEnabled     = $True
    MailTipsExternalRecipientsTipsEnabled = $True
    Ensure                                = "Present"
    Credential                            = $Credscredential
}

Target:

EXOMailTips 'OrgWideMailTips'
{
    IsSingleInstance                      = "Yes"
    MailTipsAllTipsEnabled                = $True
    MailTipsGroupMetricsEnabled           = $True
    MailTipsLargeAudienceThreshold        = 100
    MailTipsMailboxSourcedTipsEnabled     = $True
    MailTipsExternalRecipientsTipsEnabled = $True
    Ensure                                = "Present"
    Credential                            = $Credscredential
}

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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant