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 TargetSharingEPR from EXOIntraOrganizationConnector #4381

Closed
dVBCloudworkspace opened this issue Feb 28, 2024 · 0 comments · Fixed by #4389 or #4447
Closed

Export TargetSharingEPR from EXOIntraOrganizationConnector #4381

dVBCloudworkspace opened this issue Feb 28, 2024 · 0 comments · Fixed by #4389 or #4447
Assignees
Labels
Bug Something isn't working Exchange Online V1.24.221.1 Version 1.24.221.1

Comments

@dVBCloudworkspace
Copy link

Description of the issue

When exporting the property TargetSharingEPR from EXOIntraOrganizationConnector the quote's araound the URL are missing, which results in an error when creating the mof file

Microsoft 365 DSC Version

1.24.221.1

Which workloads are affected

Exchange Online

The DSC configuration

EXOIntraOrganizationConnector "EXOIntraOrganizationConnector-HybridIOC - xxx"
        {
            ApplicationId         = $ConfigurationData.NonNodeData.ApplicationId;
            CertificateThumbprint = $ConfigurationData.NonNodeData.CertificateThumbprint;
            DiscoveryEndpoint     = "https://xxx/autodiscover/autodiscover.svc";
            Enabled               = $False;
            Ensure                = "Present";
            Identity              = "HybridIOC - xxx";
            TargetAddressDomains  = @("xxx");
            TargetSharingEpr      = https://xxx.resource.mailboxmigration.his.msappproxy.net/EWS/Exchange.asmx;
            TenantId              = $OrganizationName;
        }

Verbose logs showing the problem

powershell : PSDesiredStateConfiguration\Node : The term 
At C:\M365DSC\Scripts\EXO_appkly_config.ps1:16 char:1
+ powershell ./$ExportFileName
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (PSDesiredStateC...ode : The term :String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
 
'https://xxx.resource.mailboxmigration.his.msappproxy.net/EWS/Exchange.asmx' is not 
recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Environment Information + PowerShell Version

OsName               : Microsoft Windows Server 2019 Standard
OsOperatingSystemSKU : StandardServerEdition
OsArchitecture       : 64-bit
WindowsVersion       : 1809
WindowsBuildLabEx    : 17763.1.amd64fre.rs5_release.180914-1434
OsLanguage           : en-US
OsMuiLanguages       : {en-US}

Key   : PSVersion
Value : 5.1.17763.5458
Name  : PSVersion

Key   : PSEdition
Value : Desktop
Name  : PSEdition

Key   : PSCompatibleVersions
Value : {1.0, 2.0, 3.0, 4.0...}
Name  : PSCompatibleVersions

Key   : BuildVersion
Value : 10.0.17763.5458
Name  : BuildVersion

Key   : CLRVersion
Value : 4.0.30319.42000
Name  : CLRVersion

Key   : WSManStackVersion
Value : 3.0
Name  : WSManStackVersion

Key   : PSRemotingProtocolVersion
Value : 2.3
Name  : PSRemotingProtocolVersion

Key   : SerializationVersion
Value : 1.1.0.1
Name  : SerializationVersion
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 V1.24.221.1 Version 1.24.221.1
Projects
None yet
3 participants