You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unable to provide application_template_id while trying to create enterprise application in azure portal with AWS app type
Below is the error that i received on terraform apply
Error: Unsupported argument
│
│ on azure-role-definition.tf line 27, in resource "azuread_service_principal" "azuread-service-principal":
│ 27: applicationTemplateId = "xxxx-xxxx-xxxx-xxxx"
│
│ An argument named "applicationTemplateId" is not expected here.
Panic Output
Expected Behavior
It should be supporting applicationTemplateId field which is a mandatory param while creating azure Active directory Service Principal in Azure portal via terraform
Actual Behavior
applicationTemplateId field is not identified by terraform
Steps to Reproduce
Create Enterprise application with AWS template in Active directory via terraform
Below is my terraform file
resource "azuread_application" "azuread-application-list" {
name = random_string.globalrandom1.result
homepage = "valid_url"
available_to_other_tenants = false
application_template_id = "ID_AWS"
Hi @padma33, thanks for requesting this feature! Although I have not yet looked into this in depth, this appears to be a combination of the attribute you requested on the azuread_application resource, application_template_id and another operation/resource for instantiating gallery applications.
We will be able to look at adding this functionality once we have completed our current transition to Microsoft Graph and the provider has reached the next major version (v2). This work is underway right now and you can track progress in #323.
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.
Community Note
Terraform (and AzureAD Provider) Version
Affected Resource(s)
azuread_XXXXX
Terraform Configuration Files
Debug Output
Unable to provide application_template_id while trying to create enterprise application in azure portal with AWS app type
Below is the error that i received on terraform apply
Error: Unsupported argument
│
│ on azure-role-definition.tf line 27, in resource "azuread_service_principal" "azuread-service-principal":
│ 27: applicationTemplateId = "xxxx-xxxx-xxxx-xxxx"
│
│ An argument named "applicationTemplateId" is not expected here.
Panic Output
Expected Behavior
It should be supporting applicationTemplateId field which is a mandatory param while creating azure Active directory Service Principal in Azure portal via terraform
Actual Behavior
applicationTemplateId field is not identified by terraform
Steps to Reproduce
Create Enterprise application with AWS template in Active directory via terraform
Below is my terraform file
resource "azuread_application" "azuread-application-list" {
name = random_string.globalrandom1.result
homepage = "valid_url"
available_to_other_tenants = false
application_template_id = "ID_AWS"
}
resource "azuread_service_principal" "azuread-service-principal" {
application_id = azuread_application.azuread-application-list.application_id
}
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: