Remove-EntraBetaDirectorySetting
Deletes a directory setting in Microsoft Entra ID.
Syntax
Default (Default)
Remove-EntraBetaDirectorySetting
-Id <String>
[<CommonParameters>]
Description
The Remove-EntraBetaDirectorySetting
cmdlet removes a directory setting from Microsoft Entra ID.
In delegated scenarios with work or school accounts, the signed-in user must be assigned a supported Microsoft Entra role or a custom role with the necessary permissions. The following least privileged roles are supported:
- Microsoft Entra Joined Device Local Administrator: Read basic properties on setting templates and settings.
- Directory Readers: Read basic properties on setting templates and settings.
- Global Reader: Read basic properties on setting templates and settings.
- Groups Administrator: Manage all group settings.
- Directory Writers: Manage all group settings.
- Authentication Policy Administrator: Update Password Rule Settings.
- User Administrator: Read basic properties on setting templates and settings.
Parameters
-Id
Specifies the object ID of a settings object in Microsoft Entra ID.
Parameter properties
Type: | System.String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.