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.24.403.1 #4519

Merged
merged 215 commits into from
Apr 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
215 commits
Select commit Hold shift + click to select a range
90b5d71
Change data type of Priority from String to Int
malauter Jan 15, 2024
d7e15bf
Merge branch 'Dev' into Fix-4136
NikCharlebois Jan 17, 2024
17640db
Update deprecated Intune enrollment platform restrictions
Jan 25, 2024
2d922c5
Merge branch 'Dev' into fix-enrollment-platforms
Jan 26, 2024
39d006b
Update Microsoft.ApplicationInsights.dll
NikCharlebois Feb 15, 2024
e31e310
Merge remote-tracking branch 'upstream/dev' into Dev
NikCharlebois Feb 15, 2024
b13d975
Merge remote-tracking branch 'upstream/dev' into Dev
NikCharlebois Feb 15, 2024
41dffe5
Merge remote-tracking branch 'upstream/dev' into Dev
NikCharlebois Feb 20, 2024
0069c64
Merge remote-tracking branch 'upstream/dev' into Dev
NikCharlebois Feb 21, 2024
35f7fa4
Merge remote-tracking branch 'upstream/dev' into Dev
NikCharlebois Feb 22, 2024
07afeaa
Merge branch 'Dev' into fix-enrollment-platforms
Feb 23, 2024
78762f2
Added Unreleased section to Changelog
ykuijs Feb 29, 2024
5bbd72c
add error handling
malauter Mar 5, 2024
8e938d0
Skip assignments that have orphaned/deleted groups or without display…
ricmestre Mar 5, 2024
802e76e
Fix output of property as a string to the blueprint
ricmestre Mar 8, 2024
310ecc2
AADUser
ifinch Mar 8, 2024
f79cea8
Fix policy removal
ricmestre Mar 8, 2024
c938e96
Spacing
ricmestre Mar 8, 2024
86b0b0e
Fix policy creation and update
ricmestre Mar 8, 2024
7a963bb
Not required
ricmestre Mar 8, 2024
4f6203c
Update CHANGELOG.md
ricmestre Mar 8, 2024
2a18565
update filters for mguser
ifinch Mar 10, 2024
eed96fd
Merge branch 'Dev' into fix4428
NikCharlebois Mar 12, 2024
65d0c2c
Merge branch 'Dev' into fix4407
NikCharlebois Mar 12, 2024
ad2ee3a
Merge branch 'Dev' into Fix-4406
NikCharlebois Mar 12, 2024
8352611
If deprecated properties are present in blueprint remove
ricmestre Mar 12, 2024
9dccc34
Merge branch 'fix4428' of github.com:ricmestre/Microsoft365DSC into f…
ricmestre Mar 12, 2024
78ef25f
Merge remote-tracking branch 'upstream/dev' into Dev
NikCharlebois Mar 12, 2024
f12dcde
Initial Release of Get-M365DSCEvaluationRulesForConfiguration
andikrueger Mar 12, 2024
e5d66ab
fixed typo
andikrueger Mar 12, 2024
50e6a03
Merge branch 'microsoft:Dev' into Dev
ifinch Mar 13, 2024
ea1b907
DSCParserv2 Updates
NikCharlebois Mar 13, 2024
5afd2b3
Merge remote-tracking branch 'upstream/dev' into Dev
NikCharlebois Mar 13, 2024
32a5636
Merge remote-tracking branch 'upstream/dev' into Dev
NikCharlebois Mar 13, 2024
a08507b
Merge remote-tracking branch 'upstream/dev' into DSCParserv2
NikCharlebois Mar 13, 2024
09d3f5f
Updated DSCParser version
NikCharlebois Mar 13, 2024
517afbc
Merge pull request #4450 from NikCharlebois/DSCParserv2
NikCharlebois Mar 13, 2024
bd9a5d5
Merge remote-tracking branch 'upstream/dev' into Dev
NikCharlebois Mar 13, 2024
97f6cff
Fix comparison in Test-TargetResource
ricmestre Mar 14, 2024
ccb3d9a
Mention the correct resource that was fixed on latest release
ricmestre Mar 14, 2024
9aa1b2c
SchemaHandler
NikCharlebois Mar 16, 2024
b84d8d9
Merge pull request #4455 from NikCharlebois/Dev
NikCharlebois Mar 16, 2024
602d54c
Updated Schema Definition
NikCharlebois Mar 16, 2024
f679d9d
Update M365DSCSchemaHandler.psm1
NikCharlebois Mar 16, 2024
7978c1b
Update M365DSCSchemaHandler.psm1
NikCharlebois Mar 16, 2024
ea4d0ba
Merge branch 'Dev' into Improvements
NikCharlebois Mar 16, 2024
27bf2a0
Merge pull request #4456 from NikCharlebois/Improvements
NikCharlebois Mar 16, 2024
9907253
fix
ricmestre Mar 16, 2024
0346304
Use correct indentation
ricmestre Mar 16, 2024
08e757f
Merge pull request #4457 from ricmestre/fixschemadefinition
NikCharlebois Mar 17, 2024
1b75233
Updated Schema Definition
NikCharlebois Mar 17, 2024
a1a9ae1
Update M365DSCSchemaHandler.psm1
NikCharlebois Mar 17, 2024
1a032c9
Updated Schema Definition
NikCharlebois Mar 17, 2024
ae0c5bc
Fixing Schema
NikCharlebois Mar 18, 2024
7c554ba
Merge pull request #4458 from NikCharlebois/Improvements
NikCharlebois Mar 18, 2024
cf010b1
Updated Schema Definition
NikCharlebois Mar 18, 2024
c32314a
Update MSFT_SPOUserProfileProperty.schema.mof
NikCharlebois Mar 18, 2024
59742be
Merge pull request #4459 from NikCharlebois/SchemaFIxes
NikCharlebois Mar 18, 2024
e4ba778
Updated Schema Definition
NikCharlebois Mar 18, 2024
5693b00
Merge pull request #4452 from ricmestre/fix4451
NikCharlebois Mar 18, 2024
4370002
Merge branch 'Dev' into M365DSCConfigurationHelper
NikCharlebois Mar 18, 2024
9e45317
Merge branch 'Dev' into fix4428
NikCharlebois Mar 18, 2024
4e3065c
Merge pull request #4440 from andikrueger/M365DSCConfigurationHelper
NikCharlebois Mar 18, 2024
592c151
Merge pull request #4429 from ricmestre/fix4428
NikCharlebois Mar 18, 2024
cd76a8e
Merge branch 'Dev' into fix4407
NikCharlebois Mar 18, 2024
d4fb236
Merge pull request #4420 from ricmestre/fix4407
NikCharlebois Mar 18, 2024
4836cec
Update MSFT_AADUser.psm1
ifinch Mar 18, 2024
cd7791d
fixed AADAdministrativeUnit #4437
salbeck-sit Mar 19, 2024
8213ca3
added test to verify update
salbeck-sit Mar 19, 2024
9152a4e
updated changelog
salbeck-sit Mar 19, 2024
e56ca5e
Update CHANGELOG
salbeck-sit Mar 19, 2024
8dda400
Merge pull request #4408 from malauter/Fix-4406
NikCharlebois Mar 19, 2024
d1d6c0e
Merge branch 'Dev' into Fix-4136
NikCharlebois Mar 19, 2024
9b392f8
Merge pull request #4149 from malauter/Fix-4136
NikCharlebois Mar 19, 2024
20e849c
Updated Resources and Cmdlet documentation pages
NikCharlebois Mar 19, 2024
8d16986
Updated Schema Definition
NikCharlebois Mar 19, 2024
c8a7bdb
Merge branch 'Dev' into AADAdministrativeUnit
NikCharlebois Mar 19, 2024
076c7c9
Schema Update
andikrueger Mar 19, 2024
3d75f86
Update SchemaHandler to regex based approach for improved parsing.
andikrueger Mar 19, 2024
b0425d7
formatting fixes
andikrueger Mar 19, 2024
432d500
Fix schema.mof files
ricmestre Mar 19, 2024
673d20e
Update authentication and permissions in user guide
andikrueger Mar 19, 2024
f38b66f
Add group assignment only if it can be found
ricmestre Mar 20, 2024
413ffbf
Only try to find group by displayName if it's not null
ricmestre Mar 20, 2024
e5a5a0d
Update CHANGELOG.md
ricmestre Mar 20, 2024
1b69dbb
Add Get-TargetResource tests to integration tests
Borgquite Mar 20, 2024
d917a2f
Use Update-DeviceConfigurationPolicyAssignment instead
ricmestre Mar 20, 2024
e180684
Remove functions not required anymore
ricmestre Mar 20, 2024
fdf28f6
Update CHANGELOG.md
ricmestre Mar 20, 2024
3fe7f8b
Comply with unit tests
ricmestre Mar 20, 2024
da3223b
Fix for Linux
NikCharlebois Mar 20, 2024
e857c17
Merge pull request #4471 from NikCharlebois/SchemaFIxes
NikCharlebois Mar 20, 2024
8cc354b
Merge pull request #4464 from andikrueger/Schema-Fix
NikCharlebois Mar 21, 2024
9675732
Log both matching and not matching resources and in XML format
ricmestre Mar 21, 2024
ea1f3f5
Merge pull request #4465 from ricmestre/fixschema
NikCharlebois Mar 21, 2024
1eaea67
Updated Schema Definition
NikCharlebois Mar 21, 2024
263a491
Merge branch 'Dev' of https://github.com/microsoft/Microsoft365DSC in…
ricmestre Mar 21, 2024
b7abd24
Merge branch 'microsoft:Dev' into integration-tests
Borgquite Mar 21, 2024
a1211a6
Allow use of default for 'Ensure' field
Borgquite Mar 21, 2024
e0defb2
Updated CHANGELOG
Borgquite Mar 21, 2024
57c0975
Merge branch 'Dev' into fix4467
andikrueger Mar 21, 2024
0e7df68
Merge pull request #4475 from Borgquite/ensure-default
NikCharlebois Mar 21, 2024
95b15ea
Merge pull request #4466 from andikrueger/andikrueger/issue4037
NikCharlebois Mar 21, 2024
9e7b2e6
Merge pull request #4468 from ricmestre/fix4467
NikCharlebois Mar 21, 2024
9e39534
Merge pull request #4470 from Borgquite/integration-tests
NikCharlebois Mar 21, 2024
4256ad8
Merge branch 'Dev' into m365dscruleevaluation
NikCharlebois Mar 21, 2024
0aa07e1
Merge pull request #4473 from ricmestre/m365dscruleevaluation
NikCharlebois Mar 21, 2024
dadbf0b
Merge branch 'Dev' into AADAdministrativeUnit
NikCharlebois Mar 21, 2024
21cbec1
Merge pull request #4462 from salbeck-sit/AADAdministrativeUnit
NikCharlebois Mar 21, 2024
fa3b1a9
Fixes #4117
NikCharlebois Mar 21, 2024
31cc6a0
Merge pull request #4477 from NikCharlebois/Fixes-#4117
NikCharlebois Mar 21, 2024
33148f7
Updated Resources and Cmdlet documentation pages
NikCharlebois Mar 21, 2024
f0fa9cc
Updated Schema Definition
NikCharlebois Mar 21, 2024
159eb49
Updated {Create} EXO Integration Tests
NikCharlebois Mar 21, 2024
8e74956
Fixing required permissions for O365OrgSettings
ykuijs Mar 22, 2024
49e4ec5
Merge branch 'Dev' of https://github.com/ykuijs/Microsoft365DSC into Dev
ykuijs Mar 22, 2024
eb5cede
Merge branch 'Dev' into AADAdministrativeUnit
salbeck-sit Mar 22, 2024
24b56ef
Corrected resourcename in settings.json
ykuijs Mar 22, 2024
6910b74
fix Can't deploy AADAdministrativeUnit - unexpected instance annotati…
salbeck-sit Mar 22, 2024
b760da2
updated changelog
salbeck-sit Mar 22, 2024
4cdcb68
Corrected resource name in settings.json
ykuijs Mar 22, 2024
0d57aa1
Merge pull request #4479 from ykuijs/Dev
ykuijs Mar 22, 2024
1ab4f04
Updated Resources and Cmdlet documentation pages
NikCharlebois Mar 22, 2024
67746f9
Merge pull request #4480 from salbeck-sit/AADAdministrativeUnit
ykuijs Mar 22, 2024
b6b1bce
Update README.md to include integration tests
Borgquite Mar 22, 2024
cd43332
Update CHANGELOG.md
Borgquite Mar 22, 2024
0d28a64
Merge pull request #4482 from Borgquite/patch-1
NikCharlebois Mar 22, 2024
b2771dc
Fixes AAD Integration Tests format
NikCharlebois Mar 22, 2024
bd5bdc8
Merge pull request #4484 from NikCharlebois/Fixes-#4117
NikCharlebois Mar 22, 2024
e9c9512
Return mandatory params for TGPA
ricmestre Mar 22, 2024
8b46268
Merge pull request #4486 from ricmestre/tgparesourcekey
NikCharlebois Mar 24, 2024
bdea012
Updated test & example for AADAdministrativeUnit
Borgquite Mar 25, 2024
982a116
Updated CHANGELOG
Borgquite Mar 25, 2024
b39c572
Revert incorrect change
Borgquite Mar 25, 2024
7ba17da
Change correct place!
Borgquite Mar 25, 2024
c848fc0
Revert change
Borgquite Mar 25, 2024
12de4b0
Reverse removal of space
Borgquite Mar 25, 2024
d45e14c
Fix incorrect example from previous module version
Borgquite Mar 25, 2024
df4d90d
Fixes Tests and Dependencies
NikCharlebois Mar 26, 2024
f8658da
Update M365DSCDRGUtil.psm1
NikCharlebois Mar 26, 2024
8f47a70
Merge pull request #4493 from NikCharlebois/Fixes-#4117
NikCharlebois Mar 26, 2024
9027d0d
Merge pull request #4490 from Borgquite/IntegrationTests
NikCharlebois Mar 26, 2024
64b947c
Updated Resources and Cmdlet documentation pages
NikCharlebois Mar 26, 2024
35f2ac4
Updated {Create} AAD Integration Tests
NikCharlebois Mar 26, 2024
f44aebd
Fixed issue #4494
ykuijs Mar 27, 2024
1fcfd49
Fixed issue #4494
ykuijs Mar 27, 2024
2891022
Merge branch 'Dev' of https://github.com/ykuijs/Microsoft365DSC into Dev
ykuijs Mar 27, 2024
e956b18
Added stubs
ykuijs Mar 27, 2024
208b267
Corrected stubs
ykuijs Mar 27, 2024
e4bfbda
Remove incorrect file
ykuijs Mar 27, 2024
3047fda
Merge pull request #4495 from ykuijs/Dev
NikCharlebois Mar 27, 2024
9f4dd93
Updated Resources and Cmdlet documentation pages
NikCharlebois Mar 27, 2024
0c3c087
Updated Schema Definition
NikCharlebois Mar 27, 2024
0bbf387
Fix issue where Set-TargetResource was failing to apply when Verbose …
Borgquite Mar 27, 2024
1944546
Fixes #3576
ykuijs Mar 27, 2024
950a4c3
Fixes #3576
ykuijs Mar 27, 2024
d9acdfc
Merge branch 'Dev' of https://github.com/ykuijs/Microsoft365DSC into Dev
ykuijs Mar 27, 2024
fb2a20f
Corrected examples
ykuijs Mar 27, 2024
f585637
Corrected unit test
ykuijs Mar 27, 2024
39f3c15
Merge pull request #4499 from ykuijs/Dev
NikCharlebois Mar 27, 2024
a5d7db9
Updated Resources and Cmdlet documentation pages
NikCharlebois Mar 27, 2024
c8963f8
Updated Schema Definition
NikCharlebois Mar 27, 2024
00c70fe
Blog Update
NikCharlebois Mar 27, 2024
b76dd33
Merge pull request #4498 from Borgquite/Fix-AADAdministrativeUnit
NikCharlebois Mar 27, 2024
c775c52
Merge pull request #4500 from NikCharlebois/Blog
NikCharlebois Mar 27, 2024
f2c0f2a
FIXES #4496
NikCharlebois Mar 27, 2024
0121c5a
Merge pull request #4501 from NikCharlebois/FIXES-#4496
NikCharlebois Mar 27, 2024
4df9a4d
Updated Resources and Cmdlet documentation pages
NikCharlebois Mar 27, 2024
da136ee
Merge branch 'Dev' into fix-enrollment-platforms
FabienTschanz Mar 27, 2024
415d9d2
Return mandatory parameters
ricmestre Mar 28, 2024
c5c4e71
Add missing properties
ricmestre Mar 28, 2024
7d7f191
Use correct property to fix class import in unit tests
ricmestre Mar 28, 2024
887b521
Generic Fixes
NikCharlebois Mar 28, 2024
352d50a
Update Unit Tests.yml
NikCharlebois Mar 28, 2024
543670f
Update Microsoft365.psm1
NikCharlebois Mar 28, 2024
732d70e
Update Unit Tests.yml
NikCharlebois Mar 28, 2024
fc36f96
Update Microsoft365DSC.IntuneDeviceCompliancePolicyWindows10.Tests.ps1
NikCharlebois Mar 28, 2024
445a0a6
Test
NikCharlebois Mar 28, 2024
23a74f2
Test
NikCharlebois Mar 28, 2024
4fc8ac5
Update MSFT_IntuneDeviceCompliancePolicyWindows10.psm1
NikCharlebois Mar 28, 2024
cec093d
Update MSFT_IntuneDeviceCompliancePolicyWindows10.psm1
NikCharlebois Mar 28, 2024
d0884cc
Update MSFT_IntuneDeviceCompliancePolicyWindows10.psm1
NikCharlebois Mar 28, 2024
b8e48f6
Update M365DSCUtil.psm1
NikCharlebois Mar 28, 2024
f3dfc12
Update M365DSCUtil.psm1
NikCharlebois Mar 28, 2024
afaddf3
Update MSFT_IntuneDeviceCompliancePolicyWindows10.psm1
NikCharlebois Mar 28, 2024
cc1a59a
Fixes
NikCharlebois Mar 28, 2024
19a561d
Update MSFT_IntuneDeviceCompliancePolicyWindows10.psm1
NikCharlebois Mar 28, 2024
f751a6b
Update Microsoft365DSC.IntuneDeviceCompliancePolicyWindows10.Tests.ps1
NikCharlebois Mar 28, 2024
b526e06
Merge pull request #4507 from NikCharlebois/GenericFixes
NikCharlebois Mar 28, 2024
c470b54
Merge pull request #4503 from ricmestre/fix4502
ykuijs Mar 28, 2024
92ed477
Merge pull request #4504 from ricmestre/addavproperties
ykuijs Mar 28, 2024
f9ef869
Updated Resources and Cmdlet documentation pages
NikCharlebois Mar 28, 2024
02d8d68
Updated Schema Definition
NikCharlebois Mar 28, 2024
8e11b18
Update M365DSCUtil.psm1
NikCharlebois Mar 28, 2024
359110e
Simplify enrollment platform restrictions
FabienTschanz Mar 29, 2024
1dabb0d
Adds Intune logo to delta reports
coaxke Apr 2, 2024
8776a69
Merge pull request #4510 from coaxke/feature/AddIntuneLogoToReports
NikCharlebois Apr 2, 2024
e66b4e6
Release 1.24.403.1
NikCharlebois Apr 2, 2024
6e53aa1
Merge remote-tracking branch 'upstream/dev' into Release-1.24.403.1
NikCharlebois Apr 2, 2024
a100e20
Add required displayName parameter to enrollment restrictions
FabienTschanz Apr 3, 2024
8a88bda
Merge branch 'microsoft:Dev' into Dev
ifinch Apr 3, 2024
afacaf0
Removed printing "Filter is null" on export with a Write-Host
ifinch Apr 3, 2024
10d6a64
Update MSFT_AADUser.psm1
ifinch Apr 3, 2024
d5883ea
Added EnableAIPIntegration
desmay Apr 3, 2024
770982d
Merge pull request #4362 from FabienTschanz/fix-enrollment-platforms
ykuijs Apr 3, 2024
9118d8b
Updated Resources and Cmdlet documentation pages
NikCharlebois Apr 3, 2024
67d7aa3
Updated Schema Definition
NikCharlebois Apr 3, 2024
68ce5da
Updated {Create} Intune Integration Tests
NikCharlebois Apr 3, 2024
3bee2dc
Merge pull request #4518 from desmay/Dev
ykuijs Apr 3, 2024
71619aa
Updated Resources and Cmdlet documentation pages
NikCharlebois Apr 3, 2024
32a4b4c
Updated Schema Definition
NikCharlebois Apr 3, 2024
6d73894
Merge pull request #4430 from ifinch/Dev
NikCharlebois Apr 3, 2024
31f3bd7
Update MSFT_AADApplication.psm1
NikCharlebois Apr 3, 2024
d0f605d
Merge pull request #4512 from NikCharlebois/Release-1.24.403.1
NikCharlebois Apr 3, 2024
d1e6317
Merge branch 'master' into Dev
NikCharlebois Apr 3, 2024
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
3 changes: 2 additions & 1 deletion .github/ISSUE_TEMPLATE/ProblemWithResource.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ body:
label: "Which workloads are affected"
description: The workload of the resource you are having an issue with.
options:
- "Azure Active Directory"
- "Azure Active Directory (Entra ID)"
- "Exchange Online"
- "Intune"
- "Office 365 Admin"
- "OneDrive for Business"
- "Planner"
Expand Down
47 changes: 47 additions & 0 deletions .github/workflows/Describe Resources Schemas.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Describe Resources Schemas
on: [push]

jobs:
ParseSchemas:
# The type of runner that the job will run on
runs-on: windows-latest
permissions: write-all

# Only when run from the main repo
if: github.repository == 'microsoft/Microsoft365DSC'

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- name: Install Microsoft365DSC
shell: powershell
run: |
winrm quickconfig -force
$source = "./Modules/Microsoft365DSC/"
$destination = "C:\Program Files\WindowsPowerShell\Modules"
Copy-Item -Path $source -Recurse -Destination $destination -Container -Force
Update-M365DSCDependencies
- name: Configure Environment
shell: powershell
run: |
Set-ExecutionPolicy Unrestricted -Force
Get-ChildItem "C:\Program Files\WindowsPowerShell\Modules" -Recurse | Unblock-File
Set-M365DSCTelemetryOption -Enabled $false
Set-Item -Path WSMan:\localhost\MaxEnvelopeSizekb -Value 99999
- name: Generate {Create} Integration Tests from Examples
shell: powershell
run: |
Import-Module './Modules/Microsoft365DSC/Modules/M365DSCSchemaHandler.psm1'
New-M365DSCSchemaDefinition
- name: Commit File
shell: powershell
run: |
git config --local user.email "[email protected]"
git config --local user.name "NikCharlebois"
git add D:/a/Microsoft365DSC/Microsoft365DSC/Modules/Microsoft365DSC/SchemaDefinition.json
git pull
git commit -m "Updated Schema Definition"
git push
$SHA = git rev-parse HEAD
echo "commitid=$SHA" >> $env:GITHUB_OUTPUT
44 changes: 41 additions & 3 deletions .github/workflows/Global - Integration - AAD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ jobs:
{
throw $_
}

- name: Validating {Create} Integration Tests
shell: powershell
run: |
try
{
$Result = Test-DSCConfiguration -Detailed -Verbose -ErrorAction Stop
Expand All @@ -88,6 +90,18 @@ jobs:
{
Write-Host "All resources in the Tenant are in the Desired State"
}

try
{
# Commenting out since this is very finnicky right now and its preventing other tests from running.
# The Get-DSCConfiguration cmdlet isn't providing much value added when failing and doesn't provide
# info about what parsing issues occured.
#$Result = Get-DSCConfiguration -Verbose -ErrorAction Stop
}
catch
{
throw $_
}
- name: Generate {Update} Integration Tests from Examples
shell: powershell
run: |
Expand Down Expand Up @@ -120,7 +134,9 @@ jobs:
{
throw $_
}

- name: Validating {Update} Integration Tests
shell: powershell
run: |
try
{
$Result = Test-DSCConfiguration -Detailed -Verbose -ErrorAction Stop
Expand All @@ -146,6 +162,18 @@ jobs:
{
Write-Host "All resources in the Tenant are in the Desired State"
}

try
{
# Commenting out since this is very finnicky right now and its preventing other tests from running.
# The Get-DSCConfiguration cmdlet isn't providing much value added when failing and doesn't provide
# info about what parsing issues occured.
#$Result = Get-DSCConfiguration -Verbose -ErrorAction Stop
}
catch
{
throw $_
}
- name: Generate {Remove} Integration Tests from Examples
shell: powershell
run: |
Expand Down Expand Up @@ -178,7 +206,9 @@ jobs:
{
throw $_
}

- name: Validating {Remove} Integration Tests
shell: powershell
run: |
try
{
$Result = Test-DSCConfiguration -Detailed -Verbose -ErrorAction Stop
Expand All @@ -205,3 +235,11 @@ jobs:
Write-Host "All resources in the Tenant are in the Desired State"
}

try
{
#$Result = Get-DSCConfiguration -Verbose -ErrorAction Stop
}
catch
{
throw $_
}
97 changes: 96 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,99 @@
# Change log for Microsoft365DSC

# 1.24.403.1

* AADAdministrativeUnit
* Fix issue with deploying/creating a new AU with members and/or adding members to an existing AU
FIXES [#4404](https://github.com/microsoft/Microsoft365DSC/issues/4404)
* Updated examples to include setting Visibility and ScopedRoleMembers
* Fix issue with Set-TargetResource was failing to apply when Verbose is set
FIXES [#4497](https://github.com/microsoft/Microsoft365DSC/issues/4497)
* All resources
* Fix issue where Ensure cannot be left as default 'Present'
* AADAdministrativeUnit
* Fix issue with omitted Ensure and/or Id
FIXES [#4437](https://github.com/microsoft/Microsoft365DSC/issues/4437)
* AADConditionalAccessPolicy
* Fixed schema file
* EXOCalendarProcessing
* Fixed schema file
* EXOGroupSettings
* Fixed schema file
* EXOMailTips
* [BREAKING CHANGE] Replaced the Organization parameter with IsSingleInstance
FIXES [#4117](https://github.com/microsoft/Microsoft365DSC/issues/4117)
* EXOMessageClassification
* Fixed schema file
* EXOOMEConfiguration
* Fixed schema file
* EXOTransportRule
* [BREAKING CHANGE] Change data type of Priority from String to Int
FIXES [[#4136](https://github.com/microsoft/Microsoft365DSC/issues/4136)]
* IntuneAntivirusPolicyWindows10SettingCatalog
* Add missing properties
* IntuneAppConfigurationPolicy
* Fix comparison in Test-TargetResource
FIXES [#4451](https://github.com/microsoft/Microsoft365DSC/issues/4451)
* IntuneDeviceCompliancePolicyWindows10
* Fix group assignment by using the corrected function
Update-DeviceConfigurationPolicyAssignment from module M365DSCDRGUtil
FIXES [#4467](https://github.com/microsoft/Microsoft365DSC/issues/4467)
* IntuneDeviceEnrollmentPlatformRestriction
* Fixed an issue where nested settings would throw a conflict
FIXES [#4082](https://github.com/microsoft/Microsoft365DSC/issues/4082)
* IntuneDeviceEnrollmentStatusPageWindows10
* Added support for specifying SelectedMobileAppNames in addition to SelectedMobileAppIds,
which are different for each tenant.
FIXES [#4494](https://github.com/microsoft/Microsoft365DSC/issues/4494)
* M365DSCRuleEvaluation
* Log both matching and not matching resources and in XML format
* O365OrgSettings
* Fixed missing permissions in settings.json
* SPOAccessControlSettings
* [BREAKING CHANGE] Removed CommentsOnSitePagesDisabled parameter, because of
duplication in SPOTenantSettings
FIXES [#3576](https://github.com/microsoft/Microsoft365DSC/issues/3576)
* [BREAKING CHANGE] Moved SocialBarOnSitePagesDisabled parameter to SPOTenantSettings,
because it makes more sense there. This has nothing to do with Access Control.
* SPOTenantSettings
* [BREAKING CHANGE] Removed ConditionalAccessPolicy parameter, because of
duplication in SPOAccessControlSettings
FIXES [#3576](https://github.com/microsoft/Microsoft365DSC/issues/3576)
* Added SocialBarOnSitePagesDisabled parameter, moved from SPOAccessControlSettings.
* Added EnableAIPIntegration.
* TeamsChannelTab
* Fixed schema file
* TeamsGroupPolicyAssignment
* Skip assignments that have orphaned/deleted groups or without display name
instead of throwing an error
FIXES [#4407](https://github.com/microsoft/Microsoft365DSC/issues/4407)
* TeamsTenantDialPlan
* Fix output of property NormalizationRules as a string to the blueprint
FIXES [#4428](https://github.com/microsoft/Microsoft365DSC/issues/4428)
* Fix creation, update and deletion of resource
* TeamsUpdateManagementPolicy
* Adds support for the NewTeamsOnly value or the UseNewTeamsClient property.
FIXES [#4496](https://github.com/microsoft/Microsoft365DSC/issues/4496)
* DEPENDENCIES
* Updated DSCParser to version 2.0.0.3.
* MISC
* Initial release of Get-M365DSCEvaluationRulesForConfiguration
* M365DSCDRGUtil
Fix Update-DeviceConfigurationPolicyAssignment so that if the group cannot
be found by its Id it tries to search it by display name
FIXES [#4467](https://github.com/microsoft/Microsoft365DSC/issues/4467)
* M365DSCReport
Fix issue when asserting resources not covered by current conditions in
Get-M365DSCResourceKey by always returning all their mandatory parameters
FIXES [#4502](https://github.com/microsoft/Microsoft365DSC/issues/4502)
* Fix broken links to integration tests in README.md
* Changing logic to retrieve DSC Resources properties not to use DSC
specific cmdlets.

# 1.24.313.1

* AADAuthenticationStrengthPolicy
* Removed the Id paremeter from being checked in the Test-TargetResource.
* AADGroup
* Fixed issue when filtering groups by display name
FIXES [#4394](https://github.com/microsoft/Microsoft365DSC/issues/4394)
Expand Down Expand Up @@ -81,7 +173,7 @@
Get-TargetResource
* Fixed an issue with the parameter InterfaceTypes from firewallrules defined
as a string instead of string[]
* IntuneDeviceConfigurationPKCSCertificatePolicyWindows10
* IntuneDeviceConfigurationSCEPCertificatePolicyWindows10
* Add property RootCertificateDisplayName in order to support assigning root
certificates by display name since their Ids in a blueprint might be from a
different source tenant
Expand All @@ -102,6 +194,9 @@
* Add read permission for extracting M365 apps installation settings instead
of extracting them only with read/write permissions
FIXES [#4418](https://github.com/microsoft/Microsoft365DSC/issues/4418)
* TeamsTeam
* Add error handling for teams without displayname during export
FIXES [#4406](https://github.com/microsoft/Microsoft365DSC/issues/4406)
* TeamsVoiceRoute
* Fix policy removal and also comparison in Test-TargetResource
* DEPENDENCIES
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,22 +100,6 @@ function Get-TargetResource
$nullResult.Ensure = 'Absent'
try
{
$getValue = $null

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

if (-not $getValue -and -Not [string]::IsNullOrEmpty($DisplayName))
{
$getValue = Get-MgBetaDirectoryAdministrativeUnit -Filter "DisplayName eq '$DisplayName'" -ErrorAction Stop
}
#endregion

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

$getValue = $null
#region resource generator code
Expand Down Expand Up @@ -565,8 +549,8 @@ function Set-TargetResource
foreach ($member in $memberSpecification)
{
Write-Verbose -Message "Adding new dynamic member {$($member.Id)}"
$url = $Global:MSCloudLoginConnectionProfile.MicrosoftGraph.ResourceUrl + "beta/$($member.Type)/$($member.Id)"
$memberBodyParam = @{
$url = $Global:MSCloudLoginConnectionProfile.MicrosoftGraph.ResourceUrl + "v1.0/$($member.Type)/$($member.Id)"
'@odata.id' = $url
}

Expand Down Expand Up @@ -663,8 +647,8 @@ function Set-TargetResource
{
Write-Verbose -Message "AdministrativeUnit {$DisplayName} Adding member {$($diff.Identity)}, type {$($diff.Type)}"

$url = $Global:MSCloudLoginConnectionProfile.MicrosoftGraph.ResourceUrl + "beta/$memberType/$($memberObject.Id)"
$memberBodyParam = @{
$url = $Global:MSCloudLoginConnectionProfile.MicrosoftGraph.ResourceUrl + "v1.0/$memberType/$($memberObject.Id)"
'@odata.id' = $url
}
New-MgBetaDirectoryAdministrativeUnitMemberByRef -AdministrativeUnitId ($currentInstance.Id) -BodyParameter $memberBodyParam | Out-Null
Expand Down Expand Up @@ -895,7 +879,7 @@ function Test-TargetResource
$CurrentValues = Get-TargetResource @PSBoundParameters
$ValuesToCheck = ([Hashtable]$PSBoundParameters).clone()

if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure)
if ($CurrentValues.Ensure -ne $Ensure)
{
Write-Verbose -Message "Test-TargetResource returned $false - Ensure not the same"
return $false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ function Get-TargetResource

$nullReturn = $PSBoundParameters
$nullReturn.Ensure = 'Absent'
$AADApp = $null
try
{
try
Expand Down Expand Up @@ -212,7 +213,7 @@ function Get-TargetResource
TenantId = $TenantId
ApplicationSecret = $ApplicationSecret
CertificateThumbprint = $CertificateThumbprint
Managedidentity = $ManagedIdentity.IsPresent
ManagedIdentity = $ManagedIdentity.IsPresent
}
Write-Verbose -Message "Get-TargetResource Result: `n $(Convert-M365DscHashtableToString -Hashtable $result)"
return $result
Expand Down Expand Up @@ -799,6 +800,7 @@ function Test-TargetResource
}
else
{
$driftedParams = @{}
if ($Permissions.Length -gt 0)
{
Write-Verbose -Message 'No Permissions exist for the current Azure AD App, but permissions were specified for desired state'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ function Test-TargetResource
$CurrentValues = Get-TargetResource @PSBoundParameters
$ValuesToCheck = ([Hashtable]$PSBoundParameters).clone()

if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure)
if ($CurrentValues.Ensure -ne $Ensure)
{
Write-Verbose -Message "Test-TargetResource returned $false"
return $false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ function Test-TargetResource
$CurrentValues = Get-TargetResource @PSBoundParameters
$ValuesToCheck = ([Hashtable]$PSBoundParameters).clone()

if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure)
if ($CurrentValues.Ensure -ne $Ensure)
{
Write-Verbose -Message "Test-TargetResource returned $false"
return $false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ function Test-TargetResource
$CurrentValues = Get-TargetResource @PSBoundParameters
$ValuesToCheck = ([Hashtable]$PSBoundParameters).clone()

if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure)
if ($CurrentValues.Ensure -ne $Ensure)
{
Write-Verbose -Message "Test-TargetResource returned $false"
return $false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ function Test-TargetResource
$CurrentValues = Get-TargetResource @PSBoundParameters
$ValuesToCheck = ([Hashtable]$PSBoundParameters).clone()

if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure)
if ($CurrentValues.Ensure -ne $Ensure)
{
Write-Verbose -Message "Test-TargetResource returned $false"
return $false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ function Test-TargetResource
$CurrentValues = Get-TargetResource @PSBoundParameters
$ValuesToCheck = ([Hashtable]$PSBoundParameters).clone()

if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure)
if ($CurrentValues.Ensure -ne $Ensure)
{
Write-Verbose -Message "Test-TargetResource returned $false"
return $false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ function Test-TargetResource
$CurrentValues = Get-TargetResource @PSBoundParameters
$ValuesToCheck = ([Hashtable]$PSBoundParameters).clone()

if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure)
if ($CurrentValues.Ensure -ne $Ensure)
{
Write-Verbose -Message "Test-TargetResource returned $false"
return $false
Expand Down
Loading
Loading