Answered by:
Retrieve tenant sub-tenant subscriptions

Question
-
How can I through the API retrieve my tenants sub-tenants subscriptions?
For example:
admin
-> User1
* User1 Subscription (Delegated offer)
-> User2
* User2 Subscription (based on User1 subscription)When I retrieve subscriptions for my provider tenant I only retrieve the "User1 subscription" while I can't see the User2 subscription.
I'm using the following api call to retrieve subscriptions under my provider subscription:
GET https://adminmanagement.local.azurestack.external/subscriptions/default_provider_subscr_id/subscriptions?api-version=2015-11-01
Wednesday, September 27, 2017 1:58 PM
Answers
-
Hello,
I’m researching if and exactly how to do this in Azure Stack and will get back you ASAP.
In the interim please see the following
Usage and Billing in Azure Stack
Report Azure Stack usage data to Azure
Let us know how it goes,
We apologize for any inconvenience and appreciate your time and interest in Azure Stack.
If you continue experience any issues with ASDK release, feel free to contact us.
PowerShell giving you the Blues? Try my Azure Stack PowerShell Helper scripts
ASDK: Install/Import Azure Stack Modules 1.2.10 & AzureStack-Tools
ASDK: Config PowerShell & set AdminStackAdmin/User ARM Endpoints
Thanks,
Gary Gallanes
- Proposed as answer by Gary Gallanes [HCL Technologies] Wednesday, September 27, 2017 9:16 PM
- Marked as answer by Gary Gallanes [HCL Technologies] Thursday, November 30, 2017 5:29 PM
Wednesday, September 27, 2017 9:16 PM
All replies
-
Hello,
I’m researching if and exactly how to do this in Azure Stack and will get back you ASAP.
In the interim please see the following
Usage and Billing in Azure Stack
Report Azure Stack usage data to Azure
Let us know how it goes,
We apologize for any inconvenience and appreciate your time and interest in Azure Stack.
If you continue experience any issues with ASDK release, feel free to contact us.
PowerShell giving you the Blues? Try my Azure Stack PowerShell Helper scripts
ASDK: Install/Import Azure Stack Modules 1.2.10 & AzureStack-Tools
ASDK: Config PowerShell & set AdminStackAdmin/User ARM Endpoints
Thanks,
Gary Gallanes
- Proposed as answer by Gary Gallanes [HCL Technologies] Wednesday, September 27, 2017 9:16 PM
- Marked as answer by Gary Gallanes [HCL Technologies] Thursday, November 30, 2017 5:29 PM
Wednesday, September 27, 2017 9:16 PM -
Hi Gary,
Thanks for looking into this for me. I've read through the links you gave me. After I've tried different requests I still can't retrieve the tenant subscriptions. In the portal the sub-tenant subscriptions looks like they belong to a specific user, but retrieving all subscriptions from the admin tenant they are not visible.
I'm pretty sure it has to do with the tree structure of tenants. But somehow it must be possible to retrieve the sub-tenant subscriptions as an admin in order to handle billing.
Friday, September 29, 2017 6:56 AM -
Gary, any updates on this issue?
Cheers
Monday, October 9, 2017 11:30 AM