BusinessScenarioData.ReadWrite.OwnedBy
Allows the app to fully manage the data associated with the business scenarios it owns, without a signed-in user.
Permission Details
Read and write data for all business scenarios this app creates or owns
Allows the app to fully manage the data associated with the business scenarios it owns, without a signed-in user.
f2d21f22-5d80-499e-91cc-0a8a4ce16f54
Read and write all data for business scenarios this app creates or owns
Allows the app to fully manage all data associated with the business scenarios it owns. Data access and changes will be attributed to the signed-in user.
19932d57-2952-4c60-8634-3655c79fc527
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 BusinessScenarioTask
{
Title = "Customer order #12010",
PercentComplete = 0,
Priority = 5,
Target = new BusinessScenarioGroupTarget
{
OdataType = "microsoft.graph.businessScenarioGroupTarget",
TaskTargetKind = PlannerTaskTargetKind.Group,
GroupId = "7a339254-4b2b-4410-b295-c890a16776ee",
},
BusinessScenarioProperties = new BusinessScenarioProperties
{
ExternalObjectId = "Order#12010",
ExternalContextId = "Warehouse-CA-36",
ExternalObjectVersion = "000001",
WebUrl = "https://ordertracking.contoso.com/view?id=12010",
ExternalBucketId = "deliveryBucket",
},
};
// 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["{businessScenario-id}"].Planner.Tasks.PostAsync(requestBody);
const options = {
authProvider,
};
const client = Client.init(options);
const businessScenarioTask = {
title: 'Customer order #12010',
percentComplete: 0,
priority: 5,
target: {
'@odata.type': 'microsoft.graph.businessScenarioGroupTarget',
taskTargetKind: 'group',
groupId: '7a339254-4b2b-4410-b295-c890a16776ee'
},
businessScenarioProperties: {
externalObjectId: 'Order#12010',
externalContextId: 'Warehouse-CA-36',
externalObjectVersion: '000001',
webUrl: 'https://ordertracking.contoso.com/view?id=12010',
externalBucketId: 'deliveryBucket'
}
};
await client.api('/solutions/businessScenarios/c5d514e6c6864911ac46c720affb6e4d/planner/tasks')
.version('beta')
.post(businessScenarioTask);
Import-Module Microsoft.Graph.Beta.BusinessScenario
$params = @{
title = "Customer order #12010"
percentComplete = 0
priority = 5
target = @{
"@odata.type" = "microsoft.graph.businessScenarioGroupTarget"
taskTargetKind = "group"
groupId = "7a339254-4b2b-4410-b295-c890a16776ee"
}
businessScenarioProperties = @{
externalObjectId = "Order#12010"
externalContextId = "Warehouse-CA-36"
externalObjectVersion = "000001"
webUrl = "https://ordertracking.contoso.com/view?id=12010"
externalBucketId = "deliveryBucket"
}
}
New-MgBetaSolutionBusinessScenarioPlannerTask -BusinessScenarioId $businessScenarioId -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_task import BusinessScenarioTask
from msgraph_beta.generated.models.business_scenario_group_target import BusinessScenarioGroupTarget
from msgraph_beta.generated.models.planner_task_target_kind import PlannerTaskTargetKind
from msgraph_beta.generated.models.business_scenario_properties import BusinessScenarioProperties
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
request_body = BusinessScenarioTask(
title = "Customer order #12010",
percent_complete = 0,
priority = 5,
target = BusinessScenarioGroupTarget(
odata_type = "microsoft.graph.businessScenarioGroupTarget",
task_target_kind = PlannerTaskTargetKind.Group,
group_id = "7a339254-4b2b-4410-b295-c890a16776ee",
),
business_scenario_properties = BusinessScenarioProperties(
external_object_id = "Order#12010",
external_context_id = "Warehouse-CA-36",
external_object_version = "000001",
web_url = "https://ordertracking.contoso.com/view?id=12010",
external_bucket_id = "deliveryBucket",
),
)
result = await graph_client.solutions.business_scenarios.by_business_scenario_id('businessScenario-id').planner.tasks.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 BusinessScenarioData.ReadWrite.OwnedBy
Grant Admin Consent
Application permissions always require admin consent.