question

sunayana avatar image
1 Vote"
sunayana asked azure-cxp-api edited

Unable to deploy Azure FarmBeats

Tried to deploy through Marketplace, end up with an empty Resource Group. Click through the Deployments to see two listed as successful, but when I try to drill down, the inputs/outs are empty. Also tried to deploy through CloudShell.

 Error: Entry not found in cache. 
     at Logger.createError (/home/kris/farmbeats-installer/node_modules/adal-node/lib/log.js:216:13) 
     at TokenRequest.<anonymous> (/home/kris/farmbeats-installer/node_modules/adal-node/lib/token-request.js:526:40) 
     at /home/kris/farmbeats-installer/node_modules/adal-node/lib/token-request.js:148:20 
     at /home/kris/farmbeats-installer/node_modules/adal-node/lib/cache-driver.js:366:7 
     at /home/kris/farmbeats-installer/node_modules/adal-node/lib/cache-driver.js:301:7 
     at Request._callback (/home/kris/farmbeats-installer/node_modules/adal-node/lib/util.js:130:7) 
     at Request.self.callback (/home/kris/farmbeats-installer/node_modules/request/request.js:185:22) 
     at Request.emit (events.js:198:13) 
     at Request.<anonymous> (/home/kris/farmbeats-installer/node_modules/request/request.js:1161:10) 
     at Request.emit (events.js:198:13) 
 Validating inputs. 
 /home/kris/farmbeats-installer/publish/index.js:1252 
     const index = cachedAuthResponse.linkedSubscriptions.findIndex((x) => x.id === params.subscriptionId); 
 TypeError: Cannot read property 'linkedSubscriptions' of null 
     at validateSubscriptionId (/home/kris/farmbeats-installer/publish/index.js:1252:38) 
     at getRequiredArguments (/home/kris/farmbeats-installer/publish/index.js:173:34) 
     at main (/home/kris/farmbeats-installer/publish/index.js:385:12) 
     at Object.<anonymous> (/home/kris/farmbeats-installer/publish/index.js:145:9) 
     at Module._compile (internal/modules/cjs/loader.js:778:30) 
     at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) 
     at Module.load (internal/modules/cjs/loader.js:653:32) 
     at tryModuleLoad (internal/modules/cjs/loader.js:593:12) 
     at Function.Module._load (internal/modules/cjs/loader.js:585:3) 
     at Function.Module.runMain (internal/modules/cjs/loader.js:831:12) 

Any assistance would be appreciated.

azure-farmbeats
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

AshokPeddakotla-MSFT avatar image
0 Votes"
AshokPeddakotla-MSFT answered

Thanks for reaching out. Please try the following steps and let us know if it resolves the issue

  1. Run the deployment command again (wget - O) and when you reach the device login again try opening the URL in an incognito window to login.

  2. If the above doesn’t resolve the issue - Add “domainId” to your input json file and upload this file whenever you get faced with this issue. This field lets you specify a pertinent Azure tenant that you would like the installer to authenticate you into.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.