Skip to content

Commit 8c057c8

Browse files
authored
Clarify how to obtain the role ID
1 parent 81381b6 commit 8c057c8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

articles/azure-functions/functions-infrastructure-as-code.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1244,6 +1244,12 @@ For a complete reference example, see [this ARM template](https://github.com/Azu
12441244

12451245
---
12461246

1247+
This example requires you to know the GUID value for the role being assigned. You can get this ID value for any friendly role name by using the [az role definition list](/cli/azure/role/definition#az-role-definition-list) command, as in this example:
1248+
1249+
```azure-cli
1250+
az role definition list --output tsv --query "[?roleName=='Storage Blob Data Owner'].{name:name}"
1251+
```
1252+
12471253
When using a connection string instead of managed identities, you need to instead set the `authentication.type` to `StorageAccountConnectionString` and set `authentication.storageAccountConnectionStringName` to the name of the application setting that contains the deployment storage account connection string.
12481254

12491255
### Deployment package

0 commit comments

Comments
 (0)