Skip to content

Commit 5a46851

Browse files
committed
more snippet fixes
1 parent 8652e18 commit 5a46851

File tree

2 files changed

+39
-5
lines changed

2 files changed

+39
-5
lines changed

articles/communication-services/concepts/includes/identifiers/identifiers-ios.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ switch (communicationIdentifier)
113113
print(#"Communication user: \(communicationUser.id)"#)
114114
case let teamsUser as MicrosoftTeamsUserIdentifier:
115115
print(#"Teams user: \(teamsUser.UserId)"#)
116-
case let teamsApp as microsoftTeamsApp:
116+
case let teamsApp as MicrosoftTeamsAppIdentifier:
117117
print(#"Teams app: \(teamsApp.appId)"#)
118118
case let phoneNumber as PhoneNumberIdentifier:
119119
print(#"Phone number: \(phoneNumber.PhoneNumber)"#)

articles/communication-services/concepts/includes/identifiers/identifiers-rest.md

Lines changed: 38 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,9 @@ switch (communicationIdentifier.kind)
207207
case "microsoftTeamsUser":
208208
console.log(`Teams user: ${communicationIdentifier.microsoftTeamsUser.userId}`);
209209
break;
210+
case "microsoftTeamsApp":
211+
console.log(`Teams user: ${communicationIdentifier.microsoftTeamsApp.appId}`);
212+
break;
210213
case "phoneNumber":
211214
console.log(`Phone number: ${communicationIdentifier.phoneNumber.value}`);
212215
break;
@@ -266,28 +269,28 @@ The raw ID is the same as `communicationUser.id`.
266269
```json
267270
{
268271
"microsoftTeamsUser": {
269-
"userId": "[aadUserId]"
272+
"userId": "[entraUserId]"
270273
}
271274
}
272275
```
273276
*Raw ID:*
274277

275-
`8:orgid:[aadUserId]`
278+
`8:orgid:[entraUserId]`
276279

277280
The raw ID is the Microsoft Entra user object ID prefixed with `8:orgid:`.
278281

279282
*Identifier:*
280283
```json
281284
{
282285
"microsoftTeamsUser": {
283-
"userId": "[aadUserId]",
286+
"userId": "[entraUserId]",
284287
"cloud": "gcch"
285288
}
286289
}
287290
```
288291
*Raw ID:*
289292

290-
`8:gcch:[aadUserId]`
293+
`8:gcch:[entraUserId]`
291294

292295
The raw ID is the Microsoft Entra user object ID prefixed with `8:gcch:` or `8:dod:` depending on the cloud environment.
293296

@@ -322,6 +325,37 @@ The raw ID is the Teams visitor ID prefixed with `8:teamsvisitor:`. The Teams vi
322325

323326
The raw ID is the E.164 formatted phone number prefixed with `4:`.
324327

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+
325359
### Unknown
326360

327361
*Identifier:*

0 commit comments

Comments
 (0)