Get-EntraBetaApplicationPolicy

Gets an application policy.

Syntax

Get-EntraBetaApplicationPolicy
   -Id <String> 
   [<CommonParameters>]

Description

The Get-EntraBetaApplicationPolicy cmdlet gets a Microsoft Entra ID application policy.

Examples

Example 1: Get an application policy

Connect-Entra -Scopes 'Application.ReadWrite.All'
Get-EntraBetaApplicationPolicy -Id 'aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb'

Definition                                                                                       DeletedDateTime Description DisplayName Id
----------                                                                                       --------------- ----------- ----------- --
{{"activityBasedTimeoutPolicies":{"AlternateLoginIDLookup":true, "IncludedUserIds":["UserID"]}}}                             NewUpdated  aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb

This command gets the specified application policy.

  • -Id Parameter Specifies the ID of the application for which you need to retrieve the policy.

Parameters

-Id

The ID of the application for which you need to retrieve the policy.

Type:System.String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False