Hello , Welcome to MS Q&A
Azure Blob Storage Lifecycle Management Policies allow you to apply rules using filters such as blobTypes, prefixMatch, and blobIndexMatch. These filters help define which blobs are affected by the lifecycle management rules. However, directly excluding specific subfolders based on an ID code within their names is not natively supported by these filters.
To achieve this, you might consider implementing a custom solution using Azure Functions or Logic Apps. These tools can provide the flexibility needed to create more granular rules. If you're interested in exploring how to set up such a custom solution,
For more detailed information, you can refer to the following Microsoft documentation:
Please let us know if any ques
Kindly accept answer if it helps
Thanks
Deepanshu