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

EXOTransportConfig ExternalDsnDefaultLanguage not properly escaped #2970

Closed
levesquesamuel opened this issue Mar 6, 2023 · 0 comments · Fixed by #3011 or #3014
Closed

EXOTransportConfig ExternalDsnDefaultLanguage not properly escaped #2970

levesquesamuel opened this issue Mar 6, 2023 · 0 comments · Fixed by #3011 or #3014
Assignees
Labels
Bug Something isn't working Exchange Online

Comments

@levesquesamuel
Copy link
Contributor

levesquesamuel commented Mar 6, 2023

Details of the scenario you tried and the problem that is occurring

When exporting EXOTransportConfig the string ExternalDsnDefaultLanguage is not properly escaped hence causing issue when importing back.

Verbose logs showing the problem

EXOTransportConfig 9287d18a-5fbb-417a-9704-41123ba226e2
{
AddressBookPolicyRoutingEnabled = $False;
AllowLegacyTLSClients = $False;
ApplicationId = $ConfigurationData.NonNodeData.ApplicationId;
CertificateThumbprint = $ConfigurationData.NonNodeData.CertificateThumbprint;
ClearCategories = $True;
ConvertDisclaimerWrapperToEml = $False;
DSNConversionMode = "PreserveDSNBody";
ExternalDelayDsnEnabled = $True;
ExternalDsnDefaultLanguage = fr-CA;
ExternalDsnLanguageDetectionEnabled = $True;
ExternalDsnSendHtml = $True;
HeaderPromotionModeSetting = "NoCreate";
InternalDelayDsnEnabled = $True;
InternalDsnLanguageDetectionEnabled = $True;
InternalDsnSendHtml = $True;
IsSingleInstance = "Yes";
JournalingReportNdrTo = "<>";
JournalMessageExpirationDays = 0;
MaxRecipientEnvelopeLimit = "Unlimited";
ReplyAllStormBlockDurationHours = 6;
ReplyAllStormDetectionMinimumRecipients = 2500;
ReplyAllStormDetectionMinimumReplies = 10;
ReplyAllStormProtectionEnabled = $True;
Rfc2231EncodingEnabled = $False;
SmtpClientAuthenticationDisabled = $True;
TenantId = $ConfigurationData.NonNodeData.TenantId;
}

Suggested solution to the issue

N/A

The DSC configuration that is used to reproduce the issue (as detailed as possible)

Set-TransportConfig -ExternalDsnDefaultLanguage "fr-CA"
Get-TransportConfig | select ExternalDsnDefaultLanguage

Export-M365DSCConfiguration -CertificateThumbprint X -ApplicationId X -TenantId X -Mode Full -Components @("EXOTransportConfig") 

The operating system the target node is running

OsName : Microsoft Windows 11 Enterprise
OsOperatingSystemSKU : EnterpriseEdition
OsArchitecture : 64-bit
WindowsVersion : 2009
WindowsBuildLabEx : 22621.1.amd64fre.ni_release.220506-1250
OsLanguage : en-US
OsMuiLanguages : {en-US, en-GB}

Version of the DSC module that was used ('dev' if using current dev branch)

dev

@andikrueger andikrueger added Bug Something isn't working Exchange Online labels Mar 7, 2023
@NikCharlebois NikCharlebois self-assigned this Mar 15, 2023
NikCharlebois added a commit to NikCharlebois/Microsoft365DSC that referenced this issue Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Exchange Online
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants