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

Exports for Intune using M365DSC - 'Export-M365DSCConfiguration' - missing resources #5376

Open
alexwjohnson opened this issue Nov 11, 2024 · 2 comments

Comments

@alexwjohnson
Copy link

Description of the issue

Hi

Have been running daily exports for ALL available Intune resources via Export-M365DSCConfiguration.

the export runs to successful completion however we have found that there are missing artefacts in some of the .ps1 scripts that are generated.

For example, we have about 110 Windows custom settings policies in our tenant but none of these are exported - the .ps1 script IntuneSettingCatalogCustomPolicyWindows10 created by the export cmdlet is empty

**# Generated with Microsoft365DSC version 1.24.904.1

For additional information on how to use Microsoft365DSC, please visit https://aka.ms/M365DSC

param (
)

Configuration IntuneSettingCatalogCustomPolicyWindows10
{
param (
)

$OrganizationName = $ConfigurationData.NonNodeData.OrganizationName

Import-DscResource -ModuleName 'Microsoft365DSC' -ModuleVersion '1.24.904.1'

Node localhost
{
}

}

IntuneSettingCatalogCustomPolicyWindows10 -ConfigurationData .\ConfigurationData.psd1**

Microsoft 365 DSC Version

1.24.904.1

Which workloads are affected

Intune

The DSC configuration

**get-Module Microsoft365DSC -listAvailable | Select-Object Name , version

Name            Version
----            -------
Microsoft365DSC 1.24.904.1**

Verbose logs showing the problem

Environment Information + PowerShell Version

@FabienTschanz
Copy link
Contributor

@alexwjohnson Can you try an export with version 1.24.1106.3? This is the latest version.

@FabienTschanz
Copy link
Contributor

@alexwjohnson Any feedback on this with the updated version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants