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

.\M365TenantConfig.ps1 incomplete property assignment block in the instance definition cannot generate localhost.mof #3693

Closed
ChrisJay77 opened this issue Sep 18, 2023 · 0 comments · Fixed by #3705

Comments

@ChrisJay77
Copy link

Description of the issue

exporting the config using the following command:
PS C:\CJ_T2\Sept23> .\M365TenantConfig.ps1
generates errors:
At C:\CJ_T2\Sept23\M365TenantConfig.ps1:284 char:49

  •                     }                        SettingDefinitionId  ...
    
  •                                             ~
    

There is an incomplete property assignment block in the instance definition.
At C:\CJ_T2\Sept23\M365TenantConfig.ps1:286 char:21

  •                 }
    
  •                 ~
    

Missing closing ')' in subexpression.
At C:\CJ_T2\Sept23\M365TenantConfig.ps1:295 char:49

  •                     }                        SettingDefinitionId  ...
    

I've attached the export (no sensitive information)

looking at the export:
image

M365TenantConfig.log

Microsoft 365 DSC Version

ModuleBase Version ---------- ------- C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\1.23.913.2 1.23.913.2

Which workloads are affected

other

The DSC configuration

DSC configuration attached, rename .log to .ps1

Verbose logs showing the problem

No response

Environment Information + PowerShell Version

OsName               : Microsoft Windows 10 Enterprise
OsOperatingSystemSKU : EnterpriseEdition
OsArchitecture       : 64-bit
WindowsVersion       : 2009
WindowsBuildLabEx    : 19041.1.amd64fre.vb_release.191206-1406
OsLanguage           : en-GB
OsMuiLanguages       : {en-GB}
Name                           Value
----                           -----
PSVersion                      5.1.19041.3031
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.19041.3031
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant