@@ -207,6 +207,9 @@ switch (communicationIdentifier.kind)
207
207
case " microsoftTeamsUser" :
208
208
console .log (` Teams user: ${ communicationIdentifier .microsoftTeamsUser .userId } ` );
209
209
break ;
210
+ case " microsoftTeamsApp" :
211
+ console .log (` Teams user: ${ communicationIdentifier .microsoftTeamsApp .appId } ` );
212
+ break ;
210
213
case " phoneNumber" :
211
214
console .log (` Phone number: ${ communicationIdentifier .phoneNumber .value } ` );
212
215
break ;
@@ -266,28 +269,28 @@ The raw ID is the same as `communicationUser.id`.
266
269
``` json
267
270
{
268
271
"microsoftTeamsUser" : {
269
- "userId" : " [aadUserId ]"
272
+ "userId" : " [entraUserId ]"
270
273
}
271
274
}
272
275
```
273
276
* Raw ID:*
274
277
275
- ` 8:orgid:[aadUserId ] `
278
+ ` 8:orgid:[entraUserId ] `
276
279
277
280
The raw ID is the Microsoft Entra user object ID prefixed with ` 8:orgid: ` .
278
281
279
282
* Identifier:*
280
283
``` json
281
284
{
282
285
"microsoftTeamsUser" : {
283
- "userId" : " [aadUserId ]" ,
286
+ "userId" : " [entraUserId ]" ,
284
287
"cloud" : " gcch"
285
288
}
286
289
}
287
290
```
288
291
* Raw ID:*
289
292
290
- ` 8:gcch:[aadUserId ] `
293
+ ` 8:gcch:[entraUserId ] `
291
294
292
295
The raw ID is the Microsoft Entra user object ID prefixed with ` 8:gcch: ` or ` 8:dod: ` depending on the cloud environment.
293
296
@@ -322,6 +325,37 @@ The raw ID is the Teams visitor ID prefixed with `8:teamsvisitor:`. The Teams vi
322
325
323
326
The raw ID is the E.164 formatted phone number prefixed with ` 4: ` .
324
327
328
+ ### Microsoft Teams app
329
+
330
+ * Identifier:*
331
+ ``` json
332
+ {
333
+ "microsoftTeamsApp" : {
334
+ "appId" : " [entraUserId]"
335
+ }
336
+ }
337
+ ```
338
+ * Raw ID:*
339
+
340
+ ` 28:orgid:[entraUserId] `
341
+
342
+ The raw ID is the application's Entra user object ID prefixed with ` 28:orgid: ` .
343
+
344
+ * Identifier:*
345
+ ``` json
346
+ {
347
+ "microsoftTeamsUser" : {
348
+ "userId" : " [entraUserId]" ,
349
+ "cloud" : " gcch"
350
+ }
351
+ }
352
+ ```
353
+ * Raw ID:*
354
+
355
+ ` 28:gcch:[entraUserId] `
356
+
357
+ The raw ID is the application's Entra user object ID prefixed with ` 28:gcch: ` or ` 28:dod: ` depending on the cloud environment.
358
+
325
359
### Unknown
326
360
327
361
* Identifier:*
0 commit comments