You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Details of the scenario you tried and the problem that is occurring
I have multiple email accounts with the same mailbox "name", but in different domains. The Export-TargetResource function in 'MSFT_EXOCASMailboxSettings.psm1' file fails when it tries to export one of these mailboxes. The resulting $result (from Get-TargetResource) contains multiple values instead of a single value per parameter. I suspect this issue could also impact updating or adding new resources with the same name but in different domains but I'm not sure.
Verbose logs showing the problem
Suggested solution to the issue
Can you please change the value for the $mailboxName variable (under the Export-TargetResource function) from "$mailbox.Name" to "$mailbox.UserPrincipalName". The Name value is not a unique identifier for a mailbox in EXO and shouldn't be used.
The DSC configuration that is used to reproduce the issue (as detailed as possible)
N/A
The operating system the target node is running
N/A
Version of the DSC module that was used ('dev' if using current dev branch)
'1.22.713.1'
The text was updated successfully, but these errors were encountered:
Details of the scenario you tried and the problem that is occurring
I have multiple email accounts with the same mailbox "name", but in different domains. The Export-TargetResource function in 'MSFT_EXOCASMailboxSettings.psm1' file fails when it tries to export one of these mailboxes. The resulting $result (from Get-TargetResource) contains multiple values instead of a single value per parameter. I suspect this issue could also impact updating or adding new resources with the same name but in different domains but I'm not sure.
Verbose logs showing the problem
Suggested solution to the issue
Can you please change the value for the $mailboxName variable (under the Export-TargetResource function) from "$mailbox.Name" to "$mailbox.UserPrincipalName". The Name value is not a unique identifier for a mailbox in EXO and shouldn't be used.
The DSC configuration that is used to reproduce the issue (as detailed as possible)
N/A
The operating system the target node is running
N/A
Version of the DSC module that was used ('dev' if using current dev branch)
'1.22.713.1'
The text was updated successfully, but these errors were encountered: