You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-signalr/signalr-howto-authorize-cross-tenant.md
+17-17Lines changed: 17 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: Cross tenant authorization with Microsoft Entra
3
-
description: This article provides information about building multitenant applications and configure authorization in SignalR.
3
+
description: This article provides information about building multitenant applications and configures authorization in SignalR.
4
4
author: terencefan
5
5
ms.author: tefa
6
6
ms.date: 03/12/2023
@@ -12,11 +12,11 @@ ms.custom: subject-rbac-steps
12
12
13
13
# Cross tenant authorization with Microsoft Entra
14
14
15
-
For security reasons, your server may host in a independent tenant from your Azure SignalR resource.
15
+
For security reasons, your server may host in an independent tenant from your Azure SignalR resource.
16
16
17
-
Since managed identity can not be used across tenants, you'll need to register an application in `tenantA` and then provision it as an enterprise application in `tenantB`.
17
+
Since managed identity can't be used across tenants, you need to register an application in `tenantA` and then provision it as an enterprise application in `tenantB`.
18
18
19
-
This doc will help you create an application in `tenantA` and use it to connect to a SignalR resource in `tenantB`.
19
+
This doc help you create an application in `tenantA` and use it to connect to a SignalR resource in `tenantB`.
20
20
21
21
## Register a multitenant application in tenant A
22
22
@@ -28,32 +28,32 @@ The first step is to create a multitenant application.
28
28
29
29
[Quickstart: Register an application in Microsoft Entra ID](/entra/identity-platform/quickstart-register-app)
30
30
31
-
There will be 4 account types:
31
+
There are four account types:
32
32
33
33
1. Accounts in this organizational directory
34
34
2. Accounts in any organizational directory
35
35
3. Accounts in any organizational directory and personal Microsoft accounts
36
36
4. Personal Microsoft accounts
37
37
38
-
Be sure to select either 2 or 3 when creating the application.
38
+
Be sure to select either type 2 or type 3 when creating the application.
39
39
40
40

41
41
42
42
Note down the **Application (client) ID** and **Directory (tenant) ID**, they can be useful in the following steps.
43
43
44
44
## Provision the application in tenant B
45
45
46
-
The role cannot be assigned to the application registered in other tenants. We have to provision it as an external enterprise application in the tenant B.
46
+
The role can't be assigned to the application registered in other tenants. We have to provision it as an external enterprise application in the tenant B.
47
47
48
48
Click to learn [differences between App registration and Enterprise applications](/answers/questions/270680/app-registration-vs-enterprise-applications).
49
49
50
-
For short, the enterprise application is a service principal, while the app registration is not. The enterprise application will inherit certain properties from the application object, such as **Application (client) ID**.
50
+
For short, the enterprise application is a service principal, while the app registration isn't. The enterprise application inherits certain properties from the application object, such as **Application (client) ID**.
51
51
52
-
A default service principal will be created in the tenant where the app is registered. For other tenants, you'll need to provision the app to get an enterprice application service principal, see:
52
+
A default service principal is created in the tenant where the app is registered. For other tenants, you need to provision the app to get an enterprise application service principal, see:
53
53
54
54
[Create an enterprise application from a multitenant application in Microsoft Entra ID](/entra/identity/enterprise-apps/create-service-principal-cross-tenant)
55
55
56
-
Enterprise applications in different tenant will have different **Directory (tenant) ID**, but share the same **Application (client) ID**.
56
+
Enterprise applications in different tenant have different **Directory (tenant) ID**, but share the same **Application (client) ID**.
57
57
58
58
## Assign roles to the enterprise application
59
59
@@ -77,7 +77,7 @@ We strongly recommend you to use the first 2 ways to make cross tenant requests.
77
77
-`clientId` in both tenants are equal.
78
78
-`clientSecret` and `clientCert` should be configured in **Tenant A**, see [Add credentials](/entra/identity-platform/quickstart-register-app?tabs=certificate%2Cexpose-a-web-api#add-credentials)
79
79
80
-
If you are not sure about your tenant ID, see [Find your Microsoft Entra tenant](/azure/azure-portal/get-subscription-tenant-id#find-your-microsoft-entra-tenant)
80
+
If you aren't sure about your tenant ID, see [Find your Microsoft Entra tenant](/azure/azure-portal/get-subscription-tenant-id#find-your-microsoft-entra-tenant)
However, for security reasons, certificates and client secrets might be disabled in your subscription. In this case, you'll need to either use an external identity providor or try the preview support for managed identity.
98
+
However, for security reasons, certificates and client secrets might be disabled in your subscription. In this case, you need to either use an external identity provider or try the preview support for managed identity.
99
99
100
100
-[Configure an app to trust an external identity provider](/entra/workload-id/workload-identity-federation-create-trust)
101
101
-[Configure an application to trust a managed identity (preview)](/entra/workload-id/workload-identity-federation-config-app-trust-managed-identity)
Ifyoudon't know where to get it, see [How Retrieve Enterprise Object Id](/answers/questions/1007608/how-retrieve-enterprise-object-id-from-azure-activ)
172
+
Ifyoudon't know where to get it, see [How Retrieve Enterprise Object ID](/answers/questions/1007608/how-retrieve-enterprise-object-id-from-azure-activ)
IfyouarenotsureaboutyourtenantID, see [FindyourMicrosoftEntratenant](/azure/azure-portal/get-subscription-tenant-id#find-your-microsoft-entra-tenant)
178
+
Ifyouaren't sure about your tenant ID, see [Find your Microsoft Entra tenant](/azure/azure-portal/get-subscription-tenant-id#find-your-microsoft-entra-tenant)
0 commit comments