Επεξεργασία

Κοινή χρήση μέσω


Get-AzureADApplicationOwner

Gets the owner of an application.

Syntax

Get-AzureADApplicationOwner
   -ObjectId <String>
   [-All <Boolean>]
   [-Top <Int32>]
   [<CommonParameters>]

Description

The Get-AzureADApplicationOwner cmdlet get an owner of a Microsoft Entra ID application.

Examples

Example 1: Get the owner of an application

PS C:\>Get-AzureADApplicationOwner -ObjectId "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb"

ObjectId                             ObjectType
--------                             ----------
c13dd34a-492b-4561-b171-40fcce2916c5 User

This command gets the owner of an application.

Parameters

-All

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

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-ObjectId

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

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

-Top

Specifies the maximum number of records to return.

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

Notes

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