Open DrummyFloyd opened 3 months ago
encountered the same issue for applications. Adding the permissions Application.ReadWrite.All, User.Read.All (as indicated here https://registry.terraform.io/providers/hashicorp/azuread/latest/docs/resources/application) for the service principal resolved it. Provider Version 1.4.0 does not provide an error message.
Is there an existing issue for this?
Affected Resource(s)
apiVersion: applications.azuread.upbound.io/v1beta1 kind: Application
Resource MRs required to reproduce the bug
Steps to Reproduce
create cred with following command like the readme explains
What happened?
i have to manually add these permission to allow App to be created
https://learn.microsoft.com/fr-fr/graph/permissions-reference#applicationreadwriteownedby
but i do this with the same TF Provider Version i got not issue (i use the same login on both side)
terraform { required_providers { azurerm = { source = "hashicorp/azurerm" version = "3.52.0" } azuread = { source = "hashicorp/azuread" version = "2.47.0" } } }
provider "azurerm" { features {} }
provider "azuread" {
}
data "azurerm_client_config" "current" {} resource "azuread_application" "eso-app" { display_name = "External Sectret Demo App" owners = [data.azurerm_client_config.current.object_id]
logo_image = filebase64("/path/to/logo.png")
} output "objectid" { value = data.azurerm_client_config.current.object_id }