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

IntuneDeviceConfigurationPolicyAndroidOpenSourceProject returns wrong policies #2228

Closed
salbeck-sit opened this issue Aug 26, 2022 · 0 comments · Fixed by #2229 or #2245
Closed

IntuneDeviceConfigurationPolicyAndroidOpenSourceProject returns wrong policies #2228

salbeck-sit opened this issue Aug 26, 2022 · 0 comments · Fixed by #2229 or #2245
Labels
Bug Something isn't working Intune

Comments

@salbeck-sit
Copy link
Contributor

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

Exporting Intune-config

Verbose logs showing the problem

Suggested solution to the issue

Same problem as previously with IntuneDeviceConfigurationPolicyMacOS - if no policies exist that match the type, all policies are exported. The resource could've been generated using DRG, if so, this points to an issue there.

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

Example output:
(...)
IntuneDeviceConfigurationPolicyAndroidOpenSourceProject 3cd12017-a6ce-4d23-a826-ac98f8c0976b
{
ApplicationId = $ConfigurationData.NonNodeData.ApplicationId;
Assignments = @(
MSFT_DeviceManagementConfigurationPolicyAssignments{
deviceAndAppManagementAssignmentFilterType = 'none'
dataType = '#microsoft.graph.allLicensedUsersAssignmentTarget'
}
MSFT_DeviceManagementConfigurationPolicyAssignments{
deviceAndAppManagementAssignmentFilterType = 'none'
dataType = '#microsoft.graph.allDevicesAssignmentTarget'
});
CertificateThumbprint = $ConfigurationData.NonNodeData.CertificateThumbprint;
Description = "";
DisplayName = "Company IOS Update policy";
Ensure = "Present";
Id = "561a0bb1-c3d9-4f02-b25c-836b960684de";
TenantId = $ConfigurationData.NonNodeData.TenantId;
}

The operating system the target node is running

OsName : Microsoft Windows Server 2016 Datacenter
OsOperatingSystemSKU : DatacenterServerEdition
OsArchitecture : 64-bit
WindowsBuildLabEx : 14393.5246.amd64fre.rs1_release.220701-1744
OsLanguage : en-US
OsMuiLanguages : {en-US}

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

dev (1.22.824.1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Intune
Projects
None yet
2 participants