Επεξεργασία

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


Get-AzureADUserCreatedObject

Get objects created by the user.

Syntax

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

Description

The Get-AzureADUserCreatedObject cmdlet gets objects created by a user in Azure Active Directory (AD).

Examples

Example 1: Get a user-created object

PS C:\>Get-AzureADUserCreatedObject -ObjectId "df19e8e6-2ad7-453e-87f5-037f6529ae16"

ObjectId                             ObjectType
--------                             ----------
f618e073-cda3-4fc7-b8bd-5ad63f19840f ServicePrincipal
ed70f968-38ec-48d6-ae58-decfe80bfd5f ServicePrincipal
35ab4659-f61c-4a75-98d2-ef1d04ac2095 ServicePrincipal
d0ce9d42-c943-43a1-a0b0-b1ded8d0ce3d ServicePrincipal

This command gets an object created by the specified user.

Parameters

-All

If true, return all objects created by this user. 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 (as a UPN or ObjectId) of a user in Azure AD.

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-AzureADUserCreatedObject to the Microsoft Graph PowerShell.