Skip to content

Commit

Permalink
Merge branch 'Dev' into feat/intune-compliance-policy-v2
Browse files Browse the repository at this point in the history
  • Loading branch information
NikCharlebois authored Oct 9, 2024
2 parents ed8e7dc + 2129e5c commit f28c95f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,16 @@
* Initial release.
* EXOMigrationEndpoint
* Initial Release
* IntuneAccountProtectionPolicy
* Added deprecation notice.
* IntuneAccountProtectionPolicyWindows10
* Initial Release
FIXES [#5073](https://github.com/microsoft/Microsoft365DSC/issues/5073)
* IntuneAppAndBrowserIsolationPolicyWindows10
* Initial release.
FIXES [#3028](https://github.com/microsoft/Microsoft365DSC/issues/3028)
* IntuneDeviceConfigurationIdentityProtectionPolicyWindows10
* Added deprecation notice.
* IntuneEndpointDetectionAndResponsePolicyWindows10
* Migrate to new Settings Catalog cmdlets.
* IntuneMobileAppsMacOSLobApp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,9 @@ function Set-TargetResource
$AccessTokens
)

Write-Warning -Message "The resource 'IntuneAccountProtectionPolicy' is deprecated. It will be removed in a future release. Please use 'IntuneAccountProtectionPolicyWindows10' instead."
Write-Warning -Message "For more information, please visit https://learn.microsoft.com/en-us/mem/intune/fundamentals/whats-new#consolidation-of-intune-profiles-for-identity-protection-and-account-protection-"

$ConnectionMode = New-M365DSCConnection -Workload 'MicrosoftGraph' `
-InboundParameters $PSBoundParameters

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ function Get-TargetResource
AccessTokens = $AccessTokens
#endregion
}

$assignmentsValues = Get-MgBetaDeviceManagementDeviceConfigurationAssignment -DeviceConfigurationId $Id
$assignmentResult = @()
if ($assignmentsValues.Count -gt 0)
Expand Down Expand Up @@ -359,6 +359,9 @@ function Set-TargetResource
$AccessTokens
)

Write-Warning -Message "The resource 'IntuneDeviceConfigurationIdentityProtectionPolicyWindows10' is deprecated. It will be removed in a future release. Please use 'IntuneAccountProtectionPolicyWindows10' instead."
Write-Warning -Message "For more information, please visit https://learn.microsoft.com/en-us/mem/intune/fundamentals/whats-new#consolidation-of-intune-profiles-for-identity-protection-and-account-protection-"

#Ensure the proper dependencies are installed in the current environment.
Confirm-M365DSCDependencies

Expand Down

0 comments on commit f28c95f

Please sign in to comment.