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

Export-M365DSCConfiguration for EXOOrganizationConfig does not pull all congifs #2363

Closed
Chabango opened this issue Oct 3, 2022 · 14 comments · Fixed by #2390
Closed

Export-M365DSCConfiguration for EXOOrganizationConfig does not pull all congifs #2363

Chabango opened this issue Oct 3, 2022 · 14 comments · Fixed by #2390
Assignees
Labels
Enhancement New feature or request Exchange Online

Comments

@Chabango
Copy link

Chabango commented Oct 3, 2022

When I run an Export-M365DSCConfiguration for just the EXOOrganizationConfig and compare the result to a get-organizationconfig from EXO PowerShell, The M365DSCC only shows a subset of what is available in the get-organization config. Is this by design? Is there a way to have the Export-M365DSCConfiguration pull all of the configurations within the EXOOrganizationConfig?

Export-M365DSCConfiguration -Components @("EXOOrganizationConfig") -Credential $Credential -Mode Full -FileName EXOOrganizationConfig.ps1 -Path "C:\Microsoft365DSC" -MaxProcesses 100

@andikrueger
Copy link
Collaborator

The cmdlet Get-OrganizationConfig is used in the following resources:

  • EXOOrganizationConfig
  • EXOMailTips

Could you please verify that both resources export all data of the cmdLet?

cc/ @malauter

@malauter
Copy link
Member

malauter commented Oct 4, 2022

@Chabango EXOOrganizationConfig only exports properties which are also supported by Set-OrganizationConfig cmdlet. The Get-OrganizationConfig cmdlet shows a lot of read-only and Microsoft-internal properties, which cannot be changed.
Could you please check if supported properties of Set-OrganizationConfig are missing in your export? Then I will check if we can add these properties.

@Chabango
Copy link
Author

Chabango commented Oct 11, 2022 via email

@Chabango
Copy link
Author

Chabango commented Oct 11, 2022 via email

@malauter
Copy link
Member

@Chabango DisablePlusAddressInRecipients (and CustomerLockboxEnabled) were added in version 1.22.323.1 (released in March 2022). Please make sure to use the current version of M365 DSC and let me know if there are still missing properties.

@Chabango
Copy link
Author

Chabango commented Oct 11, 2022 via email

@malauter
Copy link
Member

@Chabango I just did a quick comparison of the parameters of Set-OrganizationConfig and the parameters of the M365 DSC resource and identified 36 missing properties (there are some more, but these are flagged as Microsoft internal-only).
I will add these parameters to M365 DSC in the next days:

AutodiscoverPartialDirSync
BlockMoveMessagesForGroupFolders
BookingsAddressEntryRestricted
BookingsAuthEnabled
BookingsBlockedWordsEnabled
BookingsCreationOfCustomQuestionsRestricted
BookingsExposureOfStaffDetailsRestricted
BookingsMembershipApprovalRequired
BookingsNamingPolicyEnabled
BookingsNamingPolicyPrefix
BookingsNamingPolicyPrefixEnabled
BookingsNamingPolicySuffix
BookingsNamingPolicySuffixEnabled
BookingsNotesEntryRestricted
BookingsPhoneNumberEntryRestricted
BookingsSearchEngineIndexDisabled
BookingsSmsMicrosoftEnabled
ComplianceMLBgdCrawlEnabled
DefaultMinutesToReduceLongEventsBy
DefaultMinutesToReduceShortEventsBy
EnableOutlookEvents
FindTimeAttendeeAuthenticationEnabled
FindTimeAutoScheduleDisabled
FindTimeLockPollForAttendeesEnabled
FindTimeOnlineMeetingOptionDisabled
IsGroupFoldersAndRulesEnabled
IsGroupMemberAllowedToEditContent
MaskClientIpInReceivedHeadersEnabled
MatchSenderOrganizerProperties
MessageHighlightsEnabled
OutlookTextPredictionDisabled
RecallReadMessagesEnabled
SharedDomainEmailAddressFlowEnabled
ShortenEventScopeDefault
SiteMailboxCreationURL
WorkspaceTenantEnabled

@malauter malauter added Enhancement New feature or request and removed Pending Information labels Oct 11, 2022
@malauter malauter self-assigned this Oct 11, 2022
@Chabango
Copy link
Author

Chabango commented Oct 11, 2022 via email

@Chabango
Copy link
Author

Chabango commented Oct 12, 2022 via email

@malauter
Copy link
Member

@Chabango Please see my linked PR to fix this issue, which will be included in todays release. (recommendation: use Github page instead of mail replies for a better overview ;-) )

@Chabango
Copy link
Author

Chabango commented Oct 12, 2022 via email

@malauter
Copy link
Member

@Chabango Yes, once version 1.22.1012.1 is released (later today), you have to update M365 DSC and all dependencies on your machine.

@Chabango
Copy link
Author

It looks like I am only getting 1.22.1005.1. do I need to give a time?

@andikrueger
Copy link
Collaborator

There are failing unit test for #2395. These need to get resolved prior we can release a new version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Exchange Online
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants