Objects

POST /{tenantID}/getObjectsByObjectIds

Gets the directory objects specified in a list of object IDs. You can also specify which resource collections (users, groups, etc.) should be searched by specifying the optional types parameter.

Request

  • Base URL
    https://graph.windows.net
  • Auth
    OAuth 2
    Implicithttps://login.microsoftonline.com/common/oauth2/authorize
    Scopesuser_impersonation

Path parameters

tenantIDstring required

The tenant ID.

Query parameters

api-versionstring required

Client API version.

Request body

objectIdsstring[]

The requested object IDs.

typesstring[]

The requested object types.

includeDirectoryObjectReferencesboolean

If true, also searches for object IDs in the partner tenant.

Response

OK. The operation was successful.

odata.nextLinkstring

The URL to get the next set of results.

Changes

No recorded changes to this operation across all 17 revisions of this API.