> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Item Permission

Gets information about an item's permission.

* **Least privileged** Microsoft Graph permission to access the action via **application**: `Files.ReadWrite.All`.
* **Higher privileged** Microsoft Graph permissions to access the action via **application**: `Sites.ReadWrite.All`, `Files.ReadWrite.All`, `Sites.Read.All`.

## Parameters

<div className="integrations-table">
  | Parameter          | Description                                                                                                           |
  | ------------------ | --------------------------------------------------------------------------------------------------------------------- |
  | Item ID            | User, group or site ID depending on the chosen Entity Type. Leave as 'root' to retrieve a permission of a Drive Item. |
  | Parent Entity ID   | User, group or site ID depending on the chosen Entity Type.                                                           |
  | Parent Entity Type | The type of target for which to retrieve items.                                                                       |
  | Permission ID      | The ID of the permission to get.                                                                                      |
</div>

## Example Output

```json theme={"dark"}
{
	"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('98c4f2fe-59ff-47cb-b152-4d0f48fdce49')/drive/items('3d24feb8-2565-46e2-8659-85fa3efa97c1')/permissions/$entity",
	"id": "aTowIy5mfG1lbWJlcnNoaXB8ZGFuaWVsLmt1cGVybWFuQGhhdml2YmxpbmtvcHMub25taWNyb3NvZnQuY29t",
	"roles": [
		"owner"
	],
	"shareId": "<string>",
	"grantedToV2": {
		"siteGroup": {
			"displayName": "<string>",
			"id": "<string>",
			"loginName": "<string>"
		}
	},
	"grantedTo": {
		"user": {
			"displayName": "test"
		}
	},
	"inheritedFrom": {}
}
```

## Workflow Library Example

[Get Item Permission with Onedrive and Send Results Via Email](https://library.blinkops.com/workflows/get-item-permission-with-onedrive-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/get-item-permission-with-onedrive-and-send-results-via-email/canvas" />
</div>
