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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.