Granting external user access to Azure Resource group during the specific time frame only?

EnterpriseArchitect 6,041 Reputation points
2023-06-19T01:34:38.32+00:00

How can I grant the external contractors access to my Azure tenant but to specific Resource groups only for a 1-year maximum duration?

The account must be secured by MFA/2FA as I am using Azure AD Premium P2.

Microsoft Security Microsoft Entra Microsoft Entra ID
Microsoft Security Microsoft Entra Other
{count} votes

1 answer

Sort by: Most helpful
  1. JamesTran-MSFT 36,906 Reputation points Microsoft Employee Moderator
    2023-06-21T19:30:19.2933333+00:00

    @EnterpriseArchitect

    Thank you for your post!

    I understand that you want to grant external contractors access to your Azure tenant for a specific Resource Group, timeline (1 year), and the users need to be secured via MFA. To hopefully point you in the right direction or resolve your issue, I'll share my findings below.

    Findings:

    When it comes to managing these external contractors / users the best way that I found to do this would be:

    1. Create Azure AD guest user accounts for the external contractors.
    2. Assign the guest user accounts to an Azure AD group that you create specifically for this purpose.
    3. Assign or create a custom Azure RBAC role that grants the necessary permissions to the resource group(s).
    4. Assign the RBAC role to the Azure AD group that you created.
    5. Configure a Conditional Access Policy for the Azure AD group to require MFA.
    6. Set an expiration date for the guest user accounts to limit the duration of access. For more info, please refer to the links below.

    User's image


    Additional Links:

    I hope this helps!

    If you have any other questions, please let me know. Thank you for your time and patience throughout this issue.


    If the information helped address your question, please Accept the answer. This will help us and also improve searchability for others in the community who might be researching similar information.


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.