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/digital-twins/how-to-integrate-time-series-insights.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,9 @@ Before creating the event hubs, you'll first create an event hub namespace that
53
53
az eventhubs namespace create --name <name-your-event-hubs-namespace> --resource-group <your-resource-group> -l <region>
54
54
```
55
55
56
+
> [!TIP]
57
+
> If you get an error stating `BadRequest: The specified service namespace is invalid.`, make sure the name you've chosen for your namespace meets the naming requirements described in this reference document: [Create Namespace](/rest/api/servicebus/create-namespace).
58
+
56
59
You'll be using this event hubs namespace to hold the two event hubs that are needed for this article:
57
60
58
61
1.**Twins hub** - Event hub to receive twin change events
@@ -161,7 +164,7 @@ In this section, you'll create an Azure function that will convert twin update e
161
164
162
165
### Step 1: Add a new function
163
166
164
-
Inside your function app project created in the [prerequisites](#prerequisites) section, you'll create a new Azure function of type **Event Hub trigger** function to update device telemetry events to the Time Series Insights.
167
+
Inside your function app project created in the [prerequisites](#prerequisites) section, create a new Azure function called *ProcessDTUpdatetoTSI.cs* to update device telemetry events to the Time Series Insights. The function type will be **Event Hub trigger**.
165
168
166
169
:::image type="content" source="media/how-to-integrate-time-series-insights/create-event-hub-trigger-function.png" alt-text="Screenshot of Visual Studio to create a new Azure function of type event hub trigger.":::
167
170
@@ -172,7 +175,7 @@ Add the following packages to your project:
Rename the *Function1.cs* sample function that Visual Studio has generated to *ProcessDTUpdatetoTSI.cs*. Replace the code in the file with the following code:
178
+
Replace the code in the *ProcessDTUpdatetoTSI.cs* file with the following code:
0 commit comments