Click here to Skip to main content
15,888,069 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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 .
Posted
Updated 30-Jul-17 21:01pm

1 solution

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

Quote:
please provide me the solution

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!)
 
Share this answer
 
v2
Comments
Member 13336959 31-Jul-17 3:06am    
Please provide solution.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900