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

Release 1.25.122.1 #5663

Merged
merged 145 commits into from
Jan 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
145 commits
Select commit Hold shift + click to select a range
b149f0b
In progress
dannyKBjj Jan 6, 2025
92ee633
mostly working
dannyKBjj Jan 8, 2025
71ff522
progress 8-jan
dannyKBjj Jan 8, 2025
1f9ed07
First Draft - fixes 5589
dannyKBjj Jan 8, 2025
29bb9f6
Fix for issue #5589
dannyKBjj Jan 9, 2025
d365aca
Merge branch 'Dev' into Fix-for-issue-#5589
dannyKBjj Jan 9, 2025
e63acc1
AADAdministrativeUnit - Improves export performance
niwamo Jan 7, 2025
3a76bb8
AADApplication - Improves export performance
niwamo Jan 7, 2025
42b3dae
AADAuthenticationMethodPolicy - Improves export performance
niwamo Jan 7, 2025
7bda829
AADAuthenticationStrengthPolicy - Improves export performance
niwamo Jan 7, 2025
91bf4eb
AADConditionalAccessPolicy - Improves export performance
niwamo Jan 7, 2025
0ebdeff
AADGroup - Improves export performance
niwamo Jan 7, 2025
d0a2fe0
AADNamedLocationPolicy - Improves export performance
niwamo Jan 7, 2025
c83dd0b
AADRoleDefinition - Improves export performance
niwamo Jan 7, 2025
bfa680c
AADRoleSetting - Improves export performance
niwamo Jan 8, 2025
a940ac9
AADServicePrincipal - Improves export performance
niwamo Jan 8, 2025
b04ef6a
AADSocialIdentityProvider - Improves export performance
niwamo Jan 8, 2025
57229f6
AADTokenLifetimePolicy - Improves export performance
niwamo Jan 8, 2025
931fb5f
AADUser - Improves export performance
niwamo Jan 8, 2025
2c7dc28
EXOAddressList - Improves export performance
niwamo Jan 14, 2025
5cf1902
EXODataClassification - Improves export performance
niwamo Jan 14, 2025
bc9a362
EXODistributionGroup - Improves export performance
niwamo Jan 14, 2025
da73093
EXOGlobalAddressList - Improves export performance
niwamo Jan 14, 2025
0dc4a19
EXOGroupSettings - Improves export performance
niwamo Jan 14, 2025
4d49161
EXOMailboxPermission - Improves export performance
niwamo Jan 14, 2025
3a328c4
EXOManagementRole - Improves export performance
niwamo Jan 14, 2025
6baf978
EXOManagementRoleAssignment - Improves export performance
niwamo Jan 14, 2025
9ce3561
EXOManagementRoleEntry - Improves export performance
niwamo Jan 14, 2025
3abea1c
EXOMessageClassification - Improves export performance
niwamo Jan 14, 2025
f3cc1d7
EXORoleAssignmentPolicy - Improves export performance
niwamo Jan 14, 2025
9a06567
EXORoleGroup - Improves export performance
niwamo Jan 14, 2025
461392d
EXOSharedMailbox - Improves export performance
niwamo Jan 14, 2025
d386fa8
EXOTransportRule - Improves export performance
niwamo Jan 14, 2025
292d9e8
O365Group - Improves export performance
niwamo Jan 14, 2025
5265798
SPOSiteGroup - Improves export performance
niwamo Jan 14, 2025
ecc71cd
SPOSite - Improves export performance
niwamo Jan 14, 2025
c1c3143
SPOHubSite - Improves export performance
niwamo Jan 14, 2025
76b82f7
SCAuditConfigurationPolicy - Improves export performance
niwamo Jan 14, 2025
9e49f74
SCAutoSensitivityLabelPolicy - Improves export performance
niwamo Jan 14, 2025
371183d
SCAutoSensitivityLabelRule - Improves export performance
niwamo Jan 14, 2025
c6b0a88
SCCaseHoldPolicy - Improves export performance
niwamo Jan 14, 2025
f674aa4
SCCaseHoldRule - Improves export performance
niwamo Jan 14, 2025
ee4044d
SCComplianceCase - Improves export performance
niwamo Jan 14, 2025
125fde8
SCComplianceSearch - Improves export performance
niwamo Jan 14, 2025
1b5a459
SCComplianceSearchAction - Improves export performance
niwamo Jan 14, 2025
daf0c2a
SCComplianceTag - Improves export performance
niwamo Jan 14, 2025
a54fa98
SCDeviceConditionalAccessPolicy - Improves export performance
niwamo Jan 14, 2025
b0fe99d
SCDeviceConditionalAccessRule - Improves export performance
niwamo Jan 14, 2025
6f89c01
SCDeviceConfigurationPolicy - Improves export performance
niwamo Jan 14, 2025
96e65e2
SCDLPCompliancePolicy - Improves export performance
niwamo Jan 14, 2025
1d5fcbf
SCDLPComplianceRule - Improves export performance
niwamo Jan 14, 2025
c7bc601
SCFilePlanPropertyAuthority - Improves export performance
niwamo Jan 14, 2025
bc8ac1d
SCFilePlanPropertyCategory - Improves export performance
niwamo Jan 14, 2025
d71b88f
SCFilePlanPropertyCitation - Improves export performance
niwamo Jan 14, 2025
5bdc69b
SCFilePlanPropertyDepartment - Improves export performance
niwamo Jan 14, 2025
f28fe1f
SCFilePlanPropertyReferenceId - Improves export performance
niwamo Jan 14, 2025
07fc74d
SCFilePlanPropertySubCategory - Improves export performance
niwamo Jan 14, 2025
ac47cc3
SCLabelPolicy - Improves export performance
niwamo Jan 14, 2025
bcd69ae
SCProtectionAlert - Improves export performance
niwamo Jan 14, 2025
3aa397d
SCRetentionCompliancePolicy - Improves export performance
niwamo Jan 14, 2025
4c55452
SCRetentionComplianceRule - Improves export performance
niwamo Jan 14, 2025
2ef6b33
SCRetentionEventType - Improves export performance
niwamo Jan 14, 2025
31f088a
SCRoleGroup - Improves export performance
niwamo Jan 14, 2025
dc32b32
SCRoleGroupMember - Improves export performance
niwamo Jan 14, 2025
5b5ea68
SCSensitivityLabel - Improves export performance
niwamo Jan 14, 2025
f5c40ec
SCSupervisoryReviewPolicy - Improves export performance
niwamo Jan 14, 2025
e9b411b
SCSupervisoryReviewRule - Improves export performance
niwamo Jan 14, 2025
c2c7398
EXOGlobalAddressList - Enhance mocked Get-GlobalAddressList for unit …
niwamo Jan 15, 2025
742ca8a
AADServicePrincipal - adds Get-MgServicePrincipalOwner to test stubs
niwamo Jan 15, 2025
0fc8a8b
AADUser - adds Get-MgUserMemberOfAsGroup to test stubs
niwamo Jan 15, 2025
d6f5e2e
SCSupervisoryReviewPolicy - Fix placement of nullReturn instantiation
niwamo Jan 15, 2025
d8ab6f0
SPOTenantSettings - Adds *-MgAdminSharepointSetting stubs for tests
niwamo Jan 15, 2025
4d367c5
Update CHANGELOG for #5615 (export performance improvement)
niwamo Jan 15, 2025
67e0830
AADServicePrincipal - fix AppId assignment
niwamo Jan 15, 2025
c9bcef9
AADServicePrincipal - Fixed Unit Test
niwamo Jan 9, 2025
e362c1a
Updated Schema Definition
NikCharlebois Jan 15, 2025
9ea376f
FabricAdminTenantSettings: Added Missing Properties
NikCharlebois Jan 15, 2025
c52a8bb
Merge branch 'Dev' into Fix_AADServicePrincipal
niwamo Jan 16, 2025
14cc3a5
Report LCM details only if running as administrator
Jan 16, 2025
f49d069
Fix DisableResilienceDefaults result
Jan 16, 2025
ea75c66
Add DisableResilienceDefaults false szenario
Jan 16, 2025
eddf36a
Fix missing delimiter when called without parameter
Jan 16, 2025
f1281a4
Merge pull request #5633 from NikCharlebois/Fabric-Updates
NikCharlebois Jan 16, 2025
0d14da6
Updated Resources and Cmdlet documentation pages
NikCharlebois Jan 16, 2025
218e21c
Updated Schema Definition
NikCharlebois Jan 16, 2025
ffbd694
Update CHANGELOG.md for AADConditionalAccessPolicy fixes and scenarios
Jan 16, 2025
0f19ea5
Fix Zero Length Whitespace
NikCharlebois Jan 16, 2025
90942ce
Merge pull request #5638 from NikCharlebois/Fix-zero-length-whitespzce
NikCharlebois Jan 16, 2025
8a3922a
Add caching behaviour to Intune workload
Jan 16, 2025
45fc59a
Merge branch 'Dev' into fix/csv-report
Jan 16, 2025
403d7ff
Merge branch 'Dev' into fix/speedup-telemetry
Jan 16, 2025
f813308
Fixes issues when trying to disable AAD join
NikCharlebois Jan 16, 2025
129fc89
Merge pull request #5642 from NikCharlebois/AADDeviceRegistrationPolicy
NikCharlebois Jan 16, 2025
1a541ee
Merge branch 'Dev' into Fix_AADServicePrincipal
niwamo Jan 16, 2025
f469796
Fixing #5602
ykuijs Jan 17, 2025
a59a6d2
Merge pull request #5605 from niwamo/Fix_AADServicePrincipal
ykuijs Jan 17, 2025
724d535
Fixing #5602
ykuijs Jan 17, 2025
0598d89
Corrected changelog
ykuijs Jan 17, 2025
b6d4bcf
Merge branch 'Dev' of https://github.com/ykuijs/Microsoft365DSC into Dev
ykuijs Jan 17, 2025
22ee801
Merge branch 'Dev' into DisableResilienceDefaults
ykuijs Jan 17, 2025
49bc3bf
Merge pull request #5635 from FabienTschanz/fix/speedup-telemetry
ykuijs Jan 17, 2025
fd31e88
Merge branch 'Dev' into fix/csv-report
ykuijs Jan 17, 2025
60c44d0
Merge pull request #5644 from ykuijs/Dev
ykuijs Jan 17, 2025
3f42af1
Merge branch 'Dev' into DisableResilienceDefaults
ykuijs Jan 17, 2025
77b4059
Merge pull request #5636 from FabienTschanz/fix/csv-report
ykuijs Jan 17, 2025
48a8b90
Merge pull request #5637 from BuehlerSimon/DisableResilienceDefaults
ykuijs Jan 17, 2025
22649b3
Requested changes have been made.
dannyKBjj Jan 17, 2025
5e5ed01
Fixes CA policy deployment errors
Jan 17, 2025
e8d2a0e
Merge branch 'Dev' into Dev
AlfredSchreuder Jan 17, 2025
0364a78
Merge branch 'Dev' into exportedInstance
ykuijs Jan 17, 2025
3dd01e3
Merge pull request #5629 from niwamo/exportedInstance
ykuijs Jan 17, 2025
3c1cbc6
removed some lines
dannyKBjj Jan 17, 2025
2760a5d
Fix duplicate entry in CHANGELOG.md
ykuijs Jan 17, 2025
15d6b6e
Merge branch 'Dev' into feat/intune-resource-caching
ykuijs Jan 17, 2025
e32e67b
Update position of export check and minor fixes
Jan 17, 2025
3f1df6d
Merge pull request #5617 from dannyKBjj/Fix-for-issue-#5589
ykuijs Jan 17, 2025
d705eda
Updated Resources and Cmdlet documentation pages
NikCharlebois Jan 17, 2025
25b840c
Updated Schema Definition
NikCharlebois Jan 17, 2025
17fcfef
Fix test cases
Jan 17, 2025
919cac7
Merge pull request #5641 from FabienTschanz/feat/intune-resource-caching
ykuijs Jan 17, 2025
64b503a
Fix test
ricmestre Jan 18, 2025
a854fb7
Fix property type in schema
ricmestre Jan 19, 2025
1263c89
Replace line endings before comparison
ricmestre Jan 20, 2025
2b6d72b
Fixes SPOBrowserIdleSignout (and more): Not working #5648
ykuijs Jan 21, 2025
a97ee35
Merge pull request #5651 from ricmestre/fix5648
ykuijs Jan 21, 2025
881719c
Fixes SPOBrowserIdleSignout (and more): Not working #5648
ykuijs Jan 21, 2025
1c8ec33
Merge branch 'Dev' of https://github.com/ykuijs/Microsoft365DSC into Dev
ykuijs Jan 21, 2025
3174bc3
Merge pull request #5653 from ykuijs/Dev
ykuijs Jan 21, 2025
9b88836
Merge branch 'Dev' into fixtype
ykuijs Jan 21, 2025
e09b5e3
Merge branch 'Dev' into fixtest
ykuijs Jan 21, 2025
7b823e2
Merge pull request #5645 from AlfredSchreuder/Dev
ykuijs Jan 21, 2025
8bcdfe1
Merge pull request #5649 from ricmestre/fixtype
ykuijs Jan 21, 2025
7b859e4
Merge branch 'Dev' into fixtest
ykuijs Jan 21, 2025
77d8480
Updated Resources and Cmdlet documentation pages
NikCharlebois Jan 21, 2025
d3590d2
Updated Schema Definition
NikCharlebois Jan 21, 2025
2cd3bfe
Merge pull request #5646 from ricmestre/fixtest
ykuijs Jan 21, 2025
a788ec3
Removed dependency on Graph to retrieve user info
NikCharlebois Jan 21, 2025
fdfa861
Merge branch 'Dev' into Various-Fixes
NikCharlebois Jan 21, 2025
3d5e942
Update Microsoft365DSC.EXODistributionGroup.Tests.ps1
NikCharlebois Jan 21, 2025
9e0d0c1
Fixing Spacing Issue
NikCharlebois Jan 21, 2025
fdfb259
Merge pull request #5656 from NikCharlebois/Various-Fixes
NikCharlebois Jan 22, 2025
e1f2343
Add empty or invalid configuration message
Jan 22, 2025
9280452
Merge pull request #5659 from FabienTschanz/feat/report-config-valida…
NikCharlebois Jan 22, 2025
05b5318
Release 1.25.122.1
NikCharlebois Jan 22, 2025
3012725
Merge pull request #5662 from NikCharlebois/Release-1.25.122.1
NikCharlebois Jan 22, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 70 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,75 @@
# Change log for Microsoft365DSC

