Set up private access (preview)

In this guide, you'll learn how to disable public access to your Azure Managed Grafana workspace and set up private endpoints. Setting up private endpoints in Azure Managed Grafana increases security by limiting incoming traffic only to specific network.


Private access is currently in PREVIEW. See the Supplemental Terms of Use for Microsoft Azure Previews for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.


Disable public access to a workspace

Public access is enabled by default when you create an Azure Grafana workspace. Disabling public access prevents all traffic from accessing the resource unless you go through a private endpoint.


When private access (preview) is enabled, pinging charts using the Pin to Grafana feature will no longer work as the Azure portal can’t access a Managed Grafana workspace on a private IP address.

  1. Navigate to your Azure Managed Grafana workspace in the Azure portal.

  2. In the left-hand menu, under Settings, select Networking (Preview).

  3. Under Public Access, select Disabled to disable public access to the Azure Managed Grafana workspace and only allow access through private endpoints. If you already had public access disabled and instead wanted to enable public access to your Azure Managed Grafana workspace, you would select Enabled.

  4. Select Save.

    Screenshot of the Azure portal disabling public access.

Create a private endpoint

Once you have disabled public access, set up a private endpoint with Azure Private Link. Private endpoints allow access to your Azure Managed Grafana workspace using a private IP address from a virtual network.

  1. In Networking (Preview), select the Private Access tab and then Add to start setting up a new private endpoint.

    Screenshot of the Azure portal selecting Add button.

  2. Fill out the Basics tab with the following information:

    Parameter Description Example
    Subscription Select an Azure subscription. Your private endpoint must be in the same subscription as your virtual network. You'll select a virtual network later in this how-to guide. MyAzureSubscription
    Resource group Select a resource group or create a new one. MyResourceGroup
    Name Enter a name for the new private endpoint for your Azure Managed Grafana workspace. MyPrivateEndpoint
    Network Interface Name This field is completed automatically. Optionally edit the name of the network interface. MyPrivateEndpoint-nic
    Region Select a region. Your private endpoint must be in the same region as your virtual network. (US) West Central US

    Screenshot of the Azure portal filling out Basics tab.

  3. Select Next : Resource >. Private Link offers options to create private endpoints for different types of Azure resources. The current Azure Managed Grafana workspace is automatically filled in the Resource field.

    1. The resource type Microsoft.Dashboard/grafana and the target sub-resource grafana indicate that you're creating an endpoint for an Azure Managed Grafana workspace.

    2. The name of your workspace is listed under Resource.

      Screenshot of the Azure portal filling out Resource tab.

  4. Select Next : Virtual Network >.

    1. Select an existing Virtual network to deploy the private endpoint to. If you don't have a virtual network, create a virtual network.

    2. Select a Subnet from the list.

    3. Network policy for private endpoints is disabled by default. Optionally, select edit to add a network security group or a route table policy. This change would affect all private endpoints associated to the selected subnet.

    4. Under Private IP configuration, select the option to allocate IP addresses dynamically. For more information, refer to Private IP addresses.

    5. Optionally, you can select or create an Application security group. Application security groups allow you to group virtual machines and define network security policies based on those groups.

      Screenshot of the Azure portal filling out virtual network tab.

  5. Select Next : DNS > to configure a DNS record. If you don't want to make changes to the default settings, you can move forward to the next tab.

    1. For Integrate with private DNS zone, select Yes to integrate your private endpoint with a private DNS zone. You can also use your own DNS servers or create DNS records using the host files on your virtual machines.

    2. A subscription and resource group for your private DNS zone are preselected. You can change them optionally.

    To learn more about DNS configuration, go to Name resolution for resources in Azure virtual networks and DNS configuration for Private Endpoints.

    Screenshot of the Azure portal filling out DNS tab.

  6. Select Next : Tags > and optionally create tags. Tags are name/value pairs that enable you to categorize resources and view consolidated billing by applying the same tag to multiple resources and resource groups.

  7. Select Next : Review + create > to review information about your Azure Managed Grafana workspace, private endpoint, virtual network and DNS. You can also select Download a template for automation to reuse JSON data from this form later.

  8. Select Create.

Once deployment is complete, you'll get a notification that your endpoint has been created. If it's auto-approved, you can start accessing your workspace privately. Otherwise, you will have to wait for approval.

Go to Networking (Preview) > Private Access in your Azure Managed Grafana workspace to access the private endpoints linked to your workspace.

  1. Check the connection state of your private link connection. When you create a private endpoint, the connection must be approved. If the resource for which you're creating a private endpoint is in your directory and you have sufficient permissions, the connection request will be auto-approved. Otherwise, you must wait for the owner of that resource to approve your connection request. For more information about the connection approval models, go to Manage Azure Private Endpoints.

  2. To manually approve, reject or remove a connection, select the checkbox next to the endpoint you want to edit and select an action item from the top menu.

  3. Select the name of the private endpoint to open the private endpoint resource and access more information or to edit the private endpoint.

    Screenshot of the Azure portal, manage private endpoint.

If you have issues with a private endpoint, check the following guide: Troubleshoot Azure Private Endpoint connectivity problems.

Next steps

In this how-to guide, you learned how to set up private access from your users to a Managed Grafana workspace. To learn how to configure private access between a Managed Grafana workspace and a data source, see Connect to a data source privately.