Skip to content
This repository has been archived by the owner on Jun 19, 2021. It is now read-only.
/ azuresubtenant Public archive

Azure Functions project that returns the AAD Tenants associated to the Azure Subscriptions that were passed in.

Notifications You must be signed in to change notification settings

maucaro/azuresubtenant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

azuresubtenant

Azure Functions project invoked by a WebHook that receives a JSON array of Azure Subscription IDs in the form of [ {"SubscriptionGuid": "12345678-aadd-1234-123456789012"}, {"SubscriptionGuid": "12345678-aadd-1234-123456789013"}, .... ]

and returns the subscriptions with their corresponding AAD Tenant in the form of: [ {"SubscriptionGuid": "12345678-aadd-1234-123456789012", "AADTenant": "abcdefgh-1234-5678-234567890123"}, {"SubscriptionGuid": "12345678-aadd-1234-123456789013", "AADTenant": "abcdefgh-1234-5678-234567890124"}, .... ]

Implements the technique described here: http://stackoverflow.com/questions/26384034/how-to-get-the-azure-account-tenant-id

About

Azure Functions project that returns the AAD Tenants associated to the Azure Subscriptions that were passed in.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages