ExternalItem.Read.All
Allows the app to read all external items without a signed-in user.
Permission Details
Read all external items
Allows the app to read all external items without a signed-in user.
7a7cffad-37d2-4f48-afa4-c6ab129adcc2
Read items in external datasets
Allow the app to read external datasets and content, on behalf of the signed-in user.
922f9392-b1b7-483c-a4be-0089be7704fb
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. |
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",
"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.
| Methods |
|---|
GET
/external/connections/{connectionsId}/groups/{externalGroupId}
|
GET
/external/connections/{connectionsId}/items/{externalItemId}
|
POST
/search/query
|
Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
| Methods |
|---|
GET
/external/connections/{connection-id}/items/{item-id}
|
POST
/search/query
|
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.
| Commands |
|---|
Get-MgBetaExternalConnectionItem
/external/connections/{connection-id}/items/{item-id}
Get externalItem
|
Invoke-MgBetaQuerySearch
/search/query
searchEntity: query
|
Code Examples
// Code snippets are only available for the latest version. Current version is 5.x
// 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["{externalGroup-id}"].GetAsync();
const options = {
authProvider,
};
const client = Client.init(options);
let externalGroup = await client.api('/external/connections/contosohr/groups/31bea3d537902000')
.get();
Import-Module Microsoft.Graph.Search
Get-MgExternalConnectionGroup -ExternalConnectionId $externalConnectionId -ExternalGroupId $externalGroupId
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
result = await graph_client.external.connections.by_external_connection_id('externalConnection-id').groups.by_external_group_id('externalGroup-id').get()
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.Read.All
Grant Admin Consent
Application permissions always require admin consent.