You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/actionable-messages/invoke-add-in.md
+86-1Lines changed: 86 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,90 @@ The following example shows the prompt users see if the add-in is not installed.
31
31
32
32
Actionable messages invoke add-ins by specifying an [Action.InvokeAddInCommand action](adaptive-card.md#actioninvokeaddincommand) in the message. This action specifies the add-in to invoke, along with the identifier of the add-in button that opens the appropriate task pane.
33
33
34
-
The required information is found in the [add-in's manifest](/office/dev/add-ins/outlook/manifests). First, you'll need the add-in's identifier, which is specified in the [Id element](/office/dev/add-ins/reference/manifest/id).
34
+
The required information is found in the [add-in's manifest](/office/dev/add-ins/develop/add-in-manifests). Open the tab for the type of manifest that the add-in uses.
35
+
36
+
# [Unified manifest for Microsoft 365](#tab/jsonmanifest)
37
+
38
+
First, you'll need the add-in's identifier, which is specified in the [`"id"`](/microsoft-365/extensibility/schema/root#id) property.
For this add-in, the add-in identifier is `527104a1-f1a5-475a-9199-7a968161c870`.
52
+
53
+
Next, you'll need the [`"control.id"`](/microsoft-365/extensibility/schema/extension-common-custom-group-controls-item#id) value of the control object that defines the add-in button that opens the appropriate task pane. Keep in mind that the control object MUST:
54
+
55
+
- Be defined inside a ribbon object that includes `mailRead` in its [`"ribbons.contexts"`](/microsoft-365/extensibility/schema/extension-ribbons-array#contexts) array.
56
+
- Have its `"type"` property set to `button`.
57
+
- Contain an `"actionId"` set to the same value as a the [`"actions.id"`](/microsoft-365/extensibility/schema/extension-runtimes-actions-item#id) of an action object defined in the [`"extensions.runtimes"`](/microsoft-365/extensibility/schema/extension-runtimes-array) array.
58
+
59
+
The following shows the JSON for an extensions object that includes a control that opens a task pane.
60
+
61
+
```json
62
+
{
63
+
-- other properties omitted --
64
+
65
+
"extensions": [
66
+
{
67
+
"runtimes": [
68
+
{
69
+
-- other properties omitted --
70
+
71
+
"actions": [
72
+
{
73
+
-- other properties omitted --
74
+
75
+
"id": "ShowTaskpane"
76
+
}
77
+
]
78
+
}
79
+
],
80
+
"ribbons": [
81
+
{
82
+
"contexts": ["mailRead"],
83
+
"tabs" [
84
+
{
85
+
"groups": [
86
+
{
87
+
-- other properties omitted --
88
+
89
+
"controls" [
90
+
{
91
+
"id": "msgReadOpenPaneButton",
92
+
"type": "button",
93
+
"label": "Show Task Pane",
94
+
"icons": [ -- icons markup omitted -- ],
95
+
"supertip": {
96
+
"title": "Show Contoso Task Pane",
97
+
"description": "Opens the Contoso task pane."
98
+
},
99
+
"actionId": "ShowTaskPane"
100
+
}
101
+
]
102
+
}
103
+
]
104
+
}
105
+
]
106
+
}
107
+
]
108
+
}
109
+
]
110
+
}
111
+
```
112
+
113
+
For this add-in button, the ID is `msgReadOpenPaneButton`.
114
+
115
+
# [Add-in only manifest](#tab/xmlmanifest)
116
+
117
+
First, you'll need the add-in's identifier, which is specified in the [Id element](/office/dev/add-ins/reference/manifest/id).
Copy file name to clipboardExpand all lines: docs/actionable-messages/security-requirements.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -110,6 +110,9 @@ Sample code generating signed card:
110
110
111
111
## Verifying that requests come from Microsoft
112
112
113
+
> [!IMPORTANT]
114
+
> Actionable Messages (AM) are moving from EAT (External Access Token) to Microsoft Entra ID token authentication. Partners using EAT tokens must update their integration to support AAD tokens for requests from the AM service. For more information, see [Enabling AAD token of Actionable Messages](enable-entra-token-for-actionable-messages.md).
115
+
113
116
All action requests from Microsoft have a bearer token in the HTTP `Authorization` header. This token is a [JSON Web Token](https://jwt.io/) (JWT) token signed by Microsoft, and it includes important claims that we strongly recommend should be verified by the service handling the associated request.
0 commit comments