Skip to content

Conversation

@markorr321
Copy link

Fix Autopilot Deployment Profile bugs in Group and Device checks

Summary

Fixes issues with Autopilot Deployment Profiles not displaying correctly in Group check (option 2) and Device check (option 3).

Changes

  1. Fixed variable name bug - Changed $profile to $policyProfile in multiple locations where Autopilot Deployment Profiles were being processed. The undefined $profile variable caused empty policy names/IDs in output and CSV exports.

  2. Added missing collections for Device check - Added DeploymentProfiles and ESPProfiles to the $relevantPolicies initialization in the device check flow, which was causing a crash with error: Item has already been added. Key in dictionary: 'installQualityUpdates'

  3. Added display and export sections - Added the missing output tables and CSV export entries for Autopilot Deployment Profiles and Enrollment Status Page Profiles in device check.

Fixes

  • Fixes empty Autopilot Deployment Profile entries in CSV export
  • Fixes crash when running device check (option 3)
  • Adds missing Autopilot and ESP sections to device check output

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

Successfully merging this pull request may close these issues.

1 participant