Those settings are managed via the so-called "directory settings/templates". To manage them via PowerShell, use the preview module (AzureADPreview) and the Get-AzureADDirectorySettingTemplate/New-AzureADDirectorySetting cmdlet.
Possibility of setting Password protection settings in azure AD via graph api/powershell
Ole Friis Nielsen
111
Reputation points
I'm looking for a way to change the settings for Password protection in azure via powershell/graph api/azure cli.
The settings I'm looking to change can be found in Azure AD -> Security -> Authentication methods -> Password protection.