Create custom roles in a subscription
Note
|
Before Using
|
Before deploying any resources to your subscription, you first need to create roles and permissions for team members. The default roles are discussed elsewhere in the docs, and you can modify these by editing the roles/aad.roles.json file.
This script can be used to create these roles. To use this script, open a terminal/command line, navigate to the root of the toolkit folder, and then run the following command:
python role_creation.py -r {path to your role file} -sid {your subscription id}
python3 role_creation.py -r {path to your role file} -sid {your subscription id}
py role_creation.py -r {path to your role file} -sid {your subscription id}
Argument | Required? | Description |
---|---|---|
|
Required |
Path to your roles file. Default path is |
|
Required |
Specifies the subscription identifier where the script defines roles. |
After these roles are created in the subscription, you can assign users as appropriate before proceeding with the deployment of resources.
See these articles in the Azure documentation: