Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Describes the unidirectional dependency of one app capability (X) to another (Y). If a Microsoft 365 runtime host doesn't support a required capability (Y), the dependent capability (X) won't load or surface to the user.
Properties that reference this object type:
Syntax
Properties
element
Represents an individual app capability (represented by element
) that has a one-way runtime dependency on another capability being loaded.
Type
elementReference
Required
✅
Constraints
Supported values
dependsOn
Defines one or more app capabilities (each represented by element
) required for the specified element
to load.
Type
Array of elementReference
Required
✅
Constraints
Minimum array items: 1.
Supported values
Examples
{
"elementRelationshipSet": {
"oneWayDependencies" : [
{
"element" : {
"name" : "composeExtensions",
"id" : "composeExtension-id",
"commandIds": ["exampleCmd1", "exampleCmd2"]
},
"dependsOn" : [
{"name" : "bots", "id" : "bot-id"}
]
}
]
}
}