Skip to content

Commit 3ba5234

Browse files
author
Tiago Brenck
authored
Merge pull request #308 from Azure-Samples/tibre/updateMT_Readme
Added reference to multi-tenant data architecture docs
2 parents 8bc219b + 50b5a58 commit 3ba5234

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

2-WebApp-graph-user/2-3-Multi-Tenant/README-National-Cloud.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,8 @@ services.Configure<OpenIdConnectOptions>(AzureADDefaults.OpenIdScheme, options =
314314

315315
There are two common scenarios regarding data partition on a multi-tenant app. Having a separate database for each tenant or having a single database and using the **tenantId** to separate the data of each tenant. In this sample, we have taken the single database approach to save the ToDo items for all users from all tenants.
316316

317+
If you want to read more about data architecture on multi-tenant apps, please refer to [Multi-tenant SaaS database tenancy patterns](https://docs.microsoft.com/azure/sql-database/saas-tenancy-app-design-patterns)
318+
317319
`TodoListController.cs` has the basic CRUD actions for `ToDoItem` and each operation takes into account the signed user's **tenantId** to separate data from each tenant. The tenantId can be found in the user' claims.
318320

319321
### Acquiring Access token for Microsoft Graph for each tenant
@@ -362,6 +364,7 @@ To learn more about single and multi-tenant apps
362364
- [Application and service principal objects in Azure Active Directory](https://docs.microsoft.com/en-us/azure/active-directory/develop/app-objects-and-service-principals)
363365
- [National Clouds](https://docs.microsoft.com/en-us/azure/active-directory/develop/authentication-national-cloud)
364366
- [Endpoints](https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-v2-protocols#endpoints)
367+
- [Multi-tenant SaaS database tenancy patterns](https://docs.microsoft.com/azure/sql-database/saas-tenancy-app-design-patterns)
365368

366369
To learn more about admin consent experiences
367370
- [Understanding Azure AD application consent experiences](https://docs.microsoft.com/en-us/azure/active-directory/develop/application-consent-experience)

2-WebApp-graph-user/2-3-Multi-Tenant/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,8 @@ services.Configure<OpenIdConnectOptions>(AzureADDefaults.OpenIdScheme, options =
290290

291291
There are two common scenarios regarding data partition on a multi-tenant app. Having a separate database for each tenant or having a single database and using the **tenantId** to separate the data of each tenant. In this sample, we have taken the single database approach to save the ToDo items for all users from all tenants.
292292

293+
If you want to read more about data architecture on multi-tenant apps, please refer to [Multi-tenant SaaS database tenancy patterns](https://docs.microsoft.com/azure/sql-database/saas-tenancy-app-design-patterns)
294+
293295
`TodoListController.cs` has the basic CRUD actions for `ToDoItem` and each operation takes into account the signed user's **tenantId** to separate data from each tenant. The tenantId can be found in the user' claims.
294296

295297
### Acquiring Access token for Microsoft Graph for each tenant
@@ -343,6 +345,7 @@ To learn more about single and multi-tenant apps
343345
- [Application and service principal objects in Azure Active Directory](https://docs.microsoft.com/en-us/azure/active-directory/develop/app-objects-and-service-principals)
344346
- [National Clouds](https://docs.microsoft.com/en-us/azure/active-directory/develop/authentication-national-cloud)
345347
- [Endpoints](https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-v2-protocols#endpoints)
348+
- [Multi-tenant SaaS database tenancy patterns](https://docs.microsoft.com/azure/sql-database/saas-tenancy-app-design-patterns)
346349

347350
To learn more about admin consent experiences
348351
- [Understanding Azure AD application consent experiences](https://docs.microsoft.com/en-us/azure/active-directory/develop/application-consent-experience)

0 commit comments

Comments
 (0)