Hello, I am currently exploring lifecycle management policies for ADLS Gen 2 / Hierarchical namespace enabled storage accounts and have a query on it.
For us, there is a root container and different processes are creating content in it by creating their own folders. E.g. rootcontainer/process-1/subfolder-1 and rootcontainer/process-2/subfolder-1/inner-folder-1 and so on.. Note that, It is not a fixed structure but folder hierarchy will be defined by business processes and can be quite deep and names of these folders and subfolders can be different too.
In terms of lifecycle management rules, what we want is - there should be a single rule that takes of deleting / processing all blobs after say 30 days that are stored under these different folders inside the rootcontainer i.e. irrespective of nested folders.
Is it possible since wildcards are not supported in blob prefix while defining the rule? OR the only option is to create a lifecycle management policy targeting each folder?
The reason of defining rule at root container level makes sense is because we do not have control over business processes creating their content inside the rootcontainer and so will not be able to create different rules targeting each folder and subfolder does not sound practical and there may be a possibility to hit the max rules allowed threshold in future.

Any details or potential workaround or suggestion will be appreciated.