我们如何使用单个应用ID获取多个域订阅 [英] How we are getting multiple domains subscriptions using single app id

查看:76
本文介绍了我们如何使用单个应用ID获取多个域订阅的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我的azure帐户中有不同的活动域,每个域都有不同的订阅。为了获得每个域订阅,我们正在使用App ID和App secrete。

现在我的问题是:我需要一个共同的应用程序ID和应用程序为所有域分泌才能获得订阅。只有我需要更改为租户ID而不是应用ID。如何使用Azure Rest api(ARM)。



注意:如果我们使用多租户ID概念,请提供Azure rest API中的解决方案,了解我们如何使用单个应用ID获取多个域订阅



我尝试了什么:



1.我在一个域中创建了一个应用ID将属性设置为多租户ID,但我不会在另一个域中反映。

Hi,
I have different active domains in my azure account and each domain having different subscriptions. for getting each domain subscriptions we are using App ID and App secrete.
Now my question is : i need a common app id and app secrete for the all domains to get the subscriptions. Only i need to change to Tenant Id not app Id. How can i get using Azure Rest api (ARM).

Note: If we using Multi tenant ID concept , please provide solution in Azure rest API for how we are getting multiple domains subscriptions using single app id

What I have tried:

1. I created one app id in one domain and set property as Multi tenant id but i wont reflect in another domain .

推荐答案

这是一个很好的起点:多租户SaaS应用程序和Azure SQL数据库的设计模式Microsoft Docs [ ^ ]



Here is a great place to start: Design patterns for multi-tenant SaaS applications and Azure SQL Database | Microsoft Docs[^]

Quote:

请给我解决方案



以上是起点 - 该链接中有很多有价值的信息。



但是,如果你想要更多,只需要很少的努力,一个简单的谷歌搜索会为你提供一些工作示例:



搜索: source c#azure mvc tenant [ ^ ]



查找以下内容:

* Azure Samples·GitHub [ ^ ]> 多租户样本·GitHub [ ^ ]

* 使用ASP.NET MVC的多租户(SaaS)应用程序,Angularjs,EntityFramework和ASP.NET Boilerplate - CodeProject [ ^ ]

* 在Microsoft Azure中创建多租户应用程序 [ ^ ]

* 使用ASP.NET Core构建多租户应用程序(ASP.NET 5) [ ^ ]

*等...(我的第一次尝试在搜索!)


Above is the starting point - there is a lot of valuable information in that link.

But, if you want more, with very little effort, a simple Google Search turns up a tonne of working examples for you:

Search: source c# azure mvc tenant[^]

Finds the following:
* Azure Samples · GitHub[^] > Multitenant Samples · GitHub[^]
* A Multi-Tenant (SaaS) Application With ASP.NET MVC, Angularjs, EntityFramework and ASP.NET Boilerplate - CodeProject[^]
* Creating multi-tenant applications in Microsoft Azure[^]
* Building multi-tenant applications with ASP.NET Core (ASP.NET 5)[^]
* and so on... (my first attempt at searching!)


这篇关于我们如何使用单个应用ID获取多个域订阅的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