Is there a way to copy all the IAM permissions on all resources from one account to another

Michael Carey - Admin 1 Reputation point
2025-01-21T18:40:46.6866667+00:00

we want to migrate a few accounts to having a separate account to access resources in Azure. Is there a way to copy all IAM Access controls for an account to another account?

Azure Role-based access control
Azure Role-based access control
An Azure service that provides fine-grained access management for Azure resources, enabling you to grant users only the rights they need to perform their jobs.
873 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Akhilesh Vallamkonda 11,440 Reputation points Microsoft Vendor
    2025-01-21T21:00:15.6133333+00:00

    Hi @Michael Carey - Admin

    Thank you for reaching Microsoft Q&A Forum!

    If I understand correctly, you would like to copy all the IAM permission roles on all resources of tenant and assign the same roles to same user in another tenant.
    Currently, there is no feature to transfer the roles from one tenant to another tenant. If you move a resource that has an Azure role assigned directly to the resource, the role assignment isn't moved and becomes orphaned. After the move, you must re-create the role assignment. Eventually, the orphaned role assignment is automatically removed, but we recommend removing the role assignment before the move.
    However, you can Download role assignments of your resources and use the list of role assignments in new tenant.
    Reference: Move Azure resources to a new resource group or subscription
    List Azure role assignments using the Azure portal
    Assign Azure roles using the Azure portal
    Hope this helps. Do let us know if you any further queries by responding in the comments section.

    Thanks,

    Akhilesh V.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.