BusinessScenarioConfig.ReadWrite.All
Allows the app to read and write the configurations of your organization's business scenarios, on behalf of the signed-in user.
Permission Details
Read and write business scenario configurations
Allows the app to read and write the configurations of your organization's business scenarios, on behalf of the signed-in user.
755e785b-b658-446f-bb22-5a46abd029ea
Properties
Properties is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.
| Property | Type | Description |
|---|---|---|
createdBy |
identitySet |
The identity of the user who created the scenario. |
createdDateTime |
DateTimeOffset |
The date and time when the scenario was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. |
displayName |
StringNullable |
Display name of the scenario. |
id |
String |
The unique identifier for the scenario. Inherited from entity. |
lastModifiedBy |
identitySet |
The identity of the user who last modified the scenario. |
lastModifiedDateTime |
DateTimeOffset |
The date and time when the scenario was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. |
ownerAppIds |
String collection |
Identifiers of applications that are authorized to work with this scenario. |
uniqueName |
StringNullable |
Unique name of the scenario. To avoid conflicts, the recommended value for the unique name is a reverse domain name format, owned by the author of the scenario. For example, a scenario authored by Contoso.com would have a unique name that starts with com.contoso. |
planner |
object |
Planner content related to the scenario. |
JSON Representation
JSON representation is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.
{
"@odata.type": "#microsoft.graph.businessScenario",
"createdBy": {
"@odata.type": "microsoft.graph.identitySet"
},
"createdDateTime": "String (timestamp)",
"displayName": "String",
"id": "String (identifier)",
"lastModifiedBy": {
"@odata.type": "microsoft.graph.identitySet"
},
"lastModifiedDateTime": "String (timestamp)",
"ownerAppIds": [
"String"
],
"uniqueName": "String"
}
Relationships
Relationships is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.
| Relationship | Type | Description |
|---|---|---|
planner |
businessScenarioPlanner |
Planner content related to the scenario. |
ownerAppIds |
string collection |
Identifiers of applications that are authorized to work with this scenario. |
Graph Methods
Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
No API methods available for this version.
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.
No deterministic PowerShell command map is available for this permission.
Browse PowerShell docsMicrosoft 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.Beta.Models;
var requestBody = new BusinessScenario
{
OdataType = "#microsoft.graph.businessScenario",
DisplayName = "Contoso Order Tracking",
UniqueName = "com.contoso.apps.ordertracking",
};
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.Solutions.BusinessScenarios.PostAsync(requestBody);
const options = {
authProvider,
};
const client = Client.init(options);
const businessScenario = {
'@odata.type': '#microsoft.graph.businessScenario',
displayName: 'Contoso Order Tracking',
uniqueName: 'com.contoso.apps.ordertracking'
};
await client.api('/solutions/businessScenarios')
.version('beta')
.post(businessScenario);
Import-Module Microsoft.Graph.Beta.BusinessScenario
$params = @{
"@odata.type" = "#microsoft.graph.businessScenario"
displayName = "Contoso Order Tracking"
uniqueName = "com.contoso.apps.ordertracking"
}
New-MgBetaSolutionBusinessScenario -BodyParameter $params
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph_beta import GraphServiceClient
from msgraph_beta.generated.models.business_scenario import BusinessScenario
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
request_body = BusinessScenario(
odata_type = "#microsoft.graph.businessScenario",
display_name = "Contoso Order Tracking",
unique_name = "com.contoso.apps.ordertracking",
)
result = await graph_client.solutions.business_scenarios.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 Delegated permissions and search for BusinessScenarioConfig.ReadWrite.All
Grant Admin Consent
This delegated permission requires admin consent.