Microsoft365DSC
Microsoft365DSC copied to clipboard
AADDomain resource
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"