ESC
Type to search...

ExternalItem.ReadWrite.All

Export JSON
Export CSV
Copy URL
Print
ApplicationDelegated Read/Write All Resources

Allow the app to read or write items in all external datasets that the app is authorized to access

In short

ExternalItem.ReadWrite.All is available as both an application permission and a delegated permission in the Microsoft Graph API, grouped under the ExternalItem category. Allow the app to read or write items in all external datasets that the app is authorized to access It grants read and write access to resources. Application permissions always require admin consent.

Permission data: October 3, 2026 at 3:19 AM UTC
Delegated Access App-Only Access

Permission Details

Application Permission

Read and write items in external datasets

Allow the app to read or write items in all external datasets that the app is authorized to access

Delegated Permission Admin consent required

Read and write all external items

Allows the app to read and write all external items on behalf of a signed-in user. The signed-in user must be an administrator.

Properties

Microsoft Graph beta exact-category

Properties is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.

Property Type Description
acl acl collection
content object
id string The unique identifier for an entity. Read-only.
informationProtectionLabel object
properties object

JSON Representation

Microsoft Graph beta exact-category

JSON representation is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.

JSON representation
{
  "acl": [
    {
      "@type": "acl",
      "id": "00000000-0000-0000-0000-000000000000"
    }
  ],
  "content": {
    "sample": "value"
  },
  "id": "String",
  "informationProtectionLabel": {
    "sample": "value"
  },
  "properties": {
    "sample": "value"
  }
}

Relationships

Microsoft Graph beta schema-derived

Relationships is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.

Relationship Type Description
acl acl collection Related acl data exposed by this resource.

Graph Methods

Delegated access App-only access
Exact Microsoft Learn match

Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.

Methods
GET /external/connections/{connectionsId}/groups/{externalGroupId}
GET /external/connections/{connectionsId}/items/{externalItemId}
POST /external/connections/{connectionsId}/groups
POST /external/connections/{connectionsId}/groups/{externalGroupId}/members
POST /external/connections/{connectionsId}/items/{externalItemId}/addActivities
PATCH /external/connections/{connectionsId}/groups/{externalGroupId}
PUT /external/connections/{connection-id}/items/{item-id}
DELETE /external/connections/{connectionId}/groups/{externalGroupId}/members/{identityId}
DELETE /external/connections/{connectionsId}/groups/{externalGroupId}
DELETE /external/connections/{connectionsId}/items/{externalItemId}
Exact Microsoft Learn match

Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.

Methods
GET /external/connections/{connection-id}/items/{item-id}
POST /external/connections/{connectionId}/groups
POST /external/connections/{connectionsId}/groups/{externalGroupId}/members
POST /external/connections/{connectionsId}/items/{externalItemId}/addActivities
PUT /external/connections/{connection-id}/items/{item-id}
DELETE /external/connections/{connection-id}/items/{item-id}
DELETE /external/connections/{connectionId}/groups/{externalGroupId}
DELETE /external/connections/{connectionId}/groups/{externalGroupId}/members/{externalGroupMemberId}
Exact Microsoft Learn PowerShell match

Microsoft Graph PowerShell v1.0 commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.

Commands
Add-MgExternalConnectionItemActivity /external/connections/{connectionsId}/items/{externalItemId}/addActivities
externalItem: addActivities
Get-MgExternalConnectionGroup /external/connections/{connectionsId}/groups/{externalGroupId}
Get externalGroup
Get-MgExternalConnectionItem /external/connections/{connectionsId}/items/{externalItemId}
Get externalItem
New-MgExternalConnectionGroup /external/connections/{connectionsId}/groups
Create externalGroup
New-MgExternalConnectionGroupMember /external/connections/{connectionsId}/groups/{externalGroupId}/members
Create identity
Remove-MgExternalConnectionGroup /external/connections/{connectionsId}/groups/{externalGroupId}
Delete externalGroup
Remove-MgExternalConnectionGroupMember /external/connections/{connectionId}/groups/{externalGroupId}/members/{identityId}
Delete identity of member
Remove-MgExternalConnectionItem /external/connections/{connectionsId}/items/{externalItemId}
Delete externalItem
Set-MgExternalConnectionItem /external/connections/{connection-id}/items/{item-id}
Create externalItem
Set-MgExternalConnectionItem /external/connections/{connection-id}/items/{item-id}
Update externalItem
Update-MgExternalConnectionGroup /external/connections/{connectionsId}/groups/{externalGroupId}
Update externalGroup
Exact Microsoft Learn PowerShell match

Microsoft Graph PowerShell beta commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.

Commands
Add-MgBetaExternalConnectionItemActivity /external/connections/{connectionsId}/items/{externalItemId}/addActivities
externalItem: addActivities
Get-MgBetaExternalConnectionItem /external/connections/{connection-id}/items/{item-id}
Get externalItem
New-MgBetaExternalConnectionGroup /external/connections/{connectionId}/groups
Create externalGroup
New-MgBetaExternalConnectionGroupMember /external/connections/{connectionsId}/groups/{externalGroupId}/members
Create externalGroupMember
Remove-MgBetaExternalConnectionGroup /external/connections/{connectionId}/groups/{externalGroupId}
Delete externalGroup
Remove-MgBetaExternalConnectionGroupMember /external/connections/{connectionId}/groups/{externalGroupId}/members/{externalGroupMemberId}
Delete externalGroupMember
Remove-MgBetaExternalConnectionItem /external/connections/{connection-id}/items/{item-id}
Delete externalItem
Set-MgBetaExternalConnectionItem /external/connections/{connection-id}/items/{item-id}
Create externalItem
Set-MgBetaExternalConnectionItem /external/connections/{connection-id}/items/{item-id}
Update externalItem

Code Examples

C# / .NET SDK
Create externalGroup
// Code snippets are only available for the latest version. Current version is 5.x

// Dependencies
using Microsoft.Graph.Models.ExternalConnectors;

var requestBody = new ExternalGroup
{
	Id = "31bea3d537902000",
	DisplayName = "Contoso Marketing",
	Description = "The product marketing team",
};

// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.External.Connections["{externalConnection-id}"].Groups.PostAsync(requestBody);
JavaScript
Create externalGroup
const options = {
	authProvider,
};

const client = Client.init(options);

const externalGroup = {
  id: '31bea3d537902000',
  displayName: 'Contoso Marketing',
  description: 'The product marketing team'
};

await client.api('/external/connections/contosohr/groups')
	.post(externalGroup);
PowerShell
Create externalGroup
Import-Module Microsoft.Graph.Search

$params = @{
	id = "31bea3d537902000"
	displayName = "Contoso Marketing"
	description = "The product marketing team"
}

New-MgExternalConnectionGroup -ExternalConnectionId $externalConnectionId -BodyParameter $params
Python
Create externalGroup
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
from msgraph.generated.models.external_connectors.external_group import ExternalGroup
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
request_body = ExternalGroup(
	id = "31bea3d537902000",
	display_name = "Contoso Marketing",
	description = "The product marketing team",
)

result = await graph_client.external.connections.by_external_connection_id('externalConnection-id').groups.post(request_body)

App Registration

1

Navigate to Azure Portal

Go to App registrations in Microsoft Entra admin center

2

Add API Permission

Select your app → API permissions → Add a permission → Microsoft Graph

3

Select Permission Type

Choose Application permissions or delegated permissions and search for ExternalItem.ReadWrite.All

4

Grant Admin Consent

Application permissions always require admin consent.

Frequently asked questions

What is the ExternalItem.ReadWrite.All Microsoft Graph permission?

ExternalItem.ReadWrite.All is available as both an application permission and a delegated permission in the Microsoft Graph API, grouped under the ExternalItem category. Allow the app to read or write items in all external datasets that the app is authorized to access It grants read and write access to resources. Application permissions always require admin consent. It is mapped to the Microsoft Graph externalItem resource type. 18 documented Microsoft Graph REST methods require it. 20 Microsoft Graph PowerShell commands are documented for it.

Is ExternalItem.ReadWrite.All an application or a delegated permission?

ExternalItem.ReadWrite.All is available as both an application permission (app-only access, no signed-in user) and a delegated permission (access on behalf of a signed-in user).

Does ExternalItem.ReadWrite.All require admin consent?

Application permissions always require admin consent.

What is the permission ID (GUID) for ExternalItem.ReadWrite.All?

For ExternalItem.ReadWrite.All, the application (app role) ID is 38c3d6ee-69ee-422f-b954-e17819665354, and the delegated (OAuth2 scope) ID is b02c54f8-eb48-4c50-a9f0-a149e5a2012f. These are the real Microsoft Graph identifiers and can be used directly in an app registration manifest.