The format is based on and uses the types of changes according to Keep a Changelog, and this project adheres to Semantic Versioning.
For older change log history see the historic changelog.
- ADManagedServiceAccount
- New parameter TrustedForDelegation for Kerberos Delegation (issue #717).
- ADDomainController
- New parameter UseExistingAccount for attaching a server to an existing RODC account. (issue #711).
- ADReadOnlyDomainControllerAccount
- New resource for pre-creating Read Only Domain Controller accounts. (issue #40) (issue #711).
- ActiveDirectoryDsc.Common
- Fixed Get-DomainControllerObject to allow checking non-local domain controller accounts.
- ADObjectPermissionEntry
- Fixed 'The object name has a bad syntax' error when using path that requires escaping. (issue #675).
- Update build process to pin GitVersion to 5.* to resolve errors (gaelcolas/Sampler#477).
- ADDomainController
- Added support for specifying an RODC delegated administrator account using DelegatedAdministratorAccountName.
- ADDomainController
- Do not allow use of AllowPasswordReplicationAccountName or DenyPasswordReplicationAccountName unless ReadOnlyReplica is also set.
- ADServicePrincipalName
- Add check to Set function to cover if
Invoke-DscResource -Method Set
is run and no changes are required. (issue #520)
- Add check to Set function to cover if
- VS Code
- Add recommended extensions (issue #622)
- ADDomain
- Added support for creating a Tree domain via the DomainType field (issue #689) (issue #692).
- Move test pipeline to Windows PowerShell. The hosted agent was updated
to PowerShell 7.4.1. That broke the ASKDSKey unit tests that has a helper
function (
Copy-ArrayObjects
) that serializes objects. - ADSRootKey
- Resolved 'String was not recognized as a valid DateTime' in non-US cultures (issue #702).
- ActiveDirectoryDsc
- There was a 'build.ps1' file under the source folder than are no longer required for ModuleBuilder to work.
- ActiveDirectoryDsc
- Move CI/CD build step to using build worker image
windows-latest
.
- Move CI/CD build step to using build worker image
- ActiveDirectoryDsc.Common
- Created Get-DomainObject to wrap Get-ADDomain with common retry logic.
- ADDomainController
- Refactored to use Get-DomainObject (issue #673).
- Refactored Unit Tests.
- ADDomain
- Refactored to use Get-DomainObject.
- Refactored Unit Tests.
- ADOrganizationalUnit
- Added DomainController Parameter.
- ADReplicationSiteLink
- Allow OptionChangeNotification, OptionTwoWaySync and OptionDisableCompression to be updated even if ReplicationFrequencyInMinutes is not set (issue #637).
- ActiveDirectoryDsc
- Updated Pipeline to Ubuntu 18.04 from Ubuntu 16.04 (issue #667)
- Update pipeline files to latest Sampler (issue #680).
- ADGroup
- Refactored Module.
- Refactored Unit and Integration Tests.
- ADManagedServiceAccount
- Added support for setting a common name to a Managed Service Account for a longer more friendly name than the SAM account name which has a 15 character limit. (issue #644).
- ADGroup
- Added support for managing AD group membership of Foreign Security Principals. This involved completely
refactoring group membership management to utilize the
Set-ADGroup
cmdlet and referencing SID values. (issue #619).
- Added support for managing AD group membership of Foreign Security Principals. This involved completely
refactoring group membership management to utilize the
- ADFineGrainedPasswordPolicy
- New resource for creating and updating Fine Grained Password Policies for AD principal subjects. (issue #584).
- ActiveDirectoryDsc
- Renamed
master
branch tomain
(issue #641). - Migrated to DscResource.Common Module.
- Fixed the pipeline paths trigger.
- Migrated HQRM and Unit Tests to use PowerShell 7 in the CI pipeline.
- Changed CI pipeline to use PublishPipelineArtifact & DownloadPipelineArtifact.
- Removed redundant common functions
Resolve-DomainFQDN
andSet-DscADComputer
. - Added ActiveDirectoryDsc.Common Module markdown help.
- Updated the
DscResource.Common
module tov0.9.0
.
- Renamed
- ADDomainTrust
- Move
Get-ActiveDirectoryDomain
andGet-ActiveDirectoryForest
functions into theActiveDirectoryDsc.Common
module.
- Move
- ADReplicationSiteLink
- Refactor Test-TargetResource Function.
- ActiveDirectoryDsc
- The component
gitversion
that is used in the pipeline was wrongly configured when the repository moved to the new default branchmain
. It no longer throws an error when using newer versions of GitVersion. - Fixed the CI pipeline by pinning the
Pester
module tov4.10.1
- Restored importing the
DscResource.Common
module import in theActiveDirectoryDsc.Common
module that was incorrectly disabled. (issue #612).
- The component
- ADDomainController
- Fixed
Test-TargetResource
error when theReadOnlyReplica
property is set totrue
(issue #611).
- Fixed
- ADGroup
- Fixed issue with retrieving group members using
Get-ADGroupMember
when members are from another domain by adding and using the 'Members' property fromGet-ADGroup
and sending the resulting DistinguishedName toGet-ADObject
whenGet-ADGroupMember
throws a specific error. (issue #616).
- Fixed issue with retrieving group members using
- ADOrganizationalUnit
- Removed Credential and RestoreFromRecycleBin from the list of desired values to compare when passed (issue #624).
- Allows use of apostrophe or single quote in Name attribute (issue #674).
- ADReplicationSiteLink
- Fixed setting options after the resource is initially created (issue #605).
- ADKDSKey
- The resource did not work due to a non-working date conversion. (issue #648).
- Retracted release.
- ActiveDirectoryDsc
- The regular expression for
minor-version-bump-message
in the fileGitVersion.yml
was changed to only raise minor version when the commit message contain the wordadd
,adds
,minor
,feature
, orfeatures
(issue #588). - Rename folder 'Tests' to folder 'tests' (lower-case).
- Moved oldest changelog details to historic changelog.
- The regular expression for
- ADDomain
- Added additional Get-ADDomain retry exceptions (issue #581).
- ADUser
- Fixed PasswordAuthentication parameter handling (issue #582).
- ADReplicationSiteLink
- Fix Test-TargetResource when Ensure is Absent and other attributes are set (issue #593).
- ActiveDirectoryDsc
- Only run CI pipeline on branch
master
when there are changes to files inside thesource
folder.
- Only run CI pipeline on branch
- ActiveDirectoryDsc
- Added Codecov.io support.
- Fixed miscellaneous spelling errors.
- Added Strict-Mode v1.0 to all unit tests.
- ADDomain
- Added integration tests (issue #345).
- ADGroup
- Added support for Managed Service Accounts (issue #532).
- ADForestProperties
- Added TombstoneLifetime property (issue #302).
- Added Integration tests (issue #349).
- ADForestProperties
- Fixed ability to clear
ServicePrincipalNameSuffix
andUserPrincipalNameSuffix
(issue #548).
- Fixed ability to clear
- WaitForADDomain
- Fixed
Find-DomainController
to correctly handle an exception thrown when a domain controller is not ready (issue #530).
- Fixed
- ADObjectPermissionEntry
- Fixed issue where Get-DscConfiguration / Test-DscConfiguration throw an exception when target object path does not yet exist (issue #552).
- Fixed issue where Get-TargetResource throw an exception,
Cannot find drive. A drive with the name 'AD' does not exist
, when running soon after domain controller restart (issue #547).
- ADOrganizationalUnit
- Fixed issue where Get-DscConfiguration/Test-DscConfiguration throws an exception when parent path does not yet exist (issue #553).
- ADReplicationSiteLink
- Fixed issue creating a Site Link with options specified (issue #571).
- ADDomain
- Added additional Get-ADDomain retry exceptions (issue #574).
- ActiveDirectoryDsc
- BREAKING CHANGE: Required PowerShell version increased from v4.0 to v5.0
- Updated Azure Pipeline Windows image (issue #551).
- Updated license copyright (issue #550).
- ADDomain
- Changed Domain Install Tracking File to use NetLogon Registry Test. (issue #560).
- Updated the Get-TargetResource function with the following:
- Removed unused parameters.
- Removed unnecessary domain membership check.
- Removed unneeded catch exception blocks.
- Changed Get-ADDomain and Get-ADForest to use localhost as the server.
- Improved Try/Catch blocks to only cover cmdlet calls.
- Simplified retry timing loop.
- Refactored unit tests.
- Updated NewChildDomain example to clarify the contents of the credential parameter and use Windows 2016 rather than 2012 R2.
- ADDomainController
- Updated the Get-TargetResource function with the following:
- Removed unused parameters.
- Added IsDnsServer read-only property (issue #490).
- Updated the Get-TargetResource function with the following:
- ADForestProperties
- Refactored unit tests.
- ADReplicationSiteLink
- Refactored the
Set-TargetResource
function so that properties are only set if they have been changed. - Refactored the resource unit tests.
- Added quotes to all the variables in the localised string data.
- Refactored the
- ADOrganizationalUnit
- Replaced throws with
New-InvalidOperationException
. - Refactored
Get-TargetResource
to not reference properties of a$null
object - Fixed organization references to organizational.
- Refactored
Test-TargetResource
to useCompare-ResourcePropertyState
common function. - Reformatted code to keep line lengths to less than 120 characters.
- Removed redundant
Assert-Module
andGet-ADOrganizationalUnit
function calls fromSet-TargetResource
. - Wrapped
Set-ADOrganizationalUnit
andRemove-ADOrganizationalUnit
with try/catch blocks and used common exception function. - Added
DistinguishedName
read-only property. - Refactored unit tests.
- Replaced throws with
- ADUser
- Improve Try/Catch blocks to only cover cmdlet calls.
- Move the Test-Password function to the ActiveDirectoryDsc.Common module and add unit tests.
- Reformat code to keep line lengths to less than 120 characters.
- Fix Password parameter processing when PasswordNeverResets is $true.
- Remove unnecessary Enabled parameter check.
- Remove unnecessary Clear explicit parameter check.
- Add check to only call Set-ADUser if there are properties to change.
- Refactored Unit Tests - (issue #467)
- ADServicePrincipalName
- Added Integration tests (issue #358).
- ADManagedServiceAccount
- Added Integration tests.
- ADKDSKey
- Added Integration tests (issue #351).
- ADManagedServiceAccount
- KerberosEncryptionType property added. (issue #511).
- BREAKING CHANGE: AccountType parameter ValidateSet changed from ('Group', 'Single') to ('Group', 'Standalone') - Standalone is the correct terminology. Ref: Service Accounts. (issue #515).
- BREAKING CHANGE: AccountType parameter default of Single removed. - Enforce positive choice of account type.
- BREAKING CHANGE: MembershipAttribute parameter ValidateSet member SID changed to ObjectSid to match result property of Get-AdObject. Previous code does not work if SID is specified.
- BREAKING CHANGE: AccountTypeForce parameter removed - unnecessary complication.
- BREAKING CHANGE: Members parameter renamed to ManagedPasswordPrincipals - to closer match Get-AdServiceAccount result property PrincipalsAllowedToRetrieveManagedPassword. This is so that a DelegateToAccountPrincipals parameter can be added later.
- Common Compare-ResourcePropertyState function used to replace function specific Compare-TargetResourceState and code refactored. (issue #512).
- Resource unit tests refactored to use nested contexts and follow the logic of the module.
- ActiveDirectoryDsc
- Updated PowerShell help files.
- Updated Wiki link in README.md.
- Remove verbose parameters from unit tests.
- Fix PowerShell script file formatting and culture string alignment.
- Add the
pipelineIndentationStyle
setting to the Visual Studio Code settings file. - Remove unused common function Test-DscParameterState (issue #522).
- ActiveDirectoryDsc
- Fix tests ErrorAction on DscResource.Test Import-Module.
- ADObjectPermissionEntry
- Updated Assert-ADPSDrive with PSProvider Checks (issue #527).
- ADReplicationSite
- Fixed incorrect evaluation of site configuration state when no description is defined (issue #534).
- ADReplicationSiteLink
- Fix RemovingSites verbose message (issue #518).
- ADComputer
- Fixed the SamAcountName property description (issue #529).