Skip to content

Commit 6d6d969

Browse files
authored
Merge pull request #97915 from uhabiba04/master
updated review inputs
2 parents dafeb7a + 7cc72a6 commit 6d6d969

File tree

9 files changed

+53
-53
lines changed

9 files changed

+53
-53
lines changed

articles/industry/agriculture/ingest-historical-telemetry-data.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,23 +34,23 @@ Follow these steps.
3434
> You must be an administrator to do the following steps.
3535
3636
1. Download this [script](https://aka.ms/farmbeatspartnerscript), and extract it on your local drive. Two files are inside the zip file.
37-
2. Sign in to the [Azure portal](https://portal.azure.com/), and open Azure Cloud Shell. This option is available on the toolbar in the upper-right corner of the portal.
37+
2. Sign in to the [Azure portal](https://portal.azure.com/), and open Azure Cloud Shell. This option is available on the toolbar in the upper-right corner of the portal.
3838

3939
![Azure portal toolbar](./media/for-tutorials/navigation-bar-1.png)
4040

4141
3. Make sure the environment is set to **PowerShell**.
4242

4343
![PowerShell setting](./media/for-tutorials/power-shell-new-1.png)
4444

45-
4. Upload the two files that you downloaded from step 1 in your Cloud Shell instance.
45+
4. Upload the two files that you downloaded from step 1 in your Cloud Shell instance.
4646

4747
![Upload button on the toolbar](./media/for-tutorials/power-shell-two-1.png)
4848

4949
5. Go to the directory where the files were uploaded.
5050

5151
>[!NOTE]
5252
> By default, files get uploaded to the home directory/home/username.
53-
6. Run the script by using this command:
53+
6. Run the script by using this command:
5454

5555
```azurepowershell-interactive
5656
./generateCredentials.ps1
@@ -62,10 +62,10 @@ Follow these steps.
6262
6363
Now that you have the required credentials, you can define the device and sensors. To do this, create the metadata by using FarmBeats APIs.
6464
65-
FarmBeats Datahub has the following APIs that enable creation and management of device or sensor metadata.
65+
FarmBeats Datahub has the following APIs that enable creation and management of device or sensor metadata.
6666
67-
- /**DeviceModel**: DeviceModel corresponds to the metadata of the device, such as the manufacturer and the type of device, which is either a gateway or a node.
68-
- /**Device**: Device corresponds to a physical device present on the farm.
67+
- /**DeviceModel**: DeviceModel corresponds to the metadata of the device, such as the manufacturer and the type of device, which is either a gateway or a node.
68+
- /**Device**: Device corresponds to a physical device present on the farm.
6969
- /**SensorModel**: SensorModel corresponds to the metadata of the sensor, such as the manufacturer, the type of sensor, which is either analog or digital, and the sensor measurement, such as ambient temperature and pressure.
7070
- /**Sensor**: Sensor corresponds to a physical sensor that records values. A sensor is typically connected to a device with a device ID.
7171
@@ -264,7 +264,7 @@ Sensor
264264
}
265265
}
266266
```
267-
The following sample request creates a device. This request has input JSON as payload with the request body.
267+
The following sample request creates a device. This request has input JSON as payload with the request body.
268268

269269
```bash
270270
curl -X POST "https://<datahub>.azurewebsites.net/Device" -H
@@ -287,7 +287,7 @@ You must send the telemetry to Azure Event Hubs for processing. Azure Event Hubs
287287

288288
### Send a telemetry message as the client
289289

290-
After you have a connection established as an Event Hubs client, you can send messages to the event hub as JSON.
290+
After you have a connection established as an Event Hubs client, you can send messages to the event hub as JSON.
291291

292292
Here's sample Python code that sends telemetry as a client to a specified event hub:
293293

@@ -308,7 +308,7 @@ write_client.stop()
308308

309309
```
310310

311-
Convert the historical sensor data format to a canonical format that Azure FarmBeats understands. The canonical message format is as follows:
311+
Convert the historical sensor data format to a canonical format that Azure FarmBeats understands. The canonical message format is as follows:
312312

313313
```json
314314
{

articles/industry/agriculture/manage-users.md

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Manage users
3-
description: Describes how to manage users
3+
description: This article describes how to manage users.
44
author: uhabiba04
55
ms.topic: article
66
ms.date: 12/02/2019
@@ -10,7 +10,7 @@ ms.author: v-umha
1010

1111
# Manage users
1212

13-
Azure FarmBeats includes user management for people who are part of your Azure Active Directory (Azure AD). You will be able to add users to your Azure FarmBeats instance to access the APIs, view the generated maps and sensor telemetry from the farm
13+
Azure FarmBeats includes user management for people who are part of your Azure Active Directory (Azure AD). You are able to add users to your Azure FarmBeats instance to access the APIs, view the generated maps, and sensor telemetry from the farm.
1414

1515
## Prerequisites
1616

@@ -34,40 +34,43 @@ There are two kinds of user roles supported in Azure FarmBeats today:
3434

3535
## Add user to Azure FarmBeats
3636

37-
To add a user to Azure FarmBeats,
38-
1. Sign in to the Accelerator and click on the Settings icon
39-
2. Click on Access Control
37+
Follow the steps to add a user to Azure FarmBeats:
38+
39+
1. Sign in to the Accelerator and then select the **Settings** icon.
40+
2. Select **Access Control**.
4041

4142
![Project Farm Beats](./media/create-farms/settings-users-1.png)
4243

43-
3. Enter the email ID of the user you want to give access to
44-
4. Select the desired role – Admin or Read-Only
45-
5. Click on Add Role
44+
3. Enter the email ID of the user you want to provide access.
45+
4. Select the desired role – Admin or Read-Only.
46+
5. Select **Add Role**.
4647

4748
The added user(s) will now be able to access Azure FarmBeats (both Data hub and Accelerator).
4849

4950
## Delete user from Azure FarmBeats
5051

51-
To remove a user from the Azure FarmBeats system, you can
52-
1. Sign in to the Accelerator and click on the Settings icon
53-
2. Click on Access Control
54-
3. Click on the Delete Icon near the email ID of the user you want to remove
52+
Follow the steps to remove a user from the Azure FarmBeats system:
5553

56-
The user is removed from the system. You will receive the following message to confirm the successful operation
54+
1. Sign in to the Accelerator and then select the **Settings** icon.
55+
2. Select **Access Control**.
56+
3. Select the **Delete** to delete a user.
5757

58+
The user is deleted from the system. You will receive the following message to confirm the successful operation.
5859

5960
![Project Farm Beats](./media/create-farms/manage-users-2.png)
6061

61-
6262
## Add Azure AD users
6363

6464
> [!NOTE]
65-
> You will need to do the following steps, only if the user you are trying to provide access to Azure FarmBeats is not present in the Azure AD tenant. If the user is already present, the below steps need not be performed
65+
> Follow the below steps to provide user access to Azure FarmBeats, if the user doesn't exist in the Azure AD tenant. You can skip the below steps if the user exists in Azure AD tenant.
66+
>
67+
68+
FarmBeats users need to exist in the Azure AD tenant before you can assign them to applications and roles. To add users to Azure AD, use the following steps:
6669

67-
FarmBeats users need to exist in the Azure AD tenant before you can assign them to applications and roles. To add users to Azure AD, use the following steps:
6870
1. Sign in to the [Azure portal](https://portal.azure.com/).
69-
2. Select your account in the top-right corner, and switch to the Azure AD tenant associated to FarmBeats
70-
3. Select **Azure Active Directory > Users**. You see a list of users in your directory.
71+
2. Select your account in the top-right corner, and switch to the Azure AD tenant associated to FarmBeats.
72+
3. Select **Azure Active Directory > Users**.
73+
You see a list of users in your directory.
7174
4. To add users to the directory, select **New user**. For external users, select **New guest user**.
7275

7376
![Project Farm Beats](./media/create-farms/manage-users-3.png)
@@ -78,5 +81,4 @@ Visit [Azure AD](https://docs.microsoft.com/azure/active-directory/fundamentals/
7881

7982
## Next steps
8083

81-
You have deployed Azure FarmBeats. Now, learn how to [create farms](manage-farms.md#create-farms).
82-
84+
You have successfully added users to Azure FarmBeats instance. Now, learn how to [create farms](manage-farms.md#create-farms).
5.48 KB
Loading
24.8 KB
Loading
-11 KB
Loading
-20.1 KB
Loading

articles/industry/agriculture/prepare-for-deployment.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ A quick deployment of Azure FarmBeats should take less than an hour. Costs for D
2828

2929
Azure FarmBeats deployment creates the following resources within your subscription:
3030

31-
| S. no. | Resource name | FarmBeats component |
31+
| Serial. no. | Resource name | FarmBeats component |
3232
|---------|---------|---------|
3333
|1 | Azure Cosmos DB | Datahub |
3434
|2 | Application Insights | Datahub/Accelerator |
@@ -44,7 +44,6 @@ Azure FarmBeats deployment creates the following resources within your subscript
4444
|12| Azure App Service | Datahub/Accelerator |
4545
|13 | App service plan | Datahub/Accelerator |
4646
|14 |Azure Maps account |Accelerator |
47-
|15 | Azure Time Series Insights | Datahub |
4847

4948
Azure FarmBeats is available for download in Azure Marketplace, which you can access directly from the Azure portal.
5049

@@ -78,7 +77,7 @@ Before you start the deployment, ensure that the following prerequisites are in
7877

7978
An account with Sentinel helps you to download the Sentinel satellite imagery from their official website to your device. To create a free account, do the following:
8079

81-
1. Go to the [Sentinel account registration page](https://scihub.copernicus.eu/dhus/#/self-registration).
80+
1. Go to the [Sentinel account registration page](https://scihub.copernicus.eu/dhus/#/self-registration).
8281
1. On the registration form, provide your first name, last name, username, password, and email address.
8382

8483
A verification email will be sent to the registered email address for confirmation. Select the link to confirm your email address. Your registration process is complete.
@@ -206,7 +205,7 @@ In this scenario, which is described earlier in "Option 1," Installer creates th
206205
> The token expires after 60 minutes. If it expires, you can restart by retyping the deployment command.
207206

208207
1. At the prompt, enter your Sentinel account password.
209-
208+
210209
The installer validates and starts the deployment, which can take about 20 minutes.
211210

212211
After the deployment finishes successfully, you'll receive the following output links:
@@ -277,12 +276,8 @@ If you encounter any issues, review [Troubleshoot](troubleshoot-project-farmbeat
277276
After the Datahub installation is complete, you'll receive the URL to access Azure FarmBeats APIs via the Swagger interface in the format https://\<yourdatahub-website-name>.azurewebsites.net/swagger.
278277

279278
1. To sign in via Swagger, copy and paste the URL in your browser.
280-
1. Sign in with your Azure portal credentials.
281-
1. (Optional) Try this "sanity test":
282-
283-
- Sign in successfully to the Swagger portal by using the Datahub link, which you received as an output to a successful deployment.
284-
- Extended types Get API- Select "Try it out /Execute"
285-
- You should receive the server response Code 200 and not an exception, such as "403 unauthorized user."
279+
2. Sign in with your Azure portal credentials.
280+
3. You can see the swagger and perform all REST operations on the Azure FarmBeats APIs. This indicates successful deployment of Azure FarmBeats.
286281

287282
### Accelerator
288283

articles/industry/agriculture/references-for-farmbeats.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The Azure FarmBeats APIs provide agricultural businesses with a standardized RES
1818
- APIs to get sensor, camera, drone, weather, satellite, and curated ground data.
1919
- Normalization and contextualization of data across common data providers.
2020
- Schematized access and query capabilities on all ingested data.
21-
- Automatic generation of metadata that can be queried, based on agronomic features.
21+
- Automatic generation of metadata that can be queried, based on agronomic features.
2222
- Automatically generated time sequence aggregates for rapid model building.
2323
- Integrated Azure Data Factory engine to easily build custom data processing pipelines.
2424

@@ -97,7 +97,7 @@ curl -X POST "https://microsoft-farmbeats.azurewebsites.net/Device" -H "accept:
9797
### Query parameters
9898
9999
For REST GET calls, you can filter, limit the size of, and sort the data in an API response by including one or more query parameters on the request URI. For the query parameters, see the API documentation and the individual GET calls.
100-
For example, when you query the list of devices (GET call on /Device), the following query parameters can be specified:
100+
For example, when you query the list of devices (GET call on /Device), the following query parameters can be specified:
101101
102102
![List of devices](./media/for-references/query-parameters-device-1.png)
103103
@@ -158,12 +158,12 @@ Azure FarmBeats APIs can be accessed by a user or an app registration in Azure A
158158

159159
4. Go to your [Datahub Swagger](https://<yourdatahub>.azurewebsites.net/swagger/index.html) and do the following:
160160
- Go to the **RoleAssignment API**.
161-
- Perform a POST to create a **RoleAssignment** object for the **Object ID** you just created.
161+
- Perform a POST to create a **RoleAssignment** object for the **Object ID** you just created.
162162

163163
> [!NOTE]
164164
> For more information on how to add users and Active Directory registration, see [Azure Active Directory](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
165165
166-
After you finish the previous steps, your app registration (client) can call the Azure FarmBeats APIs by using an access token via bearer authentication.
166+
After you finish the previous steps, your app registration (client) can call the Azure FarmBeats APIs by using an access token via bearer authentication.
167167

168168
Use the access token to send it in subsequent API requests in the header section as:
169169

articles/industry/agriculture/troubleshoot-project-farmbeats.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,26 @@ ms.author: v-umha
1111

1212
This article provides solutions to common Azure FarmBeats issues.
1313

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]. Be sure to include the **deployer.log** file in your email.
1515

16-
To download the *deployer.log* file, do the following:
16+
To download the **deployer.log** file, do the following:
1717

18-
1. Select the highlighted icon and then, in the drop-down list, select **Download**.
18+
1. Sign-in to **Azure portal** and select your subscription and Azure AD tenant.
19+
2. Launch Cloud Shell from the top navigation of the Azure portal.
20+
3. Select **Bash** as the preferred Cloud Shell experience.
21+
4. Select the highlighted icon and then, in the drop-down list, select **Download**.
1922

2023
![Project FarmBeats](./media/troubleshooting-farmbeats/download-deployer-log-1.png)
2124

22-
1. In the next pane, enter the path to your *deployer.log* file. For example, enter **farmbeats-deployer.log**.
25+
5. In the next pane, enter the path to your **deployer.log** file. For example, enter **farmbeats-deployer.log**.
2326

2427
## Sensor telemetry
2528

2629
### Can't view telemetry data
2730

2831
**Symptom**: Devices or sensors are deployed, and you've linked FarmBeats with your device partner, but you can't get or view telemetry data on FarmBeats.
2932

30-
**Corrective action**:
33+
**Corrective action**:
3134

3235
1. Go to your FarmBeats Datahub resource group. 
3336
1. Select the **Event Hub** (DatafeedEventHubNamespace), and then check for the number of incoming messages.
@@ -39,14 +42,14 @@ To understand how to download logs, go to the ["Collect logs manually"](#collect
3942

4043
### Don't have the Azure Event Hubs connection string
4144

42-
**Corrective action**:
45+
**Corrective action**:
4346

4447
1. In Datahub Swagger, go to the Partner API.
4548
1. Select **Get** > **Try it out** > **Execute**.
4649
1. Note the partner ID of the sensor partner you're interested in.
4750
1. Go back to the Partner API, and select **Get/\<ID>**.
4851
1. Specify the partner ID from step 3, and then select **Execute**.
49-
52+
5053
The API response should have the Event Hubs connection string.
5154

5255
### Device appears offline
@@ -124,7 +127,7 @@ If the error persists, add the error message in a post on the FarmBeats forum, o
124127
**Issue**: FarmBeats Accelerator isn't showing the latest version, even after you've upgraded FarmBeatsDeployment.
125128

126129
**Corrective action**: This error occurs because of service worker persistence in the browser. Do the following:
127-
1. Close all browser tabs that have Accelerator open, and close the browser window.
130+
1. Close all browser tabs that have Accelerator open, and close the browser window.
128131
1. Start a new instance of the browser, and reload the Accelerator URI. This action loads the new version of Accelerator.
129132

130133
## Sentinel: Imagery-related issues
@@ -133,7 +136,7 @@ If the error persists, add the error message in a post on the FarmBeats forum, o
133136

134137
**Job failure message**: "Full authentication is required to access this resource."
135138

136-
**Corrective action**:
139+
**Corrective action**:
137140

138141
Do one of the following:
139142
* Rerun the installer for upgrading Datahub with the correct username and password.
@@ -204,7 +207,7 @@ Try either of the following:
204207

205208
![Project FarmBeats](./media/troubleshooting-farmbeats/collecting-logs-manually-1.png)
206209

207-
### Collect Azure Data Factory job logs in Accelerator
210+
### Collect Azure Data Factory job logs in Accelerator
208211

209212
1. Sign in to the [Azure portal](https://portal.azure.com).
210213
1. In the **Search** box, search for the FarmBeats Accelerator resource group.

0 commit comments

Comments
 (0)