|
| 1 | +--- |
| 2 | +title: Remove a Azure Private 5G Core data network |
| 3 | +titleSuffix: Azure Private 5G Core |
| 4 | +description: In this how-to guide, you'll learn how to remove a data network from your private mobile network. |
| 5 | +author: robswain |
| 6 | +ms.author: robswain |
| 7 | +ms.service: private-5g-core |
| 8 | +ms.topic: how-to |
| 9 | +ms.date: 01/07/2023 |
| 10 | +--- |
| 11 | + |
| 12 | +# Remove a data network from your AP5GC deployment |
| 13 | + |
| 14 | +In this how-to guide, you'll learn how to remove a data network from your private mobile network. This involves deleting the data network, modifying the packet core's custom location temporarily, deleting the data network from the resource group, and reinstating the packet core's custom location configuration. |
| 15 | + |
| 16 | +## Prerequisites |
| 17 | + |
| 18 | +- Ensure you can sign in to the Azure portal using an account with access to the active subscription you used to create your private mobile network. This account must have the built-in Contributor or Owner role at the subscription scope. |
| 19 | +- You must already have one or more data networks in your AP5GC deployment. |
| 20 | +- The data network that you want to delete must have no SIM policies associated with it. If the data network has one or more associated SIM policies data network removal will be prevented. |
| 21 | + |
| 22 | +## Delete the data network from the packet core |
| 23 | + |
| 24 | +1. Navigate to the **Packet Core Control Plane**. |
| 25 | +1. Select **Modify packet core**. |
| 26 | +1. Select the **Data networks** tab. |
| 27 | +1. Toggle **Enable changes to configuration that require a reinstall to take effect** to **Enabled**. |
| 28 | +1. Select the checkbox for the data network you want to delete. |
| 29 | +1. Select **Delete**. |
| 30 | +1. Select **Modify**. |
| 31 | + |
| 32 | +## Remove the Azure Arc Custom Location from the packet core |
| 33 | + |
| 34 | +Once the deletion of the data network has completed: |
| 35 | + |
| 36 | +1. Navigate to the **Packet Core Control Plane**. |
| 37 | +1. Select **Modify packet core**. |
| 38 | +1. Make a note of the current **Azure Arc Custom Location**. |
| 39 | +1. Change the **Azure Arc Custom Location** dropdown menu to **None**. |
| 40 | +1. Select **Modify**. |
| 41 | + |
| 42 | +## Check that the previous steps have completed correctly |
| 43 | + |
| 44 | +Navigate to the **Packet Core Control Plane** and ensure the **Essentials** tab shows that: |
| 45 | + |
| 46 | +- **Azure Arc Custom Location** shows **Configure a custom location**. |
| 47 | +- **Packet core installation state** shows **Uninstalled**. |
| 48 | + |
| 49 | +If either of the fields are not as expected, repeat the [Delete the data network from the packet core](#delete-the-data-network-from-the-packet-core) and [Remove the Azure Arc Custom Location from the packet core](#remove-the-azure-arc-custom-location-from-the-packet-core) as required. |
| 50 | + |
| 51 | +## Remove the data network from the resource group |
| 52 | + |
| 53 | +1. Navigate to your AP5GC resource group. |
| 54 | +1. Select the checkbox for the data network resource you want to delete. |
| 55 | +1. Select **Delete** |
| 56 | + |
| 57 | +## Restore the Azure Arc Custom Location on the packet core |
| 58 | + |
| 59 | +1. Navigate to the **Packet Core Control Plane**. |
| 60 | +1. Select **Modify packet core**. |
| 61 | +1. Change the **Azure Arc Custom Location** dropdown menu to the custom location noted during [Remove the Azure Arc Custom Location from the packet core](#remove-the-azure-arc-custom-location-from-the-packet-core). |
| 62 | +1. Select **Modify**. |
0 commit comments