-
Notifications
You must be signed in to change notification settings - Fork 6
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
Convert-M365DSCExportToPowerShellDataFile hashtable becomes a array - new workload #26
Comments
another example:
--->
|
ph4s3r
added a commit
to ph4s3r/M365DSCTools
that referenced
this issue
Nov 21, 2024
Modify Convert-M365DSCExportToPowerShellDataFile to correctly handle singleton resources. based on the type of data in exampleresourcedata just move the resource object as-is (if hashmap) to the result struct or wrap the elements into an array (original)
ph4s3r
added a commit
to ph4s3r/M365DSCTools
that referenced
this issue
Nov 26, 2024
based on the type of data in exampleresourcedata just move the resource object as-is (if hashmap) to the result struct or wrap the elements into an array (original)
We are currently working on updating this function. If will contain a lot of improvements and checks to make sure the generated output is valid. Unfortunately we do not have an ETA yet |
Related to issue #19 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When converting the new fabric workload while using the Convert-M365DSCExportToPowerShellDataFile it outputs a datafile where it becomes a array
@{ NonNodeData = @{ Fabric = @{ AdminTenantSettings = @( @{ AADSSOForGateway = @{ canSpecifySecurityGroups = $False enabled = $False
from
Node localhost { FabricAdminTenantSettings "FabricAdminTenantSettings" { AADSSOForGateway = MSFT_FabricTenantSetting { settingName = 'AADSSOForGateway' canSpecifySecurityGroups = $False
expected behaviour is that it becomes an hashtable since that's required in the composite resource.
The text was updated successfully, but these errors were encountered: