Skip to content

Commit 238a947

Browse files
committed
added portal for disabling public endpoint
1 parent b7897b5 commit 238a947

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

articles/storage/file-sync/file-sync-networking-endpoints.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to configure Azure File Sync network endpoints.
44
author: khdownie
55
ms.service: storage
66
ms.topic: how-to
7-
ms.date: 11/01/2022
7+
ms.date: 04/26/2023
88
ms.author: kendownie
99
ms.subservice: files
1010
ms.custom: devx-track-azurepowershell, devx-track-azurecli
@@ -32,9 +32,9 @@ Additionally:
3232
- If you intend to use the Azure CLI, [install the latest version](/cli/azure/install-azure-cli).
3333

3434
## Create the private endpoints
35-
When you are creating a private endpoint for an Azure resource, the following resources are deployed:
35+
When you create a private endpoint for an Azure resource, the following resources are deployed:
3636

37-
- **A private endpoint**: An Azure resource representing either the private endpoint for the storage account or the Storage Sync Service. You can think of this as a resource that connects your Azure resource and a network interface.
37+
- **A private endpoint**: An Azure resource representing either the private endpoint for the storage account or the Storage Sync Service. Think of this as a resource that connects your Azure resource and a network interface.
3838
- **A network interface (NIC)**: The network interface that maintains a private IP address within the specified virtual network/subnet. This is the exact same resource that gets deployed when you deploy a virtual machine, however instead of being assigned to a VM, it's owned by the private endpoint.
3939
- **A private DNS zone**: If you've never deployed a private endpoint for this virtual network before, a new private DNS zone will be deployed for your virtual network. A DNS A record will also be created for Azure resource in this DNS zone. If you've already deployed a private endpoint in this virtual network, a new A record for Azure resource will be added to the existing DNS zone. Deploying a DNS zone is optional, however highly recommended to simplify the DNS management required.
4040

@@ -584,13 +584,21 @@ When you restrict the storage account to specific virtual networks, you are allo
584584
---
585585

586586
### Disable access to the Storage Sync Service public endpoint
587-
Azure File Sync enables you to restrict access to specific virtual networks through private endpoints only; Azure File Sync does not support service endpoints for restricting access to the public endpoint to specific virtual networks. This means that the two states for the Storage Sync Service's public endpoint are enabled and disabled.
587+
Azure File Sync enables you to restrict access to specific virtual networks through private endpoints only; Azure File Sync doesn't support service endpoints for restricting access to the public endpoint to specific virtual networks. This means that the two states for the Storage Sync Service's public endpoint are **enabled** and **disabled**.
588+
589+
> [!IMPORTANT]
590+
> You must create a private endpoint before disabling access to the public endpoint. If the public endpoint is disabled and there's no private endpoint configured, sync can't work.
588591
589592
# [Portal](#tab/azure-portal)
590-
This is not possible through the Azure portal. Please select the Azure PowerShell tab to get instructions on how to disable the Storage Sync Service public endpoint.
593+
To disable access to the Storage Sync Service's public endpoint, follow these steps:
594+
595+
1. Sign in to the [Azure portal](https://portal.azure.com?azure-portal=true).
596+
1. Navigate to the Storage Sync Service and select **Settings** > **Network** from the left navigation.
597+
1. Under **Allow access from**, select **Private endpoints only**.
598+
1. Select a private endpoint from the **Private endpoint connections** list.
591599

592600
# [PowerShell](#tab/azure-powershell)
593-
To disable access to the Storage Sync Service's public endpoint, we will set the `incomingTrafficPolicy` property on the Storage Sync Service to `AllowVirtualNetworksOnly`. If you would like to enable access to the Storage Sync Service's public endpoint, set `incomingTrafficPolicy` to `AllowAllTraffic` instead. Remember to replace `<storage-sync-service-resource-group>` and `<storage-sync-service>`.
601+
To disable access to the Storage Sync Service's public endpoint, set the `incomingTrafficPolicy` property on the Storage Sync Service to `AllowVirtualNetworksOnly`. If you want to enable access to the Storage Sync Service's public endpoint, set `incomingTrafficPolicy` to `AllowAllTraffic` instead. Remember to replace `<storage-sync-service-resource-group>` and `<storage-sync-service>` with your own values.
594602

595603
```powershell
596604
$storageSyncServiceResourceGroupName = "<storage-sync-service-resource-group>"

0 commit comments

Comments
 (0)