You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/app-service/environment/how-to-upgrade-preference.md
+8-16Lines changed: 8 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ If you choose manual upgrades, there are important considerations to keep in min
49
49
50
50
-**A manual upgrade can transition to automatic**. In rare cases, the availability of an upgrade for manual application can transition to an automatic upgrade. A security hotfix might supersede the planned upgrade. A regression might be discovered in a planned upgrade before the updates are applied to your instance. In these cases, the available upgrade is removed and the process transitions to automatic upgrade.
51
51
52
-
-**An upgrade is available, but you don't receive a notification**. You might see a notice in the Azure portal that an upgrade is available for your App Service Environment, but you don't receive a Service Health notification. (Notifications are sent according to [your configuration](#configure-notifications)). If you don't receive the notification, the available upgrade isn't required and the 15-day time limit doesn't apply. This issue is currently under investigation.
52
+
-**An upgrade is available, but you don't receive a notification**. You might see a notice in the Azure portal that an upgrade is available for your App Service Environment, but you don't receive a Service Health notification. (Notifications are sent according to [your configuration](#configure-notifications).) If you don't receive the notification, the available upgrade isn't required and the 15-day time limit doesn't apply. This issue is currently under investigation.
53
53
54
54
## View upgrade notifications
55
55
@@ -101,9 +101,11 @@ If you set the **Upgrade preference** for your App Service Environment to **Manu
101
101
102
102
1. Allow time for the notification to send. [Verify the test notification](#view-upgrade-notifications) is listed on the **Service Health** dashboard in the Azure portal.
103
103
104
+
You can also send a test notification by using the Azure CLI. For more information, see the procedure described in [Apply upgrade to App Service Environment (Azure CLI)](./how-to-upgrade-preference.md#apply-upgrade-to-app-service-environment?tabs=azure-cli).
105
+
104
106
## Configure upgrade preference
105
107
106
-
Use the following procedure to configure the upgrade preference for your App Service Environment.
108
+
Use the following procedure to configure the upgrade preference for your App Service Environment. The recommended approach is to use the Azure portal.
107
109
108
110
# [Azure portal](#tab/azure-portal)
109
111
@@ -121,9 +123,6 @@ Use the following procedure to configure the upgrade preference for your App Ser
121
123
122
124
Run the following commands with the [Azure CLI](/cli/azure/install-azure-cli) or use the [Azure Cloud Shell](https://shell.azure.com/).
123
125
124
-
> [!TIP]
125
-
> You can easily configure the upgrade preference in the [Azure portal](#configure-upgrade-preferencetabs=azure-portal).
126
-
127
126
1. Set the `<placeholder>` command parameters to the values for your App Service Environment:
128
127
129
128
```azurecli
@@ -152,9 +151,7 @@ Run the following commands with the [Azure CLI](/cli/azure/install-azure-cli) or
152
151
Confirm the upgrade preference is set as expected:
153
152
154
153
```output
155
-
...
156
154
"upgradePreference": "Manual",
157
-
...
158
155
```
159
156
160
157
- For automatic upgrade, set the `upgradePreference` property to the automatic value: **Early**, **Late**, or **None**. The following example sets the preference to **Early** automatic upgrades:
@@ -166,9 +163,7 @@ Run the following commands with the [Azure CLI](/cli/azure/install-azure-cli) or
166
163
Confirm the upgrade preference is set as expected:
167
164
168
165
```output
169
-
...
170
166
"upgradePreference": "Early",
171
-
...
172
167
```
173
168
174
169
---
@@ -195,6 +190,8 @@ When an upgrade is available, a banner displays in the Azure portal. Use the fol
195
190
196
191
Run the following commands with the [Azure CLI](/cli/azure/install-azure-cli) or use the [Azure Cloud Shell](https://shell.azure.com/).
197
192
193
+
The following procedure sends a test upgrade notification for the App Service Environment.
194
+
198
195
1. Set the `<placeholder>` command parameters to the values for your App Service Environment:
199
196
200
197
```azurecli
@@ -208,12 +205,6 @@ Run the following commands with the [Azure CLI](/cli/azure/install-azure-cli) or
208
205
ASE_ID=$(az appservice ase show --name $ASE_NAME --resource-group $ASE_RG --query id --output tsv)
209
206
```
210
207
211
-
1. Send a test upgrade notification:
212
-
213
-
```azurecli
214
-
az rest --method POST --uri "${ASE_ID}/testUpgradeAvailableNotification?api-version=2022-03-01"
215
-
```
216
-
217
208
1. Start the upgrade process:
218
209
219
210
```azurecli
@@ -222,9 +213,10 @@ Run the following commands with the [Azure CLI](/cli/azure/install-azure-cli) or
222
213
223
214
---
224
215
225
-
During the upgrade process, the platform sends notifications, according to [your configuration](#configure-notifications)).
216
+
During the upgrade process, the platform sends notifications, according to [your configuration](#configure-notifications).
226
217
227
218
## Related content
228
219
229
220
-[Create an App Service Environment](creation.md)
221
+
-[Create service health alerts](/azure/service-health/alerts-activity-log-service-notifications-portal)
230
222
-[App Service Environment networking](networking.md)
0 commit comments