I tried to follow this link: List folder in Azure Gen2 storage account with sas
following above link from postman and I am getting authorization error. what else should be added in header?
I tried to follow this link: List folder in Azure Gen2 storage account with sas
following above link from postman and I am getting authorization error. what else should be added in header?
I got same error in my environment; I just add below details. Now it’s working fine in postman
Go to azure storage account gen2 -> click on access control -> click on add ->add role assignment and select contributor as role, then select your service principle and save.
SAS token Syntax
https://<StorageURL>/<Container>?directory=<DirectoryName>&restype=container&comp=list&<SASToken>
For more information follow this SO thread by Ivan Yang and this reference link