Skip to content

Commit 833fffc

Browse files
committed
fixed urls
1 parent 2a163ee commit 833fffc

12 files changed

+22
-22
lines changed

articles/communication-services/quickstarts/identity/entra-id-authentication-integration.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ ms.topic: quickstart
1111
ms.service: azure-communication-services
1212
ms.subservice: identity
1313
ms.reviewer: dominikme, dariac, sanchezjuan
14-
zone_pivot_groups: acs-js-csharp-java-python
15-
ms.custom: mode-other, devx-track-extended-java, devx-track-js, devx-track-python, has-azure-ad-ps-ref
14+
zone_pivot_groups: acs-js-csharp
15+
ms.custom: mode-other, devx-track-js, has-azure-ad-ps-ref
1616
---
1717
# Quickstart: Set up and obtain access tokens for Microsoft Entra ID users
1818

@@ -23,7 +23,7 @@ This quickstart demonstrates how to use the Communication Services Common SDK al
2323
## Prerequisites
2424
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
2525
- An active Azure Communication Services resource and endpoint URI. For more information, see [Create an Azure Communication Services resource](../create-communication-resource.md).
26-
- A Microsoft Entra ID instance. For more information, see [Microsoft Entra ID overview](../../../entra/fundamentals/whatis).
26+
- A Microsoft Entra ID instance. For more information, see [Microsoft Entra ID overview](https://learn.microsoft.com/entra/fundamentals/whatis?source=docs).
2727

2828
## Introduction
2929

@@ -49,7 +49,7 @@ The Administrator role has extended permissions in Microsoft Entra ID. Members o
4949
To enable the Contoso application to access Azure Communication Services Clients application API permissions, the Contoso Administrator must create a service principal for Azure Communication Services Clients application in the Contoso Microsoft Entra ID tenant.
5050
The Contoso Administrator can create a service principal in Contoso tenant by one of the following methods:
5151

52-
- Use the [Microsoft Graph REST API](../../../graph/api/serviceprincipal-post-serviceprincipals?view=graph-rest-1.0&tabs=http#request) to run the following request:
52+
- Use the [Microsoft Graph REST API](https://learn.microsoft.com/graph/api/serviceprincipal-post-serviceprincipals?view=graph-rest-1.0&tabs=http#request) to run the following request:
5353

5454
```http
5555
POST https://graph.microsoft.com/v1.0/servicePrincipals
@@ -60,9 +60,9 @@ Content-Type: application/json
6060
}
6161
```
6262

63-
This request can also be executed in [Graph Explorer](../../../graph/graph-explorer/graph-explorer-overview). Make sure to include your full tenant domain in the URL `https://developer.microsoft.com/graph/graph-explorer?tenant={tenant domain}`, sign in,and provide consent for `Application.ReadWrite.All` permission.
63+
This request can also be executed in [Graph Explorer](https://developer.microsoft.com/graph/graph-explorer/). Make sure to include your full tenant domain in the URL `https://developer.microsoft.com/graph/graph-explorer?tenant={tenant domain}`, sign in,and provide consent for `Application.ReadWrite.All` permission.
6464

65-
- Use the [Azure CLI](../../../cli/azure/ad/sp?view=azure-cli-latest#az-ad-sp-create) to run the following command:
65+
- Use the [Azure CLI](https://learn.microsoft.com/cli/azure/ad/sp?view=azure-cli-latest#az-ad-sp-create) to run the following command:
6666

6767
```azurecli-interactive
6868
az ad sp create --id 2a04943b-b6a7-4f65-8786-2bb6131b59f6
@@ -100,7 +100,7 @@ The Azure Communication Services resource is used to authenticate all requests f
100100

101101
If you want to create a new Communication Services resource, see [Create and manage Communication Services resources](../create-communication-resource.md).
102102

103-
The Contoso administrator can provide Fabrikam Entra ID users with access to the Contoso Azure Communication Services resource through the Azure portal or by using the [Entra ID Assignment REST API](../../../rest/api/communication/identity/entra-id-assignment).
103+
The Contoso administrator can provide Fabrikam Entra ID users with access to the Contoso Azure Communication Services resource through the Azure portal or by using the [Entra ID Assignment REST API](https://learn.microsoft.com/rest/api/communication/identity/communication-identity/entra-id-assignment).
104104

105105
In the Azure portal follow these steps:
106106
1. Navigate to your Communication Services resource.
@@ -126,7 +126,7 @@ If you want to check roles in Azure portal, see [List Azure role assignments](..
126126

127127
To construct an Administrator consent URL, the Fabrikam Microsoft Entra Administrator does the following steps:
128128

129-
1. In the URL *https://login.microsoftonline.com/{Tenant_ID}/adminconsent?client_id={Application_ID}*, the Administrator replaces {Tenant_ID} with the Fabrikam [Tenant ID](../concepts/troubleshooting-info.md#get-a-directory-id), and replaces {Application_ID} with the Contoso [Application ID](../../concepts/troubleshooting-info.md#get-an-application-id).
129+
1. In the URL *https://login.microsoftonline.com/{Tenant_ID}/adminconsent?client_id={Application_ID}*, the Administrator replaces {Tenant_ID} with the Fabrikam [Tenant ID](../../concepts/troubleshooting-info.md#get-a-directory-id), and replaces {Application_ID} with the Contoso [Application ID](../../concepts/troubleshooting-info.md#get-an-application-id).
130130
1. The Administrator logs in and grants permissions on behalf of the organization.
131131

132132
The service principal of the Contoso application in the Fabrikam tenant is created if consent is granted. The Fabrikam Administrator can review the consent in Microsoft Entra ID by doing the following steps:
@@ -203,5 +203,5 @@ In this quickstart, you learned how to:
203203
204204
Learn about the following concepts:
205205

206-
- [Support Microsoft Entra ID users in Azure Communication Services](../concepts/identity-model.md#microsoft-entra-id-integrating-with-entra-id)
207-
- [Tenancy in Microsoft Entra ID](/entra/identity-platform/single-and-multi-tenant-apps.md)
206+
- [Support Microsoft Entra ID users in Azure Communication Services](../../concepts/identity-model.md#microsoft-entra-id-integrating-with-entra-id)
207+
- [Tenancy in Microsoft Entra ID](https://learn.microsoft.com/entra/identity-platform/single-and-multi-tenant-apps)

articles/communication-services/quickstarts/identity/includes/entra-id/support-entra-id-users-js.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,15 @@ From the project directory:
7171
app.listen(SERVER_PORT, () => console.log(`Communication access token application started on ${SERVER_PORT}!`))
7272
```
7373

74-
You can import any implementation of the [TokenCredential](/javascript/api/%40azure/core-auth/tokencredential) interface from the [Azure Identity SDK for JavaScript](https://www.npmjs.com/package/@azure/identity) to authenticate with Microsoft Entra ID. In this quickstart, we use the `InteractiveBrowserCredential` class, which is suitable for browser basic authentication scenarios. For a full list of the credentials offered, see [Credential Classes](/javascript/api/overview/azure/identity-readme?view=azure-node-latest#credential-classes).
74+
You can import any implementation of the [TokenCredential](https://learn.microsoft.com/javascript/api/%40azure/core-auth/tokencredential) interface from the [Azure Identity SDK for JavaScript](https://www.npmjs.com/package/@azure/identity) to authenticate with Microsoft Entra ID. In this quickstart, we use the `InteractiveBrowserCredential` class, which is suitable for browser basic authentication scenarios. For a full list of the credentials offered, see [Credential Classes](https://learn.microsoft.com/javascript/api/overview/azure/identity-readme#credential-classes).
7575

7676
1. Save the new file as `obtain-access-token-for-entra-id-user.js` in the `entra-id-users-support-quickstart` directory.
7777

7878
<a name='step-1-obtain-entra-user-token-via-the-identity-library'></a>
7979

8080
### Step 1: Initialize implementation of TokenCredential from Azure Identity SDK
8181

82-
The first step in obtaining Communication Services access token for Entra ID user is getting an Entra ID access token for your Entra ID user by using [Azure Identity](/javascript/api/overview/azure/identity-readme) SDK. The code below retrieves the Contoso Entra client ID and the Fabrikam tenant ID from environment variables named `ENTRA_CLIENT_ID` and `ENTRA_TENANT_ID`. To enable authentication for users across multiple tenants, initialize the `InteractiveBrowserCredential` class with the authority set to `https://login.microsoftonline.com/organizations`. For more information, see [Authority](/entra/identity-platform/msal-client-application-configuration#authority).
82+
The first step in obtaining Communication Services access token for Entra ID user is getting an Entra ID access token for your Entra ID user by using [Azure Identity](https://learn.microsoft.com/javascript/api/overview/azure/identity-readme) SDK. The code below retrieves the Contoso Entra client ID and the Fabrikam tenant ID from environment variables named `ENTRA_CLIENT_ID` and `ENTRA_TENANT_ID`. To enable authentication for users across multiple tenants, initialize the `InteractiveBrowserCredential` class with the authority set to `https://login.microsoftonline.com/organizations`. For more information, see [Authority](https://learn.microsoft.com//entra/identity-platform/msal-client-application-configuration#authority).
8383

8484
```javascript
8585
// This code demonstrates how to fetch your Microsoft Entra client ID and tenant ID from environment variables.

articles/communication-services/quickstarts/identity/includes/entra-id/support-entra-id-users-net.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ namespace EntraIdUsersSupportQuickstart
7777

7878
### Step 1: Initialize implementation of TokenCredential from Azure Identity SDK
7979

80-
The first step in obtaining Communication Services access token for Entra ID user is getting an Entra ID access token for your Entra ID user by using [Azure.Identity](/dotnet/api/overview/azure/identity-readme?view=azure-dotnet) SDK. The code below retrieves the Contoso Entra client ID and the Fabrikam tenant ID from environment variables named `ENTRA_CLIENT_ID` and `ENTRA_TENANT_ID`. To enable authentication for users across multiple tenants, initialize the `InteractiveBrowserCredential` class with the authority set to `https://login.microsoftonline.com/organizations`. For more information, see [Authority](/entra/identity-platform/msal-client-application-configuration#authority).
80+
The first step in obtaining Communication Services access token for Entra ID user is getting an Entra ID access token for your Entra ID user by using [Azure.Identity](https://learn.microsoft.com/dotnet/api/overview/azure/identity-readme?view=azure-dotnet) SDK. The code below retrieves the Contoso Entra client ID and the Fabrikam tenant ID from environment variables named `ENTRA_CLIENT_ID` and `ENTRA_TENANT_ID`. To enable authentication for users across multiple tenants, initialize the `InteractiveBrowserCredential` class with the authority set to `https://login.microsoftonline.com/organizations`. For more information, see [Authority](https://learn.microsoft.com/entra/identity-platform/msal-client-application-configuration#authority).
8181

8282
```csharp
8383
// This code demonstrates how to fetch your Microsoft Entra client ID and tenant ID from environment variables.

articles/communication-services/tutorials/building-app-start.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,5 +461,5 @@ You might also want to:
461461

462462
- [Add chat to your app](../quickstarts/chat/get-started.md)
463463
- [Create user access tokens](../quickstarts/identity/access-tokens.md)
464-
- [Learn about client and server architecture](../concepts/identity-model.md#client-server-architecture)
464+
- [Learn about client and server architecture](../concepts/identity-model.md#client-server-architecture-for-the-bring-your-own-identity-byoi-model)
465465
- [Learn about authentication](../concepts/authentication.md)

articles/communication-services/tutorials/events-playbook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Attendee experience can be directly embedded into an application or platform usi
108108

109109
2. Before developers dive into using [Azure Communication Services](../overview.md), they must [create a resource](../quickstarts/create-communication-resource.md?pivots=platform-azp&tabs=windows&preserve-view=true).
110110

111-
3. Once a resource is created, developers must [generate access tokens](../quickstarts/identity/access-tokens.md?pivots=programming-language-javascript&preserve-view=true) for attendees to access Azure Communication Services. We recommend using a [trusted service architecture](../concepts/identity-model.md#client-server-architecture).
111+
3. Once a resource is created, developers must [generate access tokens](../quickstarts/identity/access-tokens.md?pivots=programming-language-javascript&preserve-view=true) for attendees to access Azure Communication Services. We recommend using a [trusted service architecture](../concepts/identity-model.md#client-server-architecture-for-the-bring-your-own-identity-byoi-model).
112112

113113
4. Developers can leverage [headless SDKs](../concepts/teams-interop.md) or [UI Library](../concepts/ui-library/ui-library-overview.md) using the join link URL to join the Teams meeting through [Teams Interoperability](../concepts/teams-interop.md). Details below:
114114

articles/communication-services/tutorials/file-sharing-tutorial-acs-chat.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ If you want to clean up and remove a Communication Services subscription, you ca
378378
379379
- [Add chat to your app](../quickstarts/chat/get-started.md)
380380
- [Creating user access tokens](../quickstarts/identity/access-tokens.md)
381-
- [Learn about client and server architecture](../concepts/identity-model.md#client-server-architecture)
381+
- [Learn about client and server architecture](../concepts/identity-model.md#client-server-architecture-for-the-bring-your-own-identity-byoi-model)
382382
- [Learn about authentication](../concepts/authentication.md)
383383
- [Add file sharing with UI Library in Teams Interoperability Chat](./file-sharing-tutorial-interop-chat.md)
384384
- [Add file sharing with UI Library in Azure Communication Services Chat](./file-sharing-tutorial-acs-chat.md)

articles/communication-services/tutorials/file-sharing-tutorial-interop-chat.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ And now if the user click on the file attachment card, a new tab opens like the
124124
- [Check UI Library use cases](../concepts/ui-library/ui-library-use-cases.md)
125125
- [Add chat to your app](../quickstarts/chat/get-started.md)
126126
- [Creating user access tokens](../quickstarts/identity/access-tokens.md)
127-
- [Learn about client and server architecture](../concepts/identity-model.md#client-server-architecture)
127+
- [Learn about client and server architecture](../concepts/identity-model.md#client-server-architecture-for-the-bring-your-own-identity-byoi-model)
128128
- [Learn about authentication](../concepts/authentication.md)
129129
- [Add file sharing with UI Library in Azure Azure Communication Services end user Service Chat](./file-sharing-tutorial-acs-chat.md)
130130
- [Add inline image with UI Library in Teams Interoperability Chat](./inline-image-tutorial-interop-chat.md)

articles/communication-services/tutorials/hmac-header-tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,5 @@ To clean up and remove a Communication Services subscription, delete the resourc
4747
- [Add voice calling to your app](../quickstarts/voice-video-calling/getting-started-with-calling.md)
4848
- [Add chat to your app](../quickstarts/chat/get-started.md)
4949
- [Create user access tokens](../quickstarts/identity/access-tokens.md)
50-
- [Learn about client and server architecture](../concepts/identity-model.md#client-server-architecture)
50+
- [Learn about client and server architecture](../concepts/identity-model.md#client-server-architecture-for-the-bring-your-own-identity-byoi-model)
5151
- [Learn about authentication](../concepts/authentication.md)

articles/communication-services/tutorials/includes/trusted-service-js.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ For this tutorial, you create a function app that serves as a trusted token prov
3030

3131
This service is responsible for authenticating users to Communication Services. Users of your Communication Services applications require an access token to participate in chat threads and VoIP calls. The function works as a trusted middleman between the user and Communication Services. You can provision access tokens without exposing your resource connection string to your users.
3232

33-
For more information, see the [client-server architecture](../../concepts/identity-model.md#client-server-architecture) and [authentication and authorization](../../concepts/authentication.md) conceptual documentation.
33+
For more information, see the [client-server architecture](../../concepts/identity-model.md#client-server-architecture-for-the-bring-your-own-identity-byoi-model) and [authentication and authorization](../../concepts/authentication.md) conceptual documentation.
3434

3535
## Set up a function
3636

articles/communication-services/tutorials/inline-image-tutorial-interop-chat.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ When the feature for sending inline images is enabled, you should see something
121121
- [Check UI Library use cases](../concepts/ui-library/ui-library-use-cases.md)
122122
- [Add chat to your app](../quickstarts/chat/get-started.md)
123123
- [Create user access tokens](../quickstarts/identity/access-tokens.md)
124-
- [Learn about client and server architecture](../concepts/identity-model.md#client-server-architecture)
124+
- [Learn about client and server architecture](../concepts/identity-model.md#client-server-architecture-for-the-bring-your-own-identity-byoi-model)
125125
- [Learn about authentication](../concepts/authentication.md)
126126
- [Add file sharing with UI Library in Azure Communication Services Chat](./file-sharing-tutorial-acs-chat.md)
127127
- [Add file sharing with UI Library in Teams Interoperability Chat](./file-sharing-tutorial-interop-chat.md)

0 commit comments

Comments
 (0)