Skip to content

Latest commit

 

History

History
96 lines (70 loc) · 2.87 KB

File metadata and controls

96 lines (70 loc) · 2.87 KB
title List agentIdentityBlueprintPrincipal createdObjects
description Returns the list of directory objects that were created by this agent identity blueprint principal.
author zallison22
ms.date 10/27/2025
ms.localizationpriority medium
ms.subservice entra-agent-id
doc_type apiPageType

List agentIdentityBlueprintPrincipal createdObjects

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Returns the list of directory objects that were created by this agent identity blueprint principal.

[!INCLUDE national-cloud-support]

Permissions

Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.

[!INCLUDE permissions-table]

[!INCLUDE rbac-agentid-apis-write]

HTTP request

GET /servicePrincipals/{id}/createdObjects

Optional query parameters

This method supports some of the OData query parameters to help customize the response. For general information, see OData query parameters.

Request headers

Name Description
Authorization Bearer {token}. Required. Learn more about authentication and authorization.

Request body

Don't supply a request body for this method.

Response

If successful, this method returns a 200 OK response code and a collection of directoryObject objects in the response body.

Examples

Request

The following example shows a request.

GET https://graph.microsoft.com/beta/servicePrincipals/{id}/microsoft.graph.agentIdentityBlueprint/createdObjects

Response

The following example shows the response.

Note: The response object shown here might be shortened for readability.

HTTP/1.1 200 OK
Content-Type: application/json

{
  "value": [
    {
      "@odata.type": "#microsoft.graph.directoryObject",
      "id": "a6c034b8-621b-dee3-6abb-52cbce801fe9",
      "deletedDateTime": null
    }
  ]
}