Skip to content

Commit f5b9601

Browse files
Update outlook-events.md
Your docs are a complete joke and are filled with mistakes. I only fixed message created, but I bet the others have issues too.
1 parent 6e78ae4 commit f5b9601

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

articles/event-grid/outlook-events.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ When an event is triggered, the Event Grid service sends data about that event t
212212
"id": "00d8a100-2e92-4bfa-86e1-0056dacd0fce",
213213
"type": "Microsoft.Graph.MessageCreated",
214214
"source": "/tenants/<tenant-id>/applications/<application-id>",
215-
"subject": "Messages/<messaeg-id>",
215+
"subject": "Users/<user-id>/Messages/<messaeg-id>",
216216
"time": "2024-05-22T22:24:31.3062901Z",
217217
"datacontenttype": "application/json",
218218
"specversion": "1.0",
@@ -222,12 +222,13 @@ When an event is triggered, the Event Grid service sends data about that event t
222222
"SubscriptionExpirationDateTime": "2024-06-22T23:56:30.1307708Z",
223223
"ChangeType": "created",
224224
"subscriptionId": "MTE1MTVlYTktMjVkZS00MjY3LWI1YzYtMjg0NzliZmRhYWQ2",
225-
"resource": "https://outlook.office365.com/api/beta/Users('userId@tenantId')/Messages('<message id>')",
225+
"resource": "Users/<user-id>/Messages/<message-id>",
226226
"clientState": "<client state>",
227+
"tenantId":"<tenant-id>",
227228
"resourceData": {
228229
"Id": "<message id>",
229230
"@odata.etag": "<tag id>",
230-
"@odata.id": "https://outlook.office365.com/api/beta/Users('userId@tenantId')/Messages('<message id>')",
231+
"@odata.id": "Users/<user-id>/Messages/<message-id>",
231232
"@odata.type": "#Microsoft.OutlookServices.Message",
232233
"OtherResourceData": "<some other resource data>"
233234
}

0 commit comments

Comments
 (0)