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

EXOCASMailboxPlan #3900

Closed
NikCharlebois opened this issue Nov 15, 2023 · 0 comments · Fixed by #3901 or #3908
Closed

EXOCASMailboxPlan #3900

NikCharlebois opened this issue Nov 15, 2023 · 0 comments · Fixed by #3901 or #3908
Assignees

Comments

@NikCharlebois
Copy link
Collaborator

Description of the issue

Mentioning the CAS Mailbox Plan by name instead of ID should work. Currently the resource is forcing the user to pass in the GUID part of the config to get a match, but this will differ between tenants and is blocking the resource's to be used in cloning scenarios.

Microsoft 365 DSC Version

1.23.1108.3

Which workloads are affected

Exchange Online

The DSC configuration

EXOCASMailboxPlan "EXOCASMailboxPlan-ExchangeOnlineDeskless"
{
    ActiveSyncEnabled    = $True;
    Credential           = $Credscredential;
    Identity             = "ExchangeOnlineDeskless";
    ImapEnabled          = $False;
    OwaMailboxPolicy     = "OwaMailboxPolicy-Default";
    PopEnabled           = $false;
}

Verbose logs showing the problem

PowerShell DSC resource MSFT_EXOCASMailboxPlan  failed to execute Set-TargetResource functionality with error message:
The specified CAS Mailbox Plan {ExchangeOnlineDeskless} doesn't exist

Environment Information + PowerShell Version

OsName               : Microsoft Windows 11 Enterprise
OsOperatingSystemSKU : EnterpriseEdition
OsArchitecture       : 64-bit
WindowsVersion       : 2009
WindowsBuildLabEx    : 
OsLanguage           : en-US
OsMuiLanguages       : {en-US}



PS C:\dsc>
PS C:\dsc> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.22621.2506
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.22621.2506
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
@NikCharlebois NikCharlebois self-assigned this Nov 15, 2023
NikCharlebois added a commit to NikCharlebois/Microsoft365DSC that referenced this issue Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant