Skip to content

Commit 1671489

Browse files
move userIds section back, create anchor tag to navigate to it
1 parent ea5a620 commit 1671489

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

articles/communication-services/quickstarts/voice-video-calling/get-started-teams-interop-group-calls.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -31,27 +31,9 @@ Find the finalized code for this quickstart on [GitHub](https://github.com/Azure
3131
- A [Teams deployment](/deployoffice/teams-install).
3232
- An [access token](../identity/access-tokens.md).
3333

34-
## Get the Teams user IDs
35-
36-
The Teams user IDs can be retrieved using Graph APIs, which is detailed in [Graph documentation](/graph/api/user-get?tabs=http).
37-
38-
```console
39-
https://graph.microsoft.com/v1.0/me
40-
```
41-
42-
In results get the "id" field.
43-
44-
```json
45-
"userPrincipalName": "[email protected]",
46-
"id": "31a011c2-2672-4dd0-b6f9-9334ef4999db"
47-
```
48-
49-
Or the same ID could be found in [Azure portal](https://aka.ms/portal) in Users tab:
50-
![User Object ID in Azure Portal](./includes/teams-user/portal-user-id.png)
51-
5234
## Add the Call UI controls
5335

54-
Replace code in index.html with the following snippet. Place a call to the Teams users by specifying their ID(s).
36+
Replace code in index.html with the following snippet. Place a call to the Teams users by specifying their <a href="#userIds">ID(s)</a>.
5537
- The text box is used to enter the Teams user IDs you are planning to call. Enter one id for a 1:1 call, or multiple for a group call
5638

5739
```html
@@ -396,6 +378,24 @@ hangUpButton.addEventListener("click", async () => {
396378
});
397379
```
398380

381+
<h2 id="userIds">Get the Teams user IDs</h2>
382+
383+
The Teams user IDs can be retrieved using Graph APIs, which is detailed in [Graph documentation](/graph/api/user-get?tabs=http).
384+
385+
```console
386+
https://graph.microsoft.com/v1.0/me
387+
```
388+
389+
In results get the "id" field.
390+
391+
```json
392+
"userPrincipalName": "[email protected]",
393+
"id": "31a011c2-2672-4dd0-b6f9-9334ef4999db"
394+
```
395+
396+
Or the same ID could be found in [Azure portal](https://aka.ms/portal) in Users tab:
397+
![User Object ID in Azure Portal](./includes/teams-user/portal-user-id.png)
398+
399399
## Run the code
400400

401401
Run the following command to bundle your application host on a local webserver:

0 commit comments

Comments
 (0)