Edit

Share via


Remove-EntraBetaObjectSetting

Deletes settings in Microsoft Entra ID.

Syntax

Default (Default)

Remove-EntraBetaObjectSetting

    -Id <String>
    -TargetType <String>
    -TargetObjectId <String>
    [<CommonParameters>]

Description

The Remove-EntraBetaObjectSetting cmdlet removes object settings in Microsoft Entra ID.

Examples

Example 1: Removes object settings

Connect-Entra -Scopes 'Directory.Read.All'
$params = @{
    TargetType = 'Groups'
    TargetObjectId = 'bbbbbbbb-1111-2222-3333-cccccccccccc'
    Id = 'aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb'
}
Remove-EntraBetaObjectSetting @params

This example removes object settings from Microsoft Entra ID

  • -TargetType Parameter specifies the target type.
  • -TargetObjectId Parameter specifies the ID of the target object.
  • -Id Parameter specifies the ID of a settings object.

Parameters

-Id

Specifies the 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

-TargetObjectId

Specifies the object ID of the target.

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

-TargetType

Specifies the target type.

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.