Open antkmsft opened 1 year ago
@jiasli for awareness
We do support Azure Stack.
According to the error message:
Unable to get authority configuration for https://login.microsoftonline.com/adfs. Authority would typically be in a format of https://login.microsoftonline.com/your_tenant Also please double check your tenant name or GUID is correct.
AADSTS90002: Tenant 'adfs' not found. Check to make sure you have the correct tenant ID and are signing into the correct cloud. Check with your subscription administrator, this may happen if there are no active subscriptions for the tenant.
It looks like your activeDirectory
endpoint is set to https://login.microsoftonline.com/adfs
, which is not correct as the domain is Azure Cloud. An ADFS endpoint usually looks like https://adfs.redmond.azurestack.corp.microsoft.com/adfs
.
Could you share the result of az cloud show
?
@rayluo for awareness.
I would expect to get ADFS token with the following command line:
az account get-access-token --output json --resource "https://vault.azure.net/" --tenant "adfs"
Currently I get: