Open jbpaux opened 5 years ago
Ok I think I figured it out. In the token, the Autority ends with / like in my case https://adfs.region.fqdn/tenantid/ while in the code it's looking as only the tenant id as suffix: https://github.com/hashicorp/go-azure-helpers/blob/5e51ac013932f1c9434224349e74d77be738739c/authentication/azure_cli_access_token.go#L29
@tombuildsstuff if you can have a look ;)
It may be related to this also. Azure cli remove the tenantid in the stored token :( https://github.com/Azure/azure-cli/issues/9779
Any update on this issue? I running into this exact issue with my connected ADFS Azure Stack environment.
Hello, I'm struggling in authenticate in an ADFS Disconnected Azure Stack with Azure Stack Terraform Provider using Azure CLI Tokens.
Versions:
Steps performed:
Tenant id is correct. I don't know why it add https://management.adfs.azstack.local/ in front of it but why not.