Edit

accessPackageResource resource type

Namespace: microsoft.graph

In Microsoft Entra entitlement management, an access package resource is a reference to a resource associated with an access package catalog for which an access package can be configured to provide access. This can be a group, an app, a SharePoint Online site, or an external application represented by customDataProvidedResource. To request an access package resource, or remove a resource from an access package, create an accessPackageResourceRequest.

Methods

Method Return Type Description
List accessPackageResource collection Retrieve a list of accessPackageResource objects in a catalog.
Refresh None Refresh the resource information from the originSystem.
List uploadSessions customDataProvidedResourceUploadSession collection Get a list of the upload sessions created on an accessPackageResource.
Create customDataProvidedResourceUploadSession customDataProvidedResourceUploadSession Create a new upload session on an accessPackageResource.
Delete customDataProvidedResourceUploadSession None Delete an upload session from an accessPackageResource.

Properties

Property Type Description
attributes accessPackageResourceAttribute collection Contains information about the attributes to be collected from the requestor and sent to the resource application.
createdDateTime DateTimeOffset The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.
description String A description for the resource.
displayName String The display name of the resource, such as the application name, group name or site name.
id String Read-only.
modifiedDateTime DateTimeOffset The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.
originId String The unique identifier of the resource in the origin system. For a Microsoft Entra group, this is the identifier of the group.
originSystem String The type of the resource in the origin system, such as SharePointOnline, AadApplication or AadGroup.

Relationships

Relationship Type Description
environment accessPackageResourceEnvironment Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand.
roles accessPackageResourceRole collection Read-only. Nullable. Supports $expand.
scopes accessPackageResourceScope collection Read-only. Nullable. Supports $expand.
uploadSessions customDataProvidedResourceUploadSession collection The upload sessions for uploading external access data to this resource through the Bring Your Own Data (BYOD) flow.

JSON representation

The following JSON representation shows the resource type.

{
   "attributes": [
    {
      "@odata.type": "microsoft.graph.accessPackageResourceAttribute"
    }
   ],
  "createdDateTime": "String (timestamp)",
  "description": "String",
  "displayName": "String",
  "id": "String (identifier)",
  "modifiedDateTime": "String (timestamp)",
  "originId": "String",
  "originSystem": "String"
}