Edit

Share via


Get-EntraBetaPolicyAppliedObject

Gets a policy-applied object from Microsoft Entra ID.

Syntax

Default (Default)

Get-EntraBetaPolicyAppliedObject

    -Id <String>
    [<CommonParameters>]

Description

The Get-EntraBetaPolicyAppliedObject cmdlet gets a policy-applied object from Microsoft Entra ID.

Examples

Example 1: Retrieve a policy-applied object

Connect-Entra -Scopes 'Application.Read.All', 'Policy.ReadWrite.ApplicationConfiguration'
Get-EntraBetaPolicyAppliedObject -Id 'bbbbbbbb-1111-2222-3333-cccccccccccc'
Id                                   DeletedDateTime
--                                   ---------------
aaaaaaaa-1111-1111-1111-000000000000
bbbbcccc-1111-dddd-2222-eeee3333ffff

This command retrieves policy-applied object from Microsoft Entra ID.

  • -Id Parameter specifies ID of the policy for which you want to find the objects.

Parameters

-Id

The ID of the policy for which you want to find the objects.

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.