Microsoft365DSC icon indicating copy to clipboard operation
Microsoft365DSC copied to clipboard

AADDomain resource

Open YenNantes opened this issue 1 year ago • 0 comments

Description

I'm looking for a way to audit/configure the Entra ID password expiration and expiration warning settings I have not found any existing resource doing this. The following cmdlets from Graph PS could be used to read/write this setting: Get-mgdomain/Update-mgdomain

Proposed properties

For my need the following properties are required:

  • "PasswordNotificationWindowInDays"
  • "PasswordValidityPeriodInDays"

But the Get-mgdomain cmdlet includes other properties that probably worth to be added: "AuthenticationType" "AvailabilityStatus" "DomainNameReferences" "FederationConfiguration" "Id" "IsAdminManaged" "IsDefault" "IsInitial" "IsRoot" "IsVerified" "Manufacturer" "Model" "ServiceConfigurationRecords" "State" "SupportedServices" "VerificationDnsRecords"

Special considerations or limitations

YenNantes avatar Jan 25 '24 13:01 YenNantes