azureblog.co.uk
← cd ~/graph-permissions
// graph-permissions · FileIngestion

FileIngestion.IngestMicrosoft Graph permission · Low risk

Allows the app to ingest SharePoint and OneDrive content to make it available in the search index, without a signed-in user.

Application permission

Low risk

Ingest SharePoint and OneDrive content to make it available in the search index. Allows the app to ingest SharePoint and OneDrive content to make it available in the search index, without a signed-in user.

ID65891b00-2fd9-4e33-be27-04a53132e3df
ConsentAlways needs admin consent
RiskRead access, limited to what the signed-in user can see.

Grant it to an app

In the portal: App registrations › your app › API permissions › Add a permission › Microsoft Graph › Application permissions, then grant admin consent. Or with Graph PowerShell:

powershell5 lines
Connect-MgGraph -Scopes "Application.Read.All", "AppRoleAssignment.ReadWrite.All"
$graph = Get-MgServicePrincipal -Filter "appId eq '00000003-0000-0000-c000-000000000000'"
$app   = Get-MgServicePrincipal -Filter "appId eq '<your app's client id>'"
New-MgServicePrincipalAppRoleAssignment -ServicePrincipalId $app.Id `
    -PrincipalId $app.Id -ResourceId $graph.Id -AppRoleId "65891b00-2fd9-4e33-be27-04a53132e3df"

Which apps already have it?

powershell6 lines
# Apps that hold FileIngestion.Ingest as an application permission
Connect-MgGraph -Scopes "Application.Read.All"
$graph = Get-MgServicePrincipal -Filter "appId eq '00000003-0000-0000-c000-000000000000'"
Get-MgServicePrincipalAppRoleAssignedTo -ServicePrincipalId $graph.Id -All |
    Where-Object AppRoleId -eq "65891b00-2fd9-4e33-be27-04a53132e3df" |
    Select-Object PrincipalDisplayName, PrincipalId, CreatedDateTime

Check every app in your tenant → Permission explainer