In Azure, how to allow non-subscription admins to create new resources

前端 未结 2 1002
猫巷女王i
猫巷女王i 2021-02-10 00:29

I have a Resource Group (RG) in Azure. I am the subscription admin and in the RG my role is Owner. I also have two other users assigned to this RG, and their roles are also Owne

相关标签:
2条回答
  • 2021-02-10 01:29

    Yes, you can do that, 2 ways, grant permission to register resource providers or register all resource providers upfront.

    To register resource providers use powershell or cli. powershell sample:

    Get-AzureRmResourceProvider -ListAvailable | Where-Object { $_.RegistrationState -eq 'NotRegistered'} | Register-AzureRmResourceProvider
    

    Or use the portal. Go to subscriptions, pick subscription in question, pick resource providers and register needed resource providers.

    Reference:
    https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-overview

    Explanation: https://blogs.msdn.microsoft.com/azure4fun/2016/10/20/common-problem-when-using-azure-resource-groups-rbac/

    0 讨论(0)
  • 2021-02-10 01:36

    Yes. You can. In the Subscriptions Tab on the left of your portal screen, select your subscription and go to IAM (Identity and Access Management). Select the role that you wish to give to the users in this case "SQL Server Contributor" and add the users. Contributor role will give them the right to create/delete resources but not the right to give access to the same resource to other users. Check this link for more details.

    You can register the required resources provides in the same Subscriptions Tab, in the Resource Providers section.

    0 讨论(0)
提交回复
热议问题