Hello @Ravi Sai Somasekhar Mahasiva,
Thanks for the question and using MS Q&A platform.
You can easily get the size of a folder in ADLS Gen2 using Azure Storage Explorer
Step1: Download the Azure Storage Explorer: https://azure.microsoft.com/en-us/products/storage/storage-explorer
Step2: Install the storage explorer and then Sign-in with your Azure Account.
Step3: Open the folder which you would like to view the size details.
On the top bar menu choose More -> Folder Statistics will help you get the details of the Directory including the size in bytes.
You can also get this details programatically using PowerShell or Python
Powershell: https://azuredude.blogspot.com/2020/10/get-azure-data-lake-gen2-container.html
Hope this helps. Do let us know if you any further queries.
Please don’t forget to Accept Answer
wherever the information provided helps you, this can be beneficial to other community members.