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/industry/agriculture/manage-users-in-azure-farmbeats.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,14 +14,16 @@ Azure FarmBeats includes user management for people who are part of your Azure A
14
14
15
15
## Prerequisites
16
16
17
-
-An Azure FarmBeats installation is required. For more information, see [Install Azure FarmBeats](install-azure-farmbeats.md).
17
+
- Azure FarmBeats installation is required. For more information, see [Install Azure FarmBeats](install-azure-farmbeats.md).
18
18
- The email IDs of the users you want to add or remove from your Azure FarmBeats instance.
19
19
20
20
## Manage Azure FarmBeats users
21
21
22
22
Azure FarmBeats uses Azure AD for authentication, access control, and roles. You can add users in the Azure AD tenant as users in Azure FarmBeats.
23
23
24
24
> [!NOTE]
25
+
> If a user is not an Azure AD tenant user, , follow the instructions in the **Add Azure AD users** section to complete the setup.
26
+
25
27
> If a user you're trying to add as an Azure FarmBeats user isn't present in the Azure AD tenant, complete the setup by following the instructions in the "Add Azure AD users" section.
26
28
27
29
Azure FarmBeats supports two types of user roles:
@@ -59,7 +61,7 @@ To remove users from the Azure FarmBeats system:
59
61
## Add Azure AD users
60
62
61
63
> [!NOTE]
62
-
> Azure FarmBeats users need to exist in the Azure AD tenant before you can assign them to applications and roles. If a user that you want to add to Azure FarmBeats doesn't already exist in the Azure AD tenant, follow the instructions in this section. If the user exists in the Azure AD tenant, you can skip these instructions.
64
+
> Azure FarmBeats users need to exist in the Azure AD tenant before you assign them to applications and roles. If a user doesn't exist in the Azure AD tenant, follow the instructions in this section. Skip the instructions, if a user already exists in the Azure AD tenant.
Copy file name to clipboardExpand all lines: articles/industry/agriculture/sensor-partner-integration-in-azure-farmbeats.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ ms.author: v-umha
11
11
12
12
This article provides information about the Azure FarmBeats **Translator** component, which enables sensor partner integration.
13
13
14
-
Using this component, partners can integrate with FarmBeats using FarmBeats Data hub APIs and send customer device data and telemetry to FarmBeats Data hub. Once the data is available in FarmBeats, it is visualized using the FarmBeats Accelerator and can be used for data fusion and for building machine learning/artificial intelligence models.
14
+
Using this component, partners can integrate with FarmBeats using FarmBeats Datahub APIs and send customer device data and telemetry to FarmBeats Datahub. Once the data is available in FarmBeats, it is visualized using the FarmBeats Accelerator and can be used for data fusion and for building machine learning/artificial intelligence models.
15
15
16
16
## Before you start
17
17
@@ -45,7 +45,7 @@ FarmBeats uses Microsoft Azure Active Directory authentication. Azure App Serv
45
45
46
46
For more information, see [Azure Active Directory](https://docs.microsoft.com/azure/app-service/overview-authentication-authorization).
47
47
48
-
FarmBeats Data hub uses bearer authentication, which needs the following credentials:
48
+
FarmBeats Datahub uses bearer authentication, which needs the following credentials:
Here are the most common request headers that need to be specified when you make an API call to FarmBeats Data hub.
83
+
Here are the most common request headers that need to be specified when you make an API call to FarmBeats Datahub.
84
84
85
85
86
86
**Header** | **Description and example**
87
87
--- | ---
88
-
Content-Type | The request format (Content-Type: application/<format>). For FarmBeats Data hub APIs, the format is JSON. Content-Type: application/json
88
+
Content-Type | The request format (Content-Type: application/<format>). For FarmBeats Datahub APIs, the format is JSON. Content-Type: application/json
89
89
Authorization | Specifies the access token required to make an API call. Authorization: Bearer <Access-Token>
90
-
Accept | The response format. For FarmBeats Data hub APIs, the format is JSON. Accept: application/json
90
+
Accept | The response format. For FarmBeats Datahub APIs, the format is JSON. Accept: application/json
91
91
92
92
**API requests**
93
93
@@ -114,7 +114,7 @@ JSON is a common language-independent data format that provides a simple text re
114
114
115
115
## Metadata specifications
116
116
117
-
FarmBeats Data hub has the following APIs that enable device partners to create and manage device or sensor metadata.
117
+
FarmBeats Datahub has the following APIs that enable device partners to create and manage device or sensor metadata.
118
118
119
119
- /**DeviceModel**: DeviceModel corresponds to the metadata of the device, such as the manufacturer and the type of device, which is either gateway or node.
120
120
- /**Device**: Device corresponds to a physical device present on the farm.
@@ -225,11 +225,11 @@ The canonical message format is as follows:
225
225
"sensordata": [
226
226
{
227
227
"timestamp": "< timestamp in ISO 8601 format >",
228
-
"<sensor measure name (as defined in the Sensor Model)>": <value>
228
+
"<sensor measure name (as defined in the Sensor Model)>": "<value>"
229
229
},
230
230
{
231
231
"timestamp": "<timestamp in ISO 8601 format>",
232
-
"<sensor measure name (as defined in the Sensor Model)>": <value>
232
+
"<sensor measure name (as defined in the Sensor Model)>": "<value>"
233
233
}
234
234
]
235
235
}
@@ -299,7 +299,7 @@ After customers have purchased and deployed devices or sensors, they can access
299
299
300
300
## Unlink FarmBeats
301
301
302
-
Device partners can enable customers to unlink an existing FarmBeats integration. Unlinking FarmBeats shouldn't delete any device or sensor metadata that was created in FarmBeats Data hub. Unlinking does the following:
302
+
Device partners can enable customers to unlink an existing FarmBeats integration. Unlinking FarmBeats shouldn't delete any device or sensor metadata that was created in FarmBeats Datahub. Unlinking does the following:
303
303
304
304
- Stops telemetry flow.
305
305
- Deletes and erases the integration credentials on the device partner.
Copy file name to clipboardExpand all lines: articles/industry/agriculture/troubleshoot-azure-farmbeats.md
+17-11Lines changed: 17 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ ms.author: v-umha
11
11
12
12
This article provides solutions to common Azure FarmBeats issues.
13
13
14
-
For additional help, contact us at [email protected]. Be sure to include the **deployer.log** file in your email.
14
+
For additional help, contact us at [email protected]. Ensure to include the **deployer.log** file in your email.
15
15
16
16
To download the **deployer.log** file, do the following:
17
17
@@ -46,7 +46,7 @@ To understand how to download logs, go to the ["Collect logs manually"](#collect
46
46
47
47
**Corrective action**:
48
48
49
-
1. Ensure you have done the partner registration correctly - you can check this by going to your datahub swagger, navigate to /Partner API, Do a Get and check if the partner is registered. If not, please follow the [steps here](get-sensor-data-from-sensor-partner.md#enable-device-integration-with-farmbeats) to add partner.
49
+
1. Ensure you have done the partner registration correctly - you can check this by going to your datahub swagger, navigate to /Partner API, Do a Get and check if the partner is registered. If not, follow the [steps here](get-sensor-data-from-sensor-partner.md#enable-device-integration-with-farmbeats) to add partner.
50
50
2. Ensure that you have used the correct Telemetry message format:
51
51
52
52
```json
@@ -60,11 +60,11 @@ To understand how to download logs, go to the ["Collect logs manually"](#collect
60
60
"sensordata": [
61
61
{
62
62
"timestamp": "< timestamp in ISO 8601 format >",
63
-
"<sensor measure name (as defined in the Sensor Model)>": <value>
63
+
"<sensor measure name (as defined in the Sensor Model)>": "<value>"
64
64
},
65
65
{
66
66
"timestamp": "<timestamp in ISO 8601 format>",
67
-
"<sensor measure name (as defined in the Sensor Model)>": <value>
67
+
"<sensor measure name (as defined in the Sensor Model)>": "<value>"
68
68
}
69
69
]
70
70
}
@@ -114,14 +114,14 @@ While you're deleting a device, you might encounter one of the following common
114
114
2. Delete the specific device.
115
115
116
116
> [!NOTE]
117
-
> You can't delete a device if sensors are associated with it. For more information about how to delete associated sensors, see the "Delete sensor" section in [Get sensor data from sensor partners](get-sensor-data-from-sensor-partner.md).
117
+
> You can't delete a device if sensors are associated with it. For more information about how to delete associated sensors, see the **Delete sensor** section in [Get sensor data from sensor partners](get-sensor-data-from-sensor-partner.md).
118
118
119
119
120
120
## Issues with jobs
121
121
122
122
### FarmBeats internal error
123
123
124
-
**Message**: "FarmBeats internal error, see troubleshooting guide for more details."
124
+
**Message**: "FarmBeats internal error, see troubleshooting guide for more details".
125
125
126
126
**Corrective action**:
127
127
This issue might result from a temporary failure in the data pipeline. Create the job again. If the error persists, add the error message in a post on the FarmBeats forum, or contact [email protected].
@@ -134,13 +134,13 @@ This issue might result from a temporary failure in the data pipeline. Create th
134
134
135
135
**Message**: "No matching users found."
136
136
137
-
**Corrective action**: Check the email ID for which you're trying to add a role assignment. The email ID must be an exact match of the ID that's registered for that user in the Active Directory. If the error persists, add the error message in a post on the FarmBeats forum, or contact [email protected].
137
+
**Corrective action**: Check the email ID for which you're trying to add a role assignment. The email ID must be an exact match of the ID, which is registered for that user in the Active Directory. If the error persists, add the error message in a post on the FarmBeats forum, or contact [email protected].
138
138
139
139
### Unable to log in to Accelerator
140
140
141
-
**Message**: "Error: You are not authorized to call the service. Contact the admin for authorization."
141
+
**Message**: "Error: You are not authorized to call the service. Contact the administrator for authorization."
142
142
143
-
**Corrective action**: Ask the admin to authorize you to access the FarmBeats deployment. This can be done by doing a POST of the RoleAssignment APIs or through the Access Control in the **Settings** pane in Accelerator.
143
+
**Corrective action**: Ask the administrator to authorize you to access the FarmBeats deployment. This can be done by doing a POST of the RoleAssignment APIs or through the Access Control in the **Settings** pane in Accelerator.
144
144
145
145
If you've already been granted access and are facing this error, try again by refreshing the page. If the error persists, add the error message in a post on the FarmBeats forum, or contact [email protected].
146
146
@@ -159,6 +159,7 @@ If the error persists, add the error message in a post on the FarmBeats forum, o
159
159
**Issue**: FarmBeats Accelerator isn't showing the latest version, even after you've upgraded FarmBeatsDeployment.
160
160
161
161
**Corrective action**: This error occurs because of service worker persistence in the browser. Do the following:
162
+
162
163
1. Close all browser tabs that have Accelerator open, and close the browser window.
163
164
2. Start a new instance of the browser, and reload the Accelerator URI. This action loads the new version of Accelerator.
164
165
@@ -171,6 +172,7 @@ If the error persists, add the error message in a post on the FarmBeats forum, o
171
172
**Corrective action**:
172
173
173
174
Do one of the following:
175
+
174
176
- Rerun the installer for upgrading Datahub with the correct username and password.
175
177
- Rerun the failed job, or run a satellite indices job for a date range of 5 to 7 days, and then check to see whether the job is successful.
176
178
@@ -194,6 +196,7 @@ This issue can occur if any maintenance activities are being done on the Sentine
194
196
1. If any job or pipeline fails because maintenance is being performed, resubmit the job after some time.
195
197
196
198
For information about any planned or unplanned Sentinel maintenance activities, go to the [Copernicus Open Access Hub News](https://scihub.copernicus.eu/news/) site.
199
+
197
200
2. Rerun the failed job, or run a satellite indices job for a date range of 5 to 7 days, and then check to see whether the job is successful.
198
201
199
202
### Sentinel: Maximum number of connections reached
@@ -204,6 +207,7 @@ This issue can occur if any maintenance activities are being done on the Sentine
204
207
205
208
**Corrective action**:
206
209
Try either of the following:
210
+
207
211
* Create a new Sentinel account, and then rerun the installer to upgrade Datahub by using a new Sentinel username and password.
208
212
* Rerun the failed job or run a satellite indices job for a date range of 5 to 7 days, and then check to see whether the job is successful.
209
213
@@ -215,13 +219,15 @@ Try either of the following:
215
219
1. If any job or pipeline fails because maintenance is being performed, resubmit the job after some time.
216
220
217
221
For information about any planned or unplanned Sentinel maintenance activities, go to the [Copernicus Open Access Hub News](https://scihub.copernicus.eu/news/) site.
222
+
218
223
2. Rerun the failed job, or run a satellite indices job for a date range of 5 to 7 days, and then check to see whether the job is successful.
219
224
220
225
## Collect logs manually
221
226
222
227
[Install and deploy Azure Storage Explorer](https://docs.microsoft.com/azure/vs-azure-tools-storage-manage-with-storage-explorer?tabs=windows).
223
228
224
229
### Collect Azure Data Factory job logs in Datahub
230
+
225
231
1. Sign in to the [Azure portal](https://portal.azure.com).
226
232
2. In the **Search** box, search for the FarmBeats Datahub resource group.
227
233
@@ -297,11 +303,11 @@ Try either of the following:
297
303
298
304
### Azure Active Directory (Azure AD)-related issues
299
305
300
-
**Error message**: "Could not update required settings to Azure AD App d41axx40-xx21-4fbd-8xxf-97xxx9e2xxc0: Insufficient privileges to complete the operation. Ensure that above settings are configured properly for the Azure AD App."
306
+
**Error message**: "Could not update required settings to Azure AD App d41axx40-xx21-4fbd-8xxf-97xxx9e2xxc0: Insufficient privileges to complete the operation. Ensure that the above settings are configured properly for the Azure AD App."
301
307
302
308
**Meaning**: The Azure AD app registration configuration wasn't completed properly.
303
309
304
-
**Corrective action**: Ask the IT admin (the person with tenant read access) to use our [script](https://github.com/Azure-Samples/active-directory-dotnet-webapp-openidconnect/tree/master/AppCreationScripts) for creating the Azure AD app registration. This script automatically takes care of the configuration steps as well.
310
+
**Corrective action**: Ask the IT administrator (the person with tenant read access) to use our [script](https://github.com/Azure-Samples/active-directory-dotnet-webapp-openidconnect/tree/master/AppCreationScripts) for creating the Azure AD app registration. This script automatically takes care of the configuration steps as well.
305
311
306
312
**Error message**: "Could not create new Active Directory Application '\<application name\>' in this tenant: Another object with the same value for property identifier URIs already exists."
0 commit comments