Closed TheBlackMini closed 2 years ago
Hi @TheBlackMini,
The example error shown here is with Terraform version v1.2.4, but the linked PR is not going to be released until v1.3. If you are having a problem with v1.2 I don't think it's because of changes in #31070. In order to use ADAL you must set use_microsoft_graph
to false
, see https://www.terraform.io/language/settings/backends/azurerm.
Since Terraform is working as designed here, I'm going close this out for now. If you have more questions, it's better to use the community forum where there are more users familiar with the specific details of Azure.
Thanks!
So your answer to this is to version lock at 1.2.x, what about future support?
@TheBlackMini, I believe that was the intent, which follows the Microsoft documentation indicating that old versions of the Azure ACLI, PowerShell, etc. will all need to be maintained to continue using Stack Hub with ADAL. Perhaps @tombuildsstuff has more comments on the situation.
Hi @TheBlackMini, thanks for reporting this. We're aware that some Microsoft platforms such as ADFS continue to rely on deprecated AAD backends like the ADAL/v1 authentication service, and Azure Active Directory Graph API. However, as per public guidance from Microsoft we are transitioning our products away from these legacy systems - which whilst originally scheduled for sunset in June, are both now marked for end-of-life by December 2022.
As part of this transition, we do pass milestones where it becomes increasingly impractical to continue supporting both of these legacy systems. In light of the service extension amid the continued dependence on ADAL by ADFS, this has led to a short period where the latest version of the Terraform AzureRM backend doesn't support ADFS.
At this time, our recommendation is to pin your Terraform version to v1.2.x. We recognize this is not an ideal solution, however it is our presumption that ADFS will likely begin supporting MSAL in the near future, particularly as the extended deadline looms in the next few months.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
This pull request has removed support for Azure Stack Hub when using ADFS as it's identity platform.
See here for confirmation that ADAL is still used by Azure Stack Hub.
Terraform Version
Terraform Configuration Files
Debug Output
Expected Behavior
Terraform should continue the support of ADAL for Azure Stack Hub users until an update occurs to ADFS.
Actual Behavior
Support has been removed by the core team.
Steps to Reproduce
terraform init
Additional Context
References
31070