Using AD authentication adds a difference in how the command has to be done. Try using:
AzureBlobStorage.ListRootFolderV4("mystorageaccountname").value
I couldn't get it to work in ListFolderV2 and had to use ListFoderV4 in order to make it work. I realize that you are listing folders. I ended up listing the root folder and then selecting a folder under that in a different gallery.
First gallery uses: AzureBlobStorage.ListRootFolderV4("mystorageaccountname").value
Second gallery uses: AzureBlobStorage.ListFolderV4("mystorageaccountname",Gallery1.Selected.Id).value
For me this works but both have to be used in V4 and not V2. I couldn't get either V2 to work.