Get-EntraBetaApplicationPolicy
Gets an application policy.
Syntax
Default (Default)
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.
Parameter properties
Type: | System.String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | ObjectId, ApplicationId |
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.