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

前端 未结 2 1001
猫巷女王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/

提交回复
热议问题