0
votes

I am exploring Azure REST APIs to collect some information for Role Assignments. I created a Custom Role and added permissions to it. When permissions are being added to storage accounts, there are two types of actions - Actions and Data Actions.

When I tried to retrieve the Role Definition through Role Definitions - Get API explained here: https://docs.microsoft.com/en-us/rest/api/authorization/roledefinitions/get

It only returns Actions and not Data Actions.

enter image description here

1

1 Answers

1
votes

DataActions are still in preview.

To work with DataActions in the REST API, please set the api-version to 2018-01-01-preview.