SearchConfiguration.ReadWrite.All
Allows the app to read and write search configurations, without a signed-in user.
In short
SearchConfiguration.ReadWrite.All is available as both an application permission and a delegated permission in the Microsoft Graph API, grouped under the SearchConfiguration category. Allows the app to read and write search configurations, without a signed-in user. It grants read and write access to resources. Application permissions always require admin consent.
Permission Details
Read and write your organization's search configuration
Allows the app to read and write search configurations, without a signed-in user.
0e778b85-fefa-466d-9eec-750569d92122
Read and write your organization's search configuration
Allows the app to read and write search configuration, on behalf of the signed-in user.
b1a7d408-cab0-47d2-a2a5-a74a3733600d
Properties
Properties is shown from stable Microsoft Graph v1.0 metadata.
| Property | Type | Description |
|---|---|---|
description |
stringNullable |
The search answer description that is shown on the search results page. |
displayName |
string |
The search answer name that is displayed in search results. |
id |
string |
The unique identifier for an entity. Read-only. |
lastModifiedBy |
object |
Details of the user who created or last modified the search answer. Read-only. |
lastModifiedDateTime |
date-timeNullable |
Date and time when the search answer was created or last edited. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. |
standsFor |
stringNullable |
What the acronym stands for. |
state |
search.answerState |
|
webUrl |
stringNullable |
The URL link for the search answer. When users select this search answer from the search results, they are directed to the specified URL. |
JSON Representation
JSON representation is shown from stable Microsoft Graph v1.0 metadata.
{
"description": "String",
"displayName": "String",
"id": "String",
"lastModifiedBy": {
"sample": "value"
},
"lastModifiedDateTime": "2026-01-01T00:00:00Z",
"standsFor": "String",
"state": {
"@type": "search.answerState",
"id": "00000000-0000-0000-0000-000000000000"
},
"webUrl": "String"
}
Relationships
Relationships is shown from stable Microsoft Graph v1.0 metadata.
| Relationship | Type | Description |
|---|---|---|
state |
search.answerState |
Related state 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.Search;
var requestBody = new Acronym
{
DisplayName = "DNN",
StandsFor = "Deep Neural Network",
Description = "A deep neural network is a neural network with a certain level of complexity, a neural network with more than two layers.",
WebUrl = "http://microsoft.com/deep-neural-network",
State = AnswerState.Draft,
};
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.Search.Acronyms.PostAsync(requestBody);
const options = {
authProvider,
};
const client = Client.init(options);
const acronym = {
displayName: 'DNN',
standsFor: 'Deep Neural Network',
description: 'A deep neural network is a neural network with a certain level of complexity, a neural network with more than two layers.',
webUrl: 'http://microsoft.com/deep-neural-network',
state: 'draft'
};
await client.api('/search/acronyms')
.post(acronym);
Import-Module Microsoft.Graph.Search
$params = @{
displayName = "DNN"
standsFor = "Deep Neural Network"
description = "A deep neural network is a neural network with a certain level of complexity, a neural network with more than two layers."
webUrl = "http://microsoft.com/deep-neural-network"
state = "draft"
}
New-MgSearchAcronym -BodyParameter $params
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
from msgraph.generated.models.search.acronym import Acronym
from msgraph.generated.models.answer_state import AnswerState
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
request_body = Acronym(
display_name = "DNN",
stands_for = "Deep Neural Network",
description = "A deep neural network is a neural network with a certain level of complexity, a neural network with more than two layers.",
web_url = "http://microsoft.com/deep-neural-network",
state = AnswerState.Draft,
)
result = await graph_client.search.acronyms.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 SearchConfiguration.ReadWrite.All
Grant Admin Consent
Application permissions always require admin consent.
Frequently asked questions
What is the SearchConfiguration.ReadWrite.All Microsoft Graph permission?
SearchConfiguration.ReadWrite.All is available as both an application permission and a delegated permission in the Microsoft Graph API, grouped under the SearchConfiguration category. Allows the app to read and write search configurations, without a signed-in user. It grants read and write access to resources. Application permissions always require admin consent. It is mapped to the Microsoft Graph search resource type. 30 documented Microsoft Graph REST methods require it. 30 Microsoft Graph PowerShell commands are documented for it.
Is SearchConfiguration.ReadWrite.All an application or a delegated permission?
SearchConfiguration.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 SearchConfiguration.ReadWrite.All require admin consent?
Application permissions always require admin consent.
What is the permission ID (GUID) for SearchConfiguration.ReadWrite.All?
For SearchConfiguration.ReadWrite.All, the application (app role) ID is 0e778b85-fefa-466d-9eec-750569d92122, and the delegated (OAuth2 scope) ID is b1a7d408-cab0-47d2-a2a5-a74a3733600d. These are the real Microsoft Graph identifiers and can be used directly in an app registration manifest.