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/get-sensor-data-from-sensor-partner.md
+14-9Lines changed: 14 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,35 +35,40 @@ After you start the streaming of sensor data, you can begin the process of getti
35
35
You can generate the above information by following these steps: (Please note these steps are required to be done on Azure so you will need access to the Azure subscription where FarmBeats is deployed)
36
36
37
37
1. Download the [zip file](https://aka.ms/farmbeatspartnerscriptv2), and extract it to your local drive. There will be one file inside the zip file.
38
-
2. Sign in to https://portal.azure.com/ and go to Azure Active Directory -> App Registrations
39
38
40
-
3. Click on the App Registration that was created as part of your FarmBeats deployment. It will have the same name as your FarmBeats data hub.
39
+
2. Sign in to https://portal.azure.com/.
41
40
42
-
4. Click on “Expose an API” -> Click “Add a client application” and enter **04b07795-8ddb-461a-bbee-02f9e1bf7b46**and check "Authorize Scope". This will give access to the Azure CLI (Cloud Shell) to perform the below steps.
41
+
3.**If you are on FarmBeats version 1.2.7 or later, please skip steps 3a, 3b and 3c, and go to step 4.**. You can check FarmBeats version by clicking on the Settings icon on the top-right side of the FarmBeats UI.
43
42
44
-
5. Open Cloud Shell. This option is available on the toolbar in the upper-right corner of the Azure portal.
43
+
3a. Go to Azure Active Directory -> App Registrations
44
+
45
+
3b. Click on the App Registration that was created as part of your FarmBeats deployment. It will have the same name as your FarmBeats data hub.
46
+
47
+
3c. Click on “Expose an API” -> Click “Add a client application” and enter **04b07795-8ddb-461a-bbee-02f9e1bf7b46** and check "Authorize Scope". This will give access to the Azure CLI (Cloud Shell) to perform the below steps.
48
+
49
+
4. Open Cloud Shell. This option is available on the toolbar in the upper-right corner of the Azure portal.
8. Go to the directory where the file was uploaded. By default, files get uploaded to the home directory under the username.
61
+
7. Go to the directory where the file was uploaded. By default, files get uploaded to the home directory under the username.
57
62
58
-
9. Run the following script. The script asks for the Tenant ID which can be obtained from Azure Active Directory -> Overview page.
63
+
8. Run the following script. The script asks for the Tenant ID which can be obtained from Azure Active Directory -> Overview page.
59
64
60
65
```azurepowershell-interactive
61
66
62
67
./generatePartnerCredentials.ps1
63
68
64
69
```
65
70
66
-
10. Follow the onscreen instructions to capture the values for **API Endpoint**, **Tenant ID**, **Client ID**, **Client Secret**, and **EventHub Connection String**.
71
+
9. Follow the onscreen instructions to capture the values for **API Endpoint**, **Tenant ID**, **Client ID**, **Client Secret**, and **EventHub Connection String**.
67
72
68
73
### Integrate device data by using the generated credentials
0 commit comments