@Sasanapuri, Yogesh
Please see the sample code available for listing directories under a path on GitHub. Please give this a try and let us know if you run into any issues.
Hope this helps! If you are still facing issues please provide the code you are running along with any error messages you are receiving.
-------------------------------
Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.