- Fixed primary user output; added additional checks
- output managed device status when not found
- Fixed User ESP app assignment check
- Changed last output to show if autopilot is ready
- Added Write-Action function to reduce repetitive code.
- Reduced repetitive logic into function; saving some lines of code
- Enhanced ESP App detection and output
- Fixed licenses output to display correctly for verbose
- Change order or process; moved license check in prereq
- Added Device restriction limit count; nee dto check user total enrollment still
- Converted some repeating code to functions.
- Resolved code best practices: changed alias cmdlets to cmdlet
- Updated error output; changed from write-error to write-host
- Added Azure Advanced settings parameter; azure ad join setting check
- Refined permission scopes. Removed unused permissions
- Updated readme with permissions table and parameters.
- Fixed verbose output and value output; no line wrapping
- Fixed license check for users; it checked it all the time.
- Fixed graph call for MDM; always checking .com
- Fixed group check during user and mdm; remove security filter
- Fixed graph scopes. Missing Policy.Read.All.
- Added Intune license check; validates Intune license against service plans
- Added User group check against licenses; ensure user is assigned a Intune license
- Added MDM policy check; ensures MDM is enabled
- Changed all graph calls to use API. Allows for proper scoping to work
- Added UserPrincipalName check; define user to check for Autopilot readiness
- initial build