Skip to content

Commit 9a8e488

Browse files
authored
Merge pull request #292679 from MicrosoftDocs/main
1/7/2025 11:00 AM IST Publish
2 parents 9ddeddd + a683fd7 commit 9a8e488

10 files changed

+86
-40
lines changed

articles/app-service/reference-app-settings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ This section shows the configurable runtime settings for each supported language
176176
| `CATALINA_BASE` | To use a custom Tomcat installation, set to the installation's location. | |
177177
| `WEBSITE_JAVA_MAX_HEAP_MB` | The Java maximum heap in MB. This setting is effective only when an experimental Tomcat version is used. | |
178178
| `WEBSITE_DISABLE_JAVA_HEAP_CONFIGURATION` | Manually disable `WEBSITE_JAVA_MAX_HEAP_MB` by setting this variable to `true` or `1`. | |
179-
| `WEBSITE_AUTH_SKIP_PRINCIPAL` | By default, the following Tomcat [HttpServletRequest interface](https://tomcat.apache.org/tomcat-5.5-doc/servletapi/javax/servlet/http/HttpServletRequest.html) are hydrated when you enable the built-in [authentication](overview-authentication-authorization.md): `isSecure`, `getRemoteAddr`, `getRemoteHost`, `getScheme`, `getServerPort`. To disable it, set to `1`. | |
179+
| `WEBSITE_AUTH_SKIP_PRINCIPAL` | By default, the following Tomcat [HttpServletRequest interface](https://tomcat.apache.org/tomcat-5.5-doc/servletapi/javax/servlet/http/HttpServletRequest.html) are hydrated when you enable the built-in [authentication](overview-authentication-authorization.md): `isSecure`, `getRemoteAddr`, `getRemoteHost`, `getScheme`, `getServerPort`, `getLocalPort` and `getRequestURL`. To disable it, set to `1`. | |
180180
| `WEBSITE_SKIP_FILTERS` | To disable all servlet filters added by App Service, set to `1`. ||
181181
| `IGNORE_CATALINA_BASE` | By default, App Service checks if the Tomcat variable `CATALINA_BASE` is defined. If not, it looks for the existence of `%HOME%\tomcat\conf\server.xml`. If the file exists, it sets `CATALINA_BASE` to `%HOME%\tomcat`. To disable this behavior and remove `CATALINA_BASE`, set this variable to `1` or `true`. ||
182182
| `PORT` | Read-only. For Linux apps, port that the Java runtime listens to in the container. | |

articles/iot-hub/how-to-cloud-to-device-messaging.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
title: Send cloud-to-device messages
33
titleSuffix: Azure IoT Hub
4-
description: How to send cloud-to-device messages from a back-end app and receive them on a device app using the Azure IoT SDKs for C#, Python, Java, Node.js, and C.
4+
description: How to send cloud-to-device messages from a back-end app and receive them on a device app using the Azure IoT SDKs for C#, Python, Java, and Node.js.
55
author: kgremban
66
ms.author: kgremban
77
ms.service: azure-iot-hub
88
ms.topic: how-to
9-
ms.date: 12/19/2024
9+
ms.date: 1/6/2025
1010
zone_pivot_groups: iot-hub-howto-c2d-1
1111
ms.custom: [amqp, mqtt, "Role: Cloud Development", "Role: IoT Device"]
1212
---

articles/iot-hub/how-to-device-management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: lizross
88
ms.service: azure-iot-hub
99
ms.devlang: csharp
1010
ms.topic: how-to
11-
ms.date: 11/25/2024
11+
ms.date: 1/6/2025
1212
zone_pivot_groups: iot-hub-howto-c2d-1
1313
---
1414

articles/load-balancer/troubleshoot-load-balancer-imds.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ This article describes common deployment errors and how to resolve those errors
2323
| 400 | Unexpected request. Check the query parameters and retry. | The error code indicates that the request format isn't configured properly.</br> Learn [How to retrieve load balancer metadata using the Azure Instance Metadata Service (IMDS)](howto-load-balancer-imds.md#sample-request-and-response) to fix the request body and issue a retry. |
2424
| 404 | No load balancer metadata is found. Check if your virtual machine is using any nonbasic SKU load balancer and retry later. | The error code indicates that your virtual machine isn't associated with a load balancer or the load balancer is basic SKU instead of standard.</br> For more information, see [Quickstart: Create a public load balancer to load balance VMs using the Azure portal](quickstart-load-balancer-standard-public-portal.md?tabs=option-1-create-load-balancer-standard) to deploy a standard load balancer.|
2525
| 404 | API isn't found: Path = "\<UrlPath>", Method = "\<Method>" | The error code indicates a misconfiguration of the path.</br> Learn [How to retrieve load balancer metadata using the Azure Instance Metadata Service (IMDS)](howto-load-balancer-imds.md#sample-request-and-response) to fix the request body and issue a retry. |
26-
| 405 | Http method isn't allowed: Path = "\<UrlPath>", Method = "\<Method>" | The error code indicates an unsupported HTTP verb.</br> For more information, see [Azure Instance Metadata Service (IMDS)](/azure/virtual-machines/windows/instance-metadata-service?tabs=windows#http-verbs) for supported verbs. |
26+
| 405 | HTTP method isn't allowed: Path = "\<UrlPath>", Method = "\<Method>" | The error code indicates an unsupported HTTP verb.</br> For more information, see [Azure Instance Metadata Service (IMDS)](/azure/virtual-machines/windows/instance-metadata-service?tabs=windows#http-verbs) for supported verbs. |
2727
| 429 | Too many requests | The error code indicates a rate limit.</br> For more information on rate limiting, see [Azure Instance Metadata Service (IMDS)](/azure/virtual-machines/windows/instance-metadata-service?tabs=windows#rate-limiting).|
2828
| 400 | Request body is larger than MaxBodyLength: … | The error code indicates a request larger than the MaxBodyLength.</br> For more information on body length, see [How to retrieve load balancer metadata using the Azure Instance Metadata Service (IMDS)](howto-load-balancer-imds.md#sample-request-and-response).|
2929
| 400 | Parameter key length is larger than MaxParameterKeyLength: … | The error code indicates a parameter key length larger than the MaxParameterKeyLength.</br> For more information on body length, see [How to retrieve load balancer metadata using the Azure Instance Metadata Service (IMDS)](howto-load-balancer-imds.md#sample-request-and-response). |

articles/storage/file-sync/file-sync-release-notes.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: storage
55
author: wmgries
66
ms.service: azure-file-storage
77
ms.topic: release-notes
8-
ms.date: 10/31/2024
8+
ms.date: 1/06/2025
99
ms.author: wgries
1010
---
1111

@@ -24,11 +24,11 @@ The following Azure File Sync agent versions are supported:
2424
| V19 Release - [KB5040924](https://support.microsoft.com/topic/e44fc142-8a24-4dea-9bf9-6e884b4b342e)| 19.1.0.0 | September 3, 2024 | Supported |
2525
| V18.2 Release - [KB5023059](https://support.microsoft.com/topic/613d00dc-998b-4885-86b9-73750195baf5)| 18.2.0.0 | July 9, 2024 | Supported |
2626
| V18.1 Release - [KB5023057](https://support.microsoft.com/topic/961af341-40f2-4e95-94c4-f2854add60a5)| 18.1.0.0 | June 11, 2024 | Supported - Security Update |
27-
| V17.3 Release - [KB5039814](https://support.microsoft.com/topic/97bd6ab9-fa4c-42c0-a510-cdb1d23825bf)| 17.3.0.0 | June 11, 2024 | Supported - Security Update, Agent version will expire on March 4, 2025 |
27+
| V17.3 Release - [KB5039814](https://support.microsoft.com/topic/97bd6ab9-fa4c-42c0-a510-cdb1d23825bf)| 17.3.0.0 | June 11, 2024 | Supported - Security Update, Agent version will expire on May 6, 2025 |
2828
| V18 Release - [KB5023057](https://support.microsoft.com/topic/feb374ad-6256-4eeb-9371-eb85071f756f)| 18.0.0.0 | May 8, 2024 | Supported |
29-
| V17.2 Release - [KB5023055](https://support.microsoft.com/topic/dfa4c285-a4cb-4561-b0ed-bbd4ae09d91d)| 17.2.0.0 | February 28, 2024 | Supported, Agent version will expire on March 4, 2025 |
30-
| V17.1 Release - [KB5023054](https://support.microsoft.com/topic/azure-file-sync-agent-v17-1-release-february-2024-security-only-update-bd1ce41c-27f4-4e3d-a80f-92f74817c55b)| 17.1.0.0 | February 13, 2024 | Supported - Security Update, Agent version will expire on March 4, 2025 |
31-
| V17.0 Release - [KB5023053](https://support.microsoft.com/topic/azure-file-sync-agent-v17-release-december-2023-flighting-2d8cba16-c035-4c54-b35d-1bd8fd795ba9)| 17.0.0.0 | December 6, 2023 | Supported, Agent version will expire on March 4, 2025 |
29+
| V17.2 Release - [KB5023055](https://support.microsoft.com/topic/dfa4c285-a4cb-4561-b0ed-bbd4ae09d91d)| 17.2.0.0 | February 28, 2024 | Supported, Agent version will expire on May 6, 2025 |
30+
| V17.1 Release - [KB5023054](https://support.microsoft.com/topic/azure-file-sync-agent-v17-1-release-february-2024-security-only-update-bd1ce41c-27f4-4e3d-a80f-92f74817c55b)| 17.1.0.0 | February 13, 2024 | Supported - Security Update, Agent version will expire on May 6, 2025 |
31+
| V17.0 Release - [KB5023053](https://support.microsoft.com/topic/azure-file-sync-agent-v17-release-december-2023-flighting-2d8cba16-c035-4c54-b35d-1bd8fd795ba9)| 17.0.0.0 | December 6, 2023 | Supported, Agent version will expire on May 6, 2025 |
3232

3333
## Unsupported versions
3434

@@ -56,13 +56,13 @@ The following Azure File Sync agent versions have expired and are no longer supp
5656

5757
[!INCLUDE [storage-sync-files-agent-update-policy](../../../includes/storage-sync-files-agent-update-policy.md)]
5858

59-
## Windows Server 2012 R2 agent support will end on March 4, 2025
59+
## Windows Server 2012 R2 agent support
6060

61-
Windows Server 2012 R2 reached [end of support](/lifecycle/announcements/windows-server-2012-r2-end-of-support) on October 10, 2023. Azure File Sync will continue to support Windows Server 2012 R2 until the v17.x agent is expired on March 4, 2025. Once the v17 agent is expired, Windows Server 2012 R2 servers will stop syncing to your Azure file shares.
61+
Windows Server 2012 R2 reached [end of support](/lifecycle/announcements/windows-server-2012-r2-end-of-support) on October 10, 2023. Azure File Sync will continue to support Windows Server 2012 R2 until the v17.x agent is expired on May 6, 2025. Once the v17 agent is expired, Windows Server 2012 R2 servers will stop syncing to your Azure file shares.
6262

6363
### Action Required
6464

65-
Perform one of the following options for your Windows Server 2012 R2 servers prior to v17 agent expiration on March 4, 2025:
65+
Perform one of the following options for your Windows Server 2012 R2 servers prior to v17 agent expiration on May 6, 2025:
6666

6767
- Option #1: Perform an [in-place upgrade](/windows-server/get-started/perform-in-place-upgrade) to a [supported operation system version](file-sync-planning.md#operating-system-requirements). Once the in-place upgrade completes, uninstall the Azure File Sync agent for Windows Server 2012 R2, restart the server, and then install the agent for the new server operating system (Windows Server 2016, Windows Server 2019, Windows Server 2022 or Windows Server 2025).
6868

includes/iot-hub-howto-cloud-to-device-messaging-dotnet.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ms.author: kgremban
44
ms.service: azure-iot-hub
55
ms.devlang: csharp
66
ms.topic: include
7-
ms.date: 12/19/2024
7+
ms.date: 1/6/2025
88
ms.custom: [amqp, mqtt, "Role: Cloud Development", "Role: IoT Device", devx-track-csharp, devx-track-dotnet]
99
---
1010

@@ -41,8 +41,6 @@ A device app can authenticate with IoT Hub using the following methods:
4141

4242
The [DeviceClient](/dotnet/api/microsoft.azure.devices.client.deviceclient) class exposes all the methods required to receive messages on the device.
4343

44-
### Supply the connection parameters
45-
4644
Supply the IoT Hub primary connection string and Device ID to `DeviceClient` using the [CreateFromConnectionString](/dotnet/api/microsoft.azure.devices.client.deviceclient.createfromconnectionstring) method. In addition to the required IoT Hub primary connection string, the `CreateFromConnectionString` method can be overloaded to include these *optional* parameters:
4745

4846
* `transportType` - The transport protocol: variations of HTTP version 1, AMQP, or MQTT. `AMQP` is the default. To see all available values, see [TransportType Enum](/dotnet/api/microsoft.azure.devices.client.transporttype).
@@ -184,8 +182,6 @@ You can connect a backend service to IoT Hub using the following methods:
184182

185183
#### Connect using a shared access policy
186184

187-
##### Supply the connection string
188-
189185
Connect a backend application to a device using [CreateFromConnectionString](/dotnet/api/microsoft.azure.devices.serviceclient.createfromconnectionstring). In addition to the required IoT Hub primary connection string, the `CreateFromConnectionString` method can be overloaded to include these *optional* parameters:
190186

191187
* `transportType` - `Amqp` or `Amqp_WebSocket_Only`.

includes/iot-hub-howto-device-management-dotnet.md

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.author: kgremban
77
ms.service: iot-hub
88
ms.devlang: csharp
99
ms.topic: include
10-
ms.date: 11/25/2024
10+
ms.date: 1/6/2025
1111
ms.custom: mqtt, devx-track-csharp, devx-track-dotnet
1212
---
1313

@@ -21,9 +21,7 @@ This article describes how to use the [Azure IoT SDK for .NET](https://github.co
2121

2222
This section describes how to use device application code to create a direct method callback listener.
2323

24-
[!INCLUDE [iot-authentication-device-connection-string.md](iot-authentication-device-connection-string.md)]
25-
26-
### Required device NuGet package
24+
### Required device NuGet packages
2725

2826
Device client applications written in C# require the **Microsoft.Azure.Devices.Client** NuGet package.
2927

@@ -34,7 +32,16 @@ using Microsoft.Azure.Devices.Client;
3432
using Microsoft.Azure.Devices.Shared;
3533
```
3634

37-
### Connect to a device
35+
### Connect a device to IoT Hub
36+
37+
A device app can authenticate with IoT Hub using the following methods:
38+
39+
* Shared access key
40+
* X.509 certificate
41+
42+
[!INCLUDE [iot-authentication-device-connection-string.md](iot-authentication-device-connection-string.md)]
43+
44+
#### Authenticate using a shared access key
3845

3946
The [DeviceClient](/dotnet/api/microsoft.azure.devices.client.deviceclient) class exposes all the methods required to interact with device messages from the device.
4047

@@ -59,6 +66,10 @@ deviceClient = DeviceClient.CreateFromConnectionString(DeviceConnectionString,
5966
TransportType.Mqtt);
6067
```
6168

69+
#### Authenticate using an X.509 certificate
70+
71+
[!INCLUDE [iot-hub-howto-auth-device-cert-dotnet](iot-hub-howto-auth-device-cert-dotnet.md)]
72+
6273
### Create a direct method callback listener
6374

6475
Use [SetMethodHandlerAsync](/dotnet/api/microsoft.azure.devices.client.deviceclient.setmethodhandlerasync) to initialize a direct method callback listener. The listener is associated with a method name keyword, such as "reboot". The method name can be used in an IoT Hub or backend application to trigger the callback method on the device.

includes/iot-hub-howto-device-management-java.md

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.author: kgremban
77
ms.service: iot-hub
88
ms.devlang: csharp
99
ms.topic: include
10-
ms.date: 11/25/2024
10+
ms.date: 1/6/2025
1111
ms.custom: amqp, mqtt, devx-track-java, devx-track-extended-java
1212
---
1313

@@ -21,9 +21,11 @@ This article describes how to use the [Azure IoT SDK for Java](https://github.co
2121

2222
This section describes how to use device application code to create a direct method callback listener.
2323

24+
The [DeviceClient](/java/api/com.microsoft.azure.sdk.iot.device.deviceclient) class exposes all the methods you require to interact with direct methods on the device.
25+
2426
[!INCLUDE [iot-authentication-device-connection-string.md](iot-authentication-device-connection-string.md)]
2527

26-
### Device import statement
28+
### Device import statements
2729

2830
Use the following device import statements to access the Azure IoT SDK for Java.
2931

@@ -37,9 +39,16 @@ import com.microsoft.azure.sdk.iot.device.transport.IotHubConnectionStatus;
3739
import com.microsoft.azure.sdk.iot.device.twin.SubscriptionAcknowledgedCallback;
3840
```
3941

40-
### Connect to a device
42+
### Connect a device to IoT Hub
4143

42-
The [DeviceClient](/java/api/com.microsoft.azure.sdk.iot.device.deviceclient) class exposes all the methods you require to interact with direct methods on the device.
44+
A device app can authenticate with IoT Hub using the following methods:
45+
46+
* Shared access key
47+
* X.509 certificate
48+
49+
[!INCLUDE [iot-authentication-device-connection-string.md](iot-authentication-device-connection-string.md)]
50+
51+
#### Authenticate using a shared access key
4352

4453
To connect to a device:
4554

@@ -62,6 +71,10 @@ To connect to a device:
6271
client.open(true);
6372
```
6473

74+
#### Authenticate using an X.509 certificate
75+
76+
[!INCLUDE [iot-hub-howto-auth-device-cert-java](iot-hub-howto-auth-device-cert-java.md)]
77+
6578
### Create a direct method callback listener
6679

6780
Use [subscribeToMethods](https://azure.github.io/azure-iot-sdk-java/master/device/com/microsoft/azure/sdk/iot/device/InternalClient.html#subscribeToMethods-com.microsoft.azure.sdk.iot.device.twin.MethodCallback-java.lang.Object-int-) to initialize a direct method callback listener. `subscribeToMethods` listens for incoming direct methods until the connection is terminated. The method name and payload is received for each direct method call.
@@ -92,7 +105,7 @@ The Azure IoT SDK for Java includes a working sample to test the device app conc
92105

93106
This section describes how to initiate a remote reboot on a device using a direct method.
94107

95-
The `ServiceClient` [DeviceMethod](/java/api/com.microsoft.azure.sdk.iot.service.devicetwin.devicemethod) class contains methods that services can use to access device twins.
108+
The `ServiceClient` [DeviceMethod](/java/api/com.microsoft.azure.sdk.iot.service.devicetwin.devicemethod) class contains methods that services can use to access direct methods.
96109

97110
### Service import statements
98111

includes/iot-hub-howto-device-management-node.md

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.author: kgremban
77
ms.service: iot-hub
88
ms.devlang: csharp
99
ms.topic: include
10-
ms.date: 11/25/2024
10+
ms.date: 1/6/2025
1111
ms.custom: mqtt, devx-track-js
1212
---
1313

@@ -21,15 +21,30 @@ This article describes how to use the [Azure IoT SDK for Node.js](https://github
2121

2222
This section describes how to use device application code to create a direct method callback.
2323

24-
### Install SDK packages
24+
### Install SDK package
2525

2626
The [azure-iot-device](/javascript/api/azure-iot-device) package contains objects that interface with IoT devices. Run this command to install the **azure-iot-device** device SDK on your development machine:
2727

2828
```cmd/sh
2929
npm install azure-iot-device --save
3030
```
3131

32-
### Choose a transport protocol
32+
### Connect a device to IoT Hub
33+
34+
A device app can authenticate with IoT Hub using the following methods:
35+
36+
* X.509 certificate
37+
* Shared access key
38+
39+
[!INCLUDE [iot-authentication-device-connection-string.md](iot-authentication-device-connection-string.md)]
40+
41+
#### Authenticate using an X.509 certificate
42+
43+
[!INCLUDE [iot-hub-howto-auth-device-cert-node](iot-hub-howto-auth-device-cert-node.md)]
44+
45+
#### Authenticate using a shared access key
46+
47+
##### Choose a transport protocol
3348

3449
The `Client` object supports these protocols:
3550

@@ -49,7 +64,7 @@ npm install azure-iot-device-amqp --save
4964

5065
For more information about the differences between MQTT, AMQP, and HTTPS support, see [Cloud-to-device communications guidance](../articles/iot-hub/iot-hub-devguide-c2d-guidance.md) and [Choose a communication protocol](../articles/iot-hub/iot-hub-devguide-protocols.md).
5166

52-
### Create a client object
67+
##### Create a client object
5368

5469
Create a `Client` object using the installed package.
5570

@@ -59,7 +74,7 @@ For example:
5974
const Client = require('azure-iot-device').Client;
6075
```
6176

62-
### Create a protocol object
77+
##### Create a protocol object
6378

6479
Create a `Protocol` object using an installed transport package.
6580

@@ -69,7 +84,7 @@ This example assigns the AMQP protocol:
6984
const Protocol = require('azure-iot-device-amqp').Amqp;
7085
```
7186

72-
### Add the device connection string and transport protocol
87+
##### Add the device connection string and transport protocol
7388

7489
Call [fromConnectionString](/javascript/api/azure-iot-device/client?#azure-iot-device-client-fromconnectionstring) to supply device connection parameters:
7590

@@ -84,7 +99,7 @@ const Protocol = require('azure-iot-device-mqtt').Amqp;
8499
let client = Client.fromConnectionString(deviceConnectionString, Protocol);
85100
```
86101

87-
### Open the connection to IoT Hub
102+
##### Open the connection to IoT Hub
88103

89104
Use the [open](/javascript/api/azure-iot-device/client?#azure-iot-device-client-open) method to open connection between an IoT device and IoT Hub.
90105

0 commit comments

Comments
 (0)