Azure Data Lake Filesystem giving error when destroying

Hi everyone.

I have a Terraform script that creates a data lake gen2 on Azure, assigns the role “Storage Blob Data Owner” and creates a filesystem.
While this works flawlessly deploying, it gives an error when destroying since apparently the role is removed first then the delete of the filesystem.

Is this normal? How to control this?
I believe dependencies should be handled by Terraform right?

Thank you

Error: Error retrieving File System “edh” in Storage Account “adlanalytics”: datalakestore.Client#GetProperties: Failure responding to request: StatusCode=403 – Original Error: autorest/azure: error response cannot be parsed: “” error: EOF