Remove-EntraBetaObjectSetting
Deletes settings in Microsoft Entra ID.
Syntax
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.
Type: | System.String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-TargetObjectId
Specifies the object ID of the target.
Type: | System.String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-TargetType
Specifies the target type.
Type: | System.String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |