IntuneHydrationKit

0.6.0

Hydrates Microsoft Intune tenants with best-practice baseline configurations including policies, compliance packs, enrollment profiles, dynamic groups, security baselines, and conditional access starter packs.

Minimum PowerShell version

7.0

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name IntuneHydrationKit

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name IntuneHydrationKit

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2025 Jorgeasaurus. All rights reserved.

Package Details

Author(s)

  • Jorgeasaurus

Tags

Intune Microsoft365 Graph Baseline Compliance Security Autopilot MDM Endpoint MEM Azure EntraID ConditionalAccess DeviceManagement

Functions

Invoke-IntuneHydration Connect-IntuneHydration Test-IntunePrerequisites New-IntuneDynamicGroup New-IntuneStaticGroup Get-OpenIntuneBaseline Import-IntuneBaseline Import-IntuneCompliancePolicy Import-IntuneAppProtectionPolicy Import-IntuneNotificationTemplate Import-IntuneEnrollmentProfile Import-IntuneDeviceFilter Import-IntuneConditionalAccessPolicy Import-IntuneMobileApp Initialize-HydrationLogging Write-HydrationLog Import-HydrationSettings New-HydrationResult Get-ResultSummary Get-GraphErrorMessage Test-HydrationKitObject Get-ObfuscatedTenantId

PSEditions

Core

Dependencies

Release Notes


Install directly from the PowerShell Gallery:

```powershell
Install-Module -Name IntuneHydrationKit -Scope CurrentUser
```

To update to the latest version:

```powershell
Update-Module -Name IntuneHydrationKit
```

## v0.6.0

- **Retry-After Support:** Graph API batch operations and paginated queries now honor `Retry-After` headers on 429/503 responses with exponential backoff fallback
- **Error Handling:** Public functions use proper `$PSCmdlet.ThrowTerminatingError()` and `$PSCmdlet.WriteError()` with structured ErrorRecord objects
- **Graph API Performance:** Added `$select` query parameter to 8+ GET requests to reduce payload size
- **OutputType Annotations:** Added `[OutputType()]` attributes to 8 private helper functions
- **Centralized Hydration Marker:** Marker strings consolidated into module-scoped variables for consistency
- **Test Coverage:** Expanded from 458 to 648 tests with 13 new test files covering private helpers and public import functions
- **Documentation:** Completed comment-based help for `Write-HydrationLog`, `Initialize-HydrationLogging`, and `Import-HydrationSettings`

FileList

Version History

Version Downloads Last updated
0.6.0 (current version) 16 4/5/2026
0.5.1 15 4/1/2026
0.3.4 231 1/18/2026
0.3.3 27 1/11/2026
0.3.1 15 1/9/2026
0.3.0 52 1/5/2026
0.2.9 7 1/5/2026
0.2.8 15 1/3/2026
0.2.7 19 1/1/2026
0.2.6 45 12/22/2025
0.2.5 23 12/18/2025
0.2.3 58 12/14/2025
0.2.2 96 12/9/2025
0.2.1 25 12/8/2025
0.1.1 30 11/28/2025
Show more