microsoft/Microsoft365DSC

EXOCASMailboxPlan: Cannot change resources

ricmestre opened this issue · 0 comments

Description of the issue

When trying to change an existing EXOCASMailboxPlan it will fail with error message A parameter cannot be found that matches parameter name 'DisplayName'.

Microsoft 365 DSC Version

1.24.626.1

Which workloads are affected

Exchange Online

The DSC configuration

EXOCASMailboxPlan "EXOCASMailboxPlan-ExchangeOnlineEnterprise-REDACTED"
        {
            ActiveSyncEnabled     = $True;
            Credential            = $CredsCredential;
            DisplayName           = "ExchangeOnlineEnterprise";
            Identity              = "ExchangeOnlineEnterprise-REDACTED";
            ImapEnabled           = $True;
            OwaMailboxPolicy      = "OwaMailboxPolicy-Default";
            PopEnabled            = $False;
        }

Verbose logs showing the problem

A parameter cannot be found that matches parameter name 'DisplayName'.

Environment Information + PowerShell Version

Win11 / PS5.1