This PR partially resolves #59 and might close it too.
Main goal is to provide full feature parity for AADInternal's killchain functions as an outsider (OSINT).
The Get-TenantDomains function in AccessToken_utils.ps1 now parses first the well-known openId configuration to grab the appropriate tenant region and tenant region sub-scope. Then the URI for the exchange AutoDiscover service endpoints are appropriately adjusted based on the detected region/sub-region of the tenant.
This enables the Get-TenantDomains function to know work with the following clouds:
Commercial/NA/EU/WW...etc. (previously worked)
GCC (previously worked)
GCC High
DoD
Endpoints not addressed by this PR:
China/21vianet (don't know those exchange endpoints).
Potentially Germany's sovereign cloud (if it doesn't use the WW endpoints).
This PR partially resolves #59 and might close it too.
Main goal is to provide full feature parity for AADInternal's killchain functions as an outsider (OSINT).
The Get-TenantDomains function in AccessToken_utils.ps1 now parses first the well-known openId configuration to grab the appropriate tenant region and tenant region sub-scope. Then the URI for the exchange AutoDiscover service endpoints are appropriately adjusted based on the detected region/sub-region of the tenant.
This enables the Get-TenantDomains function to know work with the following clouds:
Endpoints not addressed by this PR: