AzureData Lake provisioning - Error 403

I’m trying to create 3 datalakes using terraform by I’m getting a 403 error.

I’m using a admin account with owner roler. I also tried to create an SP and set Blob Reader Role.

Below find my code and the errror

Terraform v1.2.1 on windows_amd64

provider Terraform Registry v2.22.0
provider Terraform Registry v3.7.0

resource "azurerm_storage_data_lake_gen2_filesystem" "stg-datalake" {
for_each = toset(["bronze", "silver", "gold"])
name = each.value
storage_account_id =

ace {
scope = "access"
type = "user"
id = azurerm_data_factory.adf.identity[0].principal_id
permissions = "rwx"

Error: Error: checking for existence of existing File System “gold” (Account “stgaclientteste”): datalakestore.Client#GetProperties: Failure responding to request: StatusCode=403 – Original Error: autorest/azure: error response cannot be parsed: {"" ‘\x00’ ‘\x00’} error: EOF

Since there’s no info regarding permissions needed to create a datalake I’d like to get any help to solve it