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.1204.1 #5513

Merged
merged 116 commits into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
94a505d
Draft module iOS VPN
dannyKBjj Nov 11, 2024
16d85b2
Working on unit tests
dannyKBjj Nov 25, 2024
a827cf3
Initial module. Adds support for iOS trusted root certs
dannyKBjj Nov 26, 2024
12e73af
Update MSFT_IntuneTrustedRootCertificateIOS.psm1
dannyKBjj Nov 26, 2024
0676e6b
Deleted unwanted localhost.mof
dannyKBjj Nov 26, 2024
5a81fa9
Update MSFT_IntuneTrustedRootCertificateIOS.psm1
dannyKBjj Nov 26, 2024
d594946
Merge branch 'Dev' into MSFT_IntuneTrustedRootCertificateIOS
dannyKBjj Nov 27, 2024
58bbebc
Initial release
dannyKBjj Nov 27, 2024
5aab37b
Update MSFT_IntuneTrustedRootCertificateIOS.psm1
dannyKBjj Nov 27, 2024
b5fa576
Changed line 94 as requested
dannyKBjj Nov 27, 2024
1fcbc2b
All files now UTF-8
dannyKBjj Nov 27, 2024
d392aa1
All files now UTF-8
dannyKBjj Nov 27, 2024
d2c810b
Replaced tabs with spaces as requested
dannyKBjj Nov 27, 2024
069b23e
Replaced tabs with spaces as requested.
dannyKBjj Nov 27, 2024
b43eabf
Latest fixes
dannyKBjj Nov 27, 2024
bef2496
Update MSFT_IntuneTrustedRootCertificateIOS.psm1
dannyKBjj Nov 27, 2024
e1cb1e6
Corrected assignments repository
dannyKBjj Nov 27, 2024
9a6f116
Merge branch 'Dev' into MSFT_IntuneTrustedRootCertificateIOS
dannyKBjj Nov 27, 2024
234cf56
corrected curly bracket formatting on line 94
dannyKBjj Nov 27, 2024
5d738a0
Corrected bracket alignment on line 94
dannyKBjj Nov 27, 2024
e174bbc
Added Unreleased section
ykuijs Nov 28, 2024
4a0ae21
Merge pull request #5479 from ykuijs:Dev
ykuijs Nov 28, 2024
794699e
Merge branch 'Dev' into MSFT_IntuneTrustedRootCertificateIOS
ykuijs Nov 28, 2024
b6fcd44
Merge pull request #5467 from dannyKBjj/MSFT_IntuneTrustedRootCertifi…
ykuijs Nov 28, 2024
976e23b
Updated Resources and Cmdlet documentation pages
NikCharlebois Nov 28, 2024
11ef218
Updated Schema Definition
NikCharlebois Nov 28, 2024
811e230
Updated {Create} Intune Integration Tests
NikCharlebois Nov 28, 2024
a339be3
Update MSFT_IntuneVPNConfigurationPolicyIOS.psm1
dannyKBjj Nov 28, 2024
e2d629d
Implement default formatting
ykuijs Nov 28, 2024
5d42230
Implement default formatting
ykuijs Nov 28, 2024
a18fb0c
Merge branch 'Dev' of https://github.com/ykuijs/Microsoft365DSC into Dev
ykuijs Nov 28, 2024
37014c1
Add separate check for strings
FabienTschanz Nov 25, 2024
4090f74
Update condition check and expanded usage
FabienTschanz Nov 25, 2024
2e5ba30
Update value to be of correct type and fix test
FabienTschanz Nov 25, 2024
e19a2ac
Merge pull request #5463 from FabienTschanz/feat/string-comparison-im…
ykuijs Nov 28, 2024
838be96
removed tabs
dannyKBjj Nov 28, 2024
2e27c18
resaved everything as UTF-8
dannyKBjj Nov 28, 2024
7b0074e
Fixing Examples
NikCharlebois Nov 28, 2024
b6eced2
Merge pull request #5482 from NikCharlebois/MSFT_AADFilteringPolicyRu…
NikCharlebois Nov 28, 2024
327d97e
Updated Resources and Cmdlet documentation pages
NikCharlebois Nov 28, 2024
ffc3b57
Updated {Create} EXO Integration Tests
NikCharlebois Nov 28, 2024
3297189
Updated {Update} EXO Integration Tests
NikCharlebois Nov 28, 2024
9f5f410
Updated {Update} EXO Integration Tests
NikCharlebois Nov 28, 2024
d1445a9
Warn on lowercase method name during script analyze
Nov 28, 2024
855dffd
Made Required Edits
dannyKBjj Nov 28, 2024
2602e4e
Fixed issue with TargetedMobileApps
dannyKBjj Nov 28, 2024
6995d50
Merge pull request #5480 from ykuijs/Dev
ykuijs Nov 29, 2024
d9aba5f
Updated Resources and Cmdlet documentation pages
NikCharlebois Nov 29, 2024
6fca37b
Merge pull request #5483 from FabienTschanz/feat/code-formatting-meth…
ykuijs Nov 29, 2024
9a412a9
Requested Remediations for PR
dannyKBjj Nov 29, 2024
5cf1b41
First draft of new resource
ykuijs Nov 26, 2024
951b394
Resource almost ready. Commiting to capture work
ykuijs Nov 27, 2024
77da4f6
Fixes #5296
ykuijs Nov 29, 2024
13f1997
ChangeLog updated, stop file removed.
dannyKBjj Nov 29, 2024
ef77bc8
Updated example
ykuijs Nov 29, 2024
ad38f9d
Feedback incorporated
ykuijs Nov 29, 2024
a7c4ca7
resaved utf8
dannyKBjj Nov 29, 2024
8a5583d
Merge branch 'Dev' into MSFT_IntuneVPNConfigurationPolicyIOS
dannyKBjj Nov 29, 2024
c021bc5
Update MSFT_IntuneVPNConfigurationPolicyIOS.psm1
dannyKBjj Nov 29, 2024
d79aa1b
Merge branch 'MSFT_IntuneVPNConfigurationPolicyIOS' of https://github…
dannyKBjj Nov 29, 2024
59dfb28
EXOTransportRule - Fixed Creation and Update Logic
NikCharlebois Nov 29, 2024
a3ce220
Update MSFT_IntuneAppProtectionPolicyAndroid.psm1
NikCharlebois Nov 29, 2024
8223040
Merge pull request #5485 from NikCharlebois/EXOTransportRule-fixes
NikCharlebois Nov 29, 2024
a237240
AADRoleManagementPolicyRule - Added Filter Logic for Export
NikCharlebois Nov 29, 2024
aad2ad1
AADRoleManagementPolicyRule - Added Filter Logic for Export
NikCharlebois Nov 29, 2024
8fbab39
Rename to EXOTeamProtectionPolicy
ykuijs Nov 29, 2024
8340d4d
Merge branch 'Dev' into TeamsProtectionPolicy
ykuijs Nov 29, 2024
7014b0e
Merge pull request #5490 from NikCharlebois/AADRoleManagementPolicyRu…
NikCharlebois Nov 29, 2024
8cc9edc
Merge branch 'Dev' into TeamsProtectionPolicy
ykuijs Nov 29, 2024
cbe4758
Merge pull request #5484 from ykuijs/TeamsProtectionPolicy
ykuijs Nov 29, 2024
6025a64
Updated Resources and Cmdlet documentation pages
NikCharlebois Nov 29, 2024
14d8180
Updated Schema Definition
NikCharlebois Nov 29, 2024
dd88a4b
Updated {Update} EXO Integration Tests
NikCharlebois Nov 29, 2024
a945bad
Update MSFT_AADRoleManagementPolicyRule.psm1
NikCharlebois Nov 29, 2024
230b0fc
Merge pull request #5491 from NikCharlebois/AADRoleManagementPolicyRu…
NikCharlebois Nov 29, 2024
f675592
Added Confirm false
kasaxena5 Dec 2, 2024
224b4ec
Added Change Logs
kasaxena5 Dec 2, 2024
7d8b602
AADAccessReviewDefinition - Fixing Accepted Odata.Type
NikCharlebois Dec 2, 2024
9f71985
Merge pull request #5495 from NikCharlebois/Various-Fixes
NikCharlebois Dec 2, 2024
35da917
Updated Resources and Cmdlet documentation pages
NikCharlebois Dec 2, 2024
632f961
EXOManagementRoleAssignment - Drift Detection Fix
NikCharlebois Dec 2, 2024
55a0cab
Corrected ChangeLog.md
dannyKBjj Dec 2, 2024
4de808d
Fixes Unit Tests
NikCharlebois Dec 2, 2024
aee4197
Merge pull request #5496 from NikCharlebois/Dev
NikCharlebois Dec 2, 2024
aab89b5
Merge branch 'Dev' into fixesForPS7
NikCharlebois Dec 2, 2024
c85448c
Merge pull request #5386 from dannyKBjj/MSFT_IntuneVPNConfigurationPo…
ykuijs Dec 3, 2024
734c310
Updated Resources and Cmdlet documentation pages
NikCharlebois Dec 3, 2024
5ce1803
Updated Schema Definition
NikCharlebois Dec 3, 2024
ebab8aa
Updated {Create} Intune Integration Tests
NikCharlebois Dec 3, 2024
9064f84
SPORetentionLabelsSettings - Initial Release
NikCharlebois Dec 3, 2024
9a6a2b4
Merge pull request #5497 from NikCharlebois/SPORetentionLabelsSettings
NikCharlebois Dec 3, 2024
e01d98d
Updated Resources and Cmdlet documentation pages
NikCharlebois Dec 3, 2024
4494e1f
Updated Schema Definition
NikCharlebois Dec 3, 2024
842e806
AADActivityBasedTimeout - added support for AccessTokens
NikCharlebois Dec 3, 2024
7eedad7
Merge pull request #5499 from NikCharlebois/Dev
NikCharlebois Dec 3, 2024
d19ec61
Updated Resources and Cmdlet documentation pages
NikCharlebois Dec 3, 2024
3c61719
Updated Schema Definition
NikCharlebois Dec 3, 2024
8f29b4c
AADIdentityAPIConnector - Fix Export Logic
NikCharlebois Dec 4, 2024
a0a78ca
Merge pull request #5493 from kasaxena5/fixesForPS7
NikCharlebois Dec 4, 2024
b38e9e1
Merge pull request #5504 from NikCharlebois/AADIdentityAPIConnector
NikCharlebois Dec 4, 2024
2fea7da
Fix policy retrieval
ricmestre Dec 4, 2024
ce14c62
EXOServicePrincipal
NikCharlebois Dec 4, 2024
560d144
Update MSFT_EXOServicePrincipal.psm1
NikCharlebois Dec 4, 2024
a3c4f63
Merge pull request #5507 from NikCharlebois/AADIdentityAPIConnector
NikCharlebois Dec 4, 2024
58f350f
fix for targetedMobileApps
dannyKBjj Dec 4, 2024
c74177c
Merge branch 'Dev' into fix5505
NikCharlebois Dec 4, 2024
bca2a0e
Merge pull request #5474 from dannyKBjj/IntuneTrustedRootCertificateA…
ykuijs Dec 4, 2024
336f754
Merge pull request #5506 from ricmestre/fix5505
ykuijs Dec 4, 2024
809dcee
Updated Resources and Cmdlet documentation pages
NikCharlebois Dec 4, 2024
c3ae097
Updated Schema Definition
NikCharlebois Dec 4, 2024
8a79f80
Merge pull request #5509 from dannyKBjj/MSFT_IntuneVPNConfigurationPo…
ykuijs Dec 4, 2024
45ede5e
Updated Resources and Cmdlet documentation pages
NikCharlebois Dec 4, 2024
44d862b
Updated {Create} Intune Integration Tests
NikCharlebois Dec 4, 2024
696882b
Updated Schema Definition
NikCharlebois Dec 4, 2024
e2a88d8
Release v1.24.1204.1
ykuijs Dec 4, 2024
eb5bdb6
Merge pull request #5512 from ykuijs/Dev
ykuijs Dec 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
67 changes: 67 additions & 0 deletions .vscode/CustomRules/UseCorrectMethodCasing.psm1
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<#
.SYNOPSIS
Use correct method casing in the method name.
.DESCRIPTION
Methods called on an object should use the correct casing (PascalCase) for the method name.
.EXAMPLE
$MyInvocation.MyCommand.ModuleName.Replace('MSFT_', '')
$MyInvocation.MyCommand.ModuleName.replace('MSFT_', '')
The first example is correct, the second example is incorrect.
#>

function Use-CorrectMethodCasing {
[CmdletBinding()]
[OutputType([Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic.DiagnosticRecord[]])]
param (
[Parameter(Mandatory = $true)]
[ValidateNotNullOrEmpty()]
[System.Management.Automation.Language.ScriptBlockAst]
$ScriptBlockAst
)

Process
{
$results = @()
try
{
[System.Management.Automation.Language.InvokeMemberExpressionAst[]]$memberAst = $ScriptBlockAst.FindAll({$Args[0].GetType().Name -eq 'InvokeMemberExpressionAst'}, $true)

foreach ($member in $memberAst)
{
if ($member.Member.Value -cmatch '^[a-z]') {
[int]$startLineNumber = $member.Extent.StartLineNumber
[int]$endLineNumber = $member.Extent.EndLineNumber
[int]$startColumnNumber = $member.Extent.StartColumnNumber
[int]$endColumnNumber = $member.Extent.EndColumnNumber
[string]$file = $MyInvocation.MyCommand.Definition

$correctedString = $member.Member.Value.Substring(0, 1).ToUpper() + $member.Member.Value.Substring(1)
[string]$correction = $member.Extent.Text.Replace($member.Member.Value, $correctedString)
[string]$optionalDescription = "Replace '$($member.Member.Value)' with '$($member.Member.Value.Substring(0, 1).ToUpper() + $member.Member.Value.Substring(1))'."
$objParams = @{
TypeName = 'Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic.CorrectionExtent'
ArgumentList = $startLineNumber, $endLineNumber, $startColumnNumber,
$endColumnNumber, $correction, $file, $optionalDescription
}
$correctionExtent = New-Object @objParams
$suggestedCorrections = New-Object System.Collections.ObjectModel.Collection[$($objParams.TypeName)]
$suggestedCorrections.Add($correctionExtent) | Out-Null

$results += [Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic.DiagnosticRecord]@{
Message = 'Use correct method casing in the method name.'
Extent = $member.Extent
RuleName = $PSCmdlet.MyInvocation.InvocationName
Severity = 'Warning'
SuggestedCorrections = $suggestedCorrections
}
}
}
}
catch
{
$PSCmdlet.ThrowTerminatingError( $_ )
}

return $results
}
}
16 changes: 12 additions & 4 deletions .vscode/ScriptAnalyzerSettings.psd1
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
@{
Severity = @('Error',
'Warning')
ExcludeRules = @('PSMissingModuleManifestField',
Severity = @(
'Error',
'Warning'
)
ExcludeRules = @(
'PSMissingModuleManifestField',
'PSUseShouldProcessForStateChangingFunctions',
'PSAvoidGlobalVars',
'PSAvoidUsingWriteHost')
'PSAvoidUsingWriteHost'
)
CustomRulePath = @(
'.vscode\CustomRules\UseCorrectMethodCasing.psm1'
)
IncludeDefaultRules = $true
}
46 changes: 46 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,47 @@
# Change log for Microsoft365DSC

# 1.24.1204.1

* All resources
* Applying project default formatting on all files, to improve
reading and troubleshooting.
* AADAccessReviewDefinition
* Added support for #microsoft.graph.accessReviewInactiveUsersQueryScope in odatatype.
* AADActivityBasedTimeoutPolicy
* Added support for AccessTokens.
* AADClaimsMappingPolicy
* Fixed policy retrieval
FIXES [#5505](https://github.com/microsoft/Microsoft365DSC/issues/5505)
* AADIdentityAPIConnector
* Changed the export logic to export passwords as credential objects instead of string.
* AADRoleManagementPolicyRule
* Added the logic to handle filters in the Export logic flow.
* EXOAuthenticationPolicyAssignment
* Added $confirm flag to the Set-TargetResource function for PowerShell 7 compatibility.
* EXOClientAccessRule
* Added $confirm flag to the Set-TargetResource function for PowerShell 7 compatibility.
* EXOManagementRoleAssignment
* Changed logic to detect drift.
* EXOServicePrincipal
* Removed ObjectID from the return of the Get-TargetResource method.
* EXOTeamsProtectionPolicy
* Initial release
FIXES [#5296](https://github.com/microsoft/Microsoft365DSC/issues/5296)
* EXOTransportRule
* Fixed conditional logic for creation and update.
* IntuneTrustedRootCertificateIOS
* Initial release
* IntuneVPNConfigurationPolicyIOS
* Initial release.
* M365DSCRuleEvaluation
* Only attempt to pass AccessTokens if specified.
* SPORetentionLabelsSettings
* Initial release.
* MISC
* M365DSCDRGUtil
* Add separate check for strings with ordinal comparison and standardized line breaks.


# 1.24.1127.1

* AAD
Expand Down Expand Up @@ -36,6 +78,10 @@
* Improve verbose output and fix copy-pasted variables.
* IntuneRoleScopeTag
* Initial release.
* IntuneTrustedRootCertificateAndroidDeviceOwner
* Initial release.
* IntuneTrustedRootCertificateAndroidEnterprise
* Initial release.
* TeamsUserPolicyAssignment
* Added support for the Global policies.
* TeamsUpgradePolicy
Expand Down
Loading
Loading