# 1.25.122.1

* AADConditionalAccessPolicy
* Fixes CA policy deployment errors when deploying policies based for workload identities.
* Fixed DisableResilienceDefaults result
* Add DisableResilienceDefaults false szenario
* AADDeviceRegistrationPolicy
* Fixes an error when trying to disable AAD join.
* AADGroupsNamingPolicy
* Use correct parameter `DesiredValues` given to `Test-M365DSCParameterState`,
contrary to `EXOTenantAllowBlockListItems` these resources are not affected
but we still should use the correct parameter
* AADRoleSetting
* Fixed issue where missing settings object for a role caused errors.
FIXES [#5602](https://github.com/microsoft/Microsoft365DSC/issues/5602)
* AADServicePrincipal
* FIXES [#5549](https://github.com/microsoft/Microsoft365DSC/issues/5549)
* EXOAvailabilityConfig
* Removed dependency on Microsoft Graph to retrieve user information.
* EXODistributionGroup
* Removed dependency on Microsoft Graph to retrieve user information.
* EXOHostedContentFilterPolicy
* Use correct parameter `DesiredValues` given to `Test-M365DSCParameterState`,
contrary to `EXOTenantAllowBlockListItems` these resources are not affected
but we still should use the correct parameter
* EXOTenantAllowBlockListItems
* Fixed `Test-TargetResource` by using the correct parameter `DesiredValues`
given to `Test-M365DSCParameterState`
* EXOTransportRule
* Fix type of `SenderInRecipientList` in schema
* FabricAdminTenantSettings
* Added support for the AllowGetOneLakeUDK, AllowMountDfCreation, AllowOneLakeUDK,
ArtifactOrgAppPreview properties.
* Fix values that have a zero length whitespace character.
* IntuneAppProtectionPolicyiOS
* Fixes [#5589] https://github.com/microsoft/Microsoft365DSC/issues/5589
* SCAutoSensitivityLabelPolicy
* Use correct parameter `DesiredValues` given to `Test-M365DSCParameterState`,
contrary to `EXOTenantAllowBlockListItems` these resources are not affected
but we still should use the correct parameter
* SCLabelPolicy
* Use correct parameter `DesiredValues` given to `Test-M365DSCParameterState`,
contrary to `EXOTenantAllowBlockListItems` these resources are not affected
but we still should use the correct parameter
* SCSecurityFilter
* Use correct parameter `DesiredValues` given to `Test-M365DSCParameterState`,
contrary to `EXOTenantAllowBlockListItems` these resources are not affected
but we still should use the correct parameter
* SPOSPOBrowserIdleSignout
* Corrected export types where the schema expected a String, but received a different type
FIXES [#5648](https://github.com/microsoft/Microsoft365DSC/issues/5648)
* SPOSharingSettings
* Corrected export types where the schema expected a String, but received a different type
FIXES [#5648](https://github.com/microsoft/Microsoft365DSC/issues/5648)
* M365DSCReport
* Fix missing delimiter when called without the parameter.
FIXES [#5634](https://github.com/microsoft/Microsoft365DSC/issues/5634)
* Add configuration validation to inform about comparisons against empty or invalid configurations.
FIXES [#5658](https://github.com/microsoft/Microsoft365DSC/issues/5658)
* M365DSCTelemetryEngine
* Report LCM details only if running as administrator.
* M365DSCUtil
* In `Test-M365DSCParameterState` try to replace the line endings before
making the comparison otherwise it may fail as it did for a few resources
FIXES [#5648](https://github.com/microsoft/Microsoft365DSC/issues/5648)
* MISC
* Export Performance Improvements
Implements the changes described in [#5615](https://github.com/microsoft/Microsoft365DSC/issues/5615)
Improved resource caching behavior across Intune resources.

# 1.25.115.1

* AADAuthenticationRequirement
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,6 @@ function Test-TargetResource

Write-Verbose -Message "Current Values: $(Convert-M365DscHashtableToString -Hashtable $CurrentValues)"
Write-Verbose -Message "Target Values: $(Convert-M365DscHashtableToString -Hashtable $ValuesToCheck)"

$testResult = $true
foreach ($reviewer in $Reviewers)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,64 +84,58 @@ function Get-TargetResource
)
try
{
$ConnectionMode = New-M365DSCConnection -Workload 'MicrosoftGraph' `
-InboundParameters $PSBoundParameters
}
catch
{
Write-Verbose -Message ($_)
}

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

#region Telemetry
$ResourceName = $MyInvocation.MyCommand.ModuleName.Replace('MSFT_', '')
$CommandName = $MyInvocation.MyCommand
$data = Format-M365DSCTelemetryParameters -ResourceName $ResourceName `
-CommandName $CommandName `
-Parameters $PSBoundParameters
Add-M365DSCTelemetryEvent -Data $data
#endregion

$nullResult = $PSBoundParameters
$nullResult.Ensure = 'Absent'
try
{
$getValue = $null
#region resource generator code
if (-not [string]::IsNullOrEmpty($Id))
if (-not $Script:exportedInstance)
{
if ($null -ne $Script:exportedInstances -and $Script:ExportMode)
try
{
$getValue = $Script:exportedInstances | Where-Object -FilterScript { $_.Id -eq $Id }
$ConnectionMode = New-M365DSCConnection -Workload 'MicrosoftGraph' `
-InboundParameters $PSBoundParameters
}
else
catch
{
Write-Verbose -Message ($_)
}

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

#region Telemetry
$ResourceName = $MyInvocation.MyCommand.ModuleName.Replace('MSFT_', '')
$CommandName = $MyInvocation.MyCommand
$data = Format-M365DSCTelemetryParameters -ResourceName $ResourceName `
-CommandName $CommandName `
-Parameters $PSBoundParameters
Add-M365DSCTelemetryEvent -Data $data
#endregion

$nullResult = $PSBoundParameters
$nullResult.Ensure = 'Absent'

$getValue = $null
#region resource generator code
if (-not [string]::IsNullOrEmpty($Id))
{
$getValue = Get-MgBetaDirectoryAdministrativeUnit -AdministrativeUnitId $Id -ErrorAction SilentlyContinue
}
}

if ($null -eq $getValue -and -not [string]::IsNullOrEmpty($DisplayName))
{
Write-Verbose -Message "Could not find an Azure AD Administrative Unit by Id, trying by DisplayName {$DisplayName}"
if (-Not [string]::IsNullOrEmpty($DisplayName))
if ($null -eq $getValue -and -not [string]::IsNullOrEmpty($DisplayName))
{
if ($null -ne $Script:exportedInstances -and $Script:ExportMode)
{
$getValue = $Script:exportedInstances | Where-Object -FilterScript { $_.DisplayName -eq $DisplayName }
}
else
Write-Verbose -Message "Could not find an Azure AD Administrative Unit by Id, trying by DisplayName {$DisplayName}"
if (-Not [string]::IsNullOrEmpty($DisplayName))
{
$getValue = Get-MgBetaDirectoryAdministrativeUnit -Filter "DisplayName eq '$DisplayName'" -ErrorAction Stop
}
}
#endregion
if ($null -eq $getValue)
{
Write-Verbose -Message "Could not find an Azure AD Administrative Unit with DisplayName {$DisplayName}"
return $nullResult
}
}
#endregion
if ($null -eq $getValue)
else
{
Write-Verbose -Message "Could not find an Azure AD Administrative Unit with DisplayName {$DisplayName}"
return $nullResult
$getValue = $Script:exportedInstance
}
$Id = $getValue.Id
Write-Verbose -Message "An Azure AD Administrative Unit with Id {$Id} and DisplayName {$DisplayName} was found."
Expand Down Expand Up @@ -1099,6 +1093,7 @@ function Export-TargetResource
AccessTokens = $AccessTokens
}

$Script:exportedInstance = $config
$Results = Get-TargetResource @Params

if ($null -ne $Results.ScopedRoleMembers)
Expand Down
Loading
Loading