Home > Net >  Azure Data Lake Storage Gen2 REST API - List filesystems - "code": "AuthorizationPerm
Azure Data Lake Storage Gen2 REST API - List filesystems - "code": "AuthorizationPerm

Time:11-11

I try to get list filesystems and their properties in the Azure Storage account using request:

https://<account_name>.dfs.core.windows.net/?resource=account

with one header enter image description here

As a Solution ,

  1. I added Storage Account Contributor role to the Service Principal which I am using to get the bearer token as below:

    enter image description here

  2. Then , I get the bearer token using below client_credentials method:

    enter image description here

  3. After the above, When I perform the same request again then it gets successful:

    enter image description here

  • Related