Skip to content

Latest commit

 

History

History
165 lines (122 loc) · 4.02 KB

Get-AzureADApplication.md

File metadata and controls

165 lines (122 loc) · 4.02 KB
external help file Module Name online version schema
Microsoft.Open.AzureAD16.Graph.PowerShell.dll-Help.xml
AzureAD
2.0.0

Get-AzureADApplication

SYNOPSIS

Gets an application.

SYNTAX

GetQuery (Default)

Get-AzureADApplication [-All <Boolean>] [-Top <Int32>] [-Filter <String>] [<CommonParameters>]

GetVague

Get-AzureADApplication [-SearchString <String>] [-All <Boolean>] [<CommonParameters>]

GetById

Get-AzureADApplication -ObjectId <String> [-All <Boolean>] [<CommonParameters>]

DESCRIPTION

The Get-AzureADApplication cmdlet gets an Azure Active Directory application.

EXAMPLES

Example 1: Get an application by display name

PS C:\>Get-AzureADApplication -Filter "DisplayName eq 'TestName'"

ObjectId                             AppId                                DisplayName
--------                             -----                                -----------
3ddd22e7-a150-4bb3-b100-e410dea1cb84 36ee4c6c-0812-40a2-b820-b22ebd02bce3 TestName

This command gets an application by its display name.

Example 2: Get an application by ID

PS C:\>Get-AzureADApplication -Filter "AppId eq '421599eb-eed7-4988-9b31-02b43a4d37b8'"

ObjectId                             AppId                                DisplayName     
--------                             -----                                -----------
ed192e92-84d4-4baf-997d-1e190a81f28e 421599eb-eed7-4988-9b31-02b43a4d37b8 MyNewApp

This command gets an application by its ID.

Retrieve an application by identifierUris

Get-AzureADApplication -Filter "identifierUris/any(uri:uri eq 'http://wingtips.wingtiptoysonline.com')"

ObjectId                             AppId                                DisplayName     
--------                             -----                                -----------
9393a401-bc8a-41a9-8f20-6b073d247b17 29ee07a3-df6e-4660-a32f-918ea550f235 Wingtips Online

This command gets an application by its identifierUris.

PARAMETERS

-All

If true, return all applications. If false, return the number of objects specified by the Top parameter

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-Filter

Specifies an oData v3.0 filter statement. This parameter controls which objects are returned.

Type: String
Parameter Sets: GetQuery
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-ObjectId

Specifies the ID of an application in the Microsoft Entra ID.

Type: String
Parameter Sets: GetById
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-SearchString

Specifies a search string.

Type: String
Parameter Sets: GetVague
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-Top

Specifies the maximum number of records to return.

Type: Int32
Parameter Sets: GetQuery
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

NOTES

See the migration guide for Get-AzureADApplication to the Microsoft Graph PowerShell.

INPUTS

OUTPUTS

RELATED LINKS

New-AzureADApplication

Remove-AzureADApplication

Set-AzureADApplication