Introduction
Sometimes you need to give people just the right permissions in Azure, not too many and not too few. Custom role definitions let you create your own permission sets tailored to your needs.
When you want to allow a user to manage only virtual machines but not storage accounts.
When you need to give a team permission to read resources but not change them.
When built-in roles are too broad or too narrow for your organization's security rules.
When you want to limit access to specific actions like starting or stopping services.
When you want to create a role for a temporary project with unique permission needs.