ExternalItem.ReadWrite.OwnedBy
Allows the app to read and write external items without a signed-in user. The app can only read external items of the connection that it is authorized to.
In short
ExternalItem.ReadWrite.OwnedBy is available as both an application permission and a delegated permission in the Microsoft Graph API, grouped under the ExternalItem category. Allows the app to read and write external items without a signed-in user. The app can only read external items of the connection that it is authorized to. It grants read and write access to resources. Application permissions always require admin consent.
Permission Details
Read and write external items
Allows the app to read and write external items without a signed-in user. The app can only read external items of the connection that it is authorized to.
8116ae0f-55c2-452d-9944-d18420f5b2c8
Read and write external items
Allows the app to read and write external items on behalf of a signed-in user. The signed-in user must be an administrator. The app can only read external items of the connection that it is authorized to.
4367b9d7-cee7-4995-853c-a0bdfe95c1f9
Properties
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
JSON representation is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.
{
"acl": [
{
"@type": "acl",
"id": "00000000-0000-0000-0000-000000000000"
}
],
"content": {
"sample": "value"
},
"id": "String",
"informationProtectionLabel": {
"sample": "value"
},
"properties": {
"sample": "value"
}
}
Relationships
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
Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
Microsoft Graph PowerShell v1.0 commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
Microsoft Graph PowerShell beta commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
Code Examples
// 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);
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);
Import-Module Microsoft.Graph.Search
$params = @{
id = "31bea3d537902000"
displayName = "Contoso Marketing"
description = "The product marketing team"
}
New-MgExternalConnectionGroup -ExternalConnectionId $externalConnectionId -BodyParameter $params
# 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
Navigate to Azure Portal
Go to App registrations in Microsoft Entra admin center
Add API Permission
Select your app → API permissions → Add a permission → Microsoft Graph
Select Permission Type
Choose Application permissions or delegated permissions and search for ExternalItem.ReadWrite.OwnedBy
Grant Admin Consent
Application permissions always require admin consent.
Frequently asked questions
What is the ExternalItem.ReadWrite.OwnedBy Microsoft Graph permission?
ExternalItem.ReadWrite.OwnedBy is available as both an application permission and a delegated permission in the Microsoft Graph API, grouped under the ExternalItem category. Allows the app to read and write external items without a signed-in user. The app can only read external items of the connection that it is authorized to. 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.OwnedBy an application or a delegated permission?
ExternalItem.ReadWrite.OwnedBy 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.OwnedBy require admin consent?
Application permissions always require admin consent.
What is the permission ID (GUID) for ExternalItem.ReadWrite.OwnedBy?
For ExternalItem.ReadWrite.OwnedBy, the application (app role) ID is 8116ae0f-55c2-452d-9944-d18420f5b2c8, and the delegated (OAuth2 scope) ID is 4367b9d7-cee7-4995-853c-a0bdfe95c1f9. These are the real Microsoft Graph identifiers and can be used directly in an app registration manifest.