← 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 riskIngest 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.
| ID | 65891b00-2fd9-4e33-be27-04a53132e3df |
|---|---|
| Consent | Always needs admin consent |
| Risk | Read 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:
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?
# 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