Azure P2S VPN with Entra tenant configuration

Alex 495 Reputation points
2023-12-11T04:48:33.79+00:00

Hello,

How to use Azure RBAC with Azure P2S VPN configuration using Microsoft Entra tenant?

As far as I understand and configured, anybody (users/groups) who have access to that tenant will be able to use that VPN, right?

I believe we can control the access to that VPN resource through RBAC, but I am looking to control at the Tenant level, so that even if someone gets the VPN client configuration, they will not be able to authorize because they will not have access to that tenant.

Correct me if my understanding is wrong.

Thank you.

Azure VPN Gateway
Azure VPN Gateway
An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
1,795 questions
0 comments No comments
{count} votes

Accepted answer
  1. KapilAnanth-MSFT 49,611 Reputation points Microsoft Employee Moderator
    2023-12-11T06:20:55.26+00:00

    @Alex

    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.

    Can you please specify what exactly you mean by "access".

    In terms of accessing the VPN Gateway and in turn updating the P2S Configuration on the Azure Portal,

    • Yes, all users would be by default have access to the VPN Gateway for CRUD operations in the Azure Portal.
    • However, you can use RBAC to limit the permissions assigned to an user to control their access level for CRUD operations in the Azure Portal for VPN Gateway (or any Azure resource for that matter)
    • Assign Azure roles
    • Create or update Azure custom roles

    In terms of connecting to the VPN Gateway for P2S (Data transfer) from a remote computer,

    • If you are using Azure AD Authentication for P2S, then yes, every user in the tenant will be able to authenticate and connect to the P2S by default.
    • You can also Configure P2S access based on users and groups, please refer here. (this is not RBAC)

    To address your question, "even if someone gets the VPN client configuration, they will not be able to authorize because they will not have access to that tenant."

    • Yes
    • A malicious actor outside your tenant will not be able to authenticate and thus, will not be able to connect.

    Thanks,

    Kapil


    Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.