Set-AzVirtualNetworkSubnetConfig deletes existing Service Endpoints #10099
Labels
customer-reported
Network - Virtual Network
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
This issue is responsible by Azure service team.
#Description
After executing Set-AzureRmVirtualNetworkSubnetConfig to change the UDR association of the subnet, we lost all existing service endpoints
We had executed below script on 15th August 2019 and we have not seen any issue, whereas we executed same script on 22nd September 2019 and observed that the endpoints got deleted.
Steps to reproduce
#assume that VNET1-SUBNET1 subnet is having endpoint "Microsoft.Storage".
execute below script in sequence
After executing above script, we found that the endpoints "Microsoft.Storage" got deleted
Module versions
Debug output
As per PowerShell session log, we see endpoints related elements in json file , please find below :
"ServiceEndpoints": [
{
"ProvisioningState": "Succeeded",
"Service": "Microsoft.Storage",
"Locations": [
"centralus",
"eastus2"
]
Error output
The text was updated successfully, but these errors were encountered: