Farm Beats Error - Error when creating Azure Active Directory Application

Philip Honey 6 Reputation points
2021-12-09T04:55:01.08+00:00

I am following the steps to install MS Farmbeats.

When it gets to the stage to create the Azure Active Directory, I am faced with the following error in Powershell after following the code to create AAD application:

The script can take a few minutes to complete. Please wait...  
Invoke-RestMethod: /home/philip/create_aad_script.ps1:120  
Line |  
 120 |      $App = Invoke-RestMethod -Uri $PostReqUrl -Method POST -Headers $ …  
     |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
     | {"odata.error":{"code":"Request_BadRequest","message":{"lang":"en","value":"Values of identifierUris property must use a verified domain of the organization or its  
     | subdomain:  
     | 'https://[redacted1]-api.azurewebsites.net'"},"requestId":"0512c89c-8d7e-4cd8-bc12-3b82edc89a1f","date":"2021-12-09T04:40:32","values":[{"item":"PropertyName","value":"identifierUris"},{"item":"PropertyErrorCode","value":"HostNameNotOnVerifiedDomain"},{"item":"HostName","value":"https://[redacted1]-api.azurewebsites.net"}]}}  

I can confirm that we have a verified domain within Azure, have ownership status. Is anyone else having the same issues and cannot resolve?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,815 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,381 questions
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. Marilee Turscak-MSFT 33,706 Reputation points Microsoft Employee
    2021-12-10T00:59:10.247+00:00

    The product team is aware of this and investigating the issue. I am awaiting a response from them and will update you as soon as I hear back.

    Update: The product team has advised to make sure that you are using the latest version of FarmBeats. If you still have this issue, please create a support ticket.

    0 comments No comments

  2. AshokPeddakotla-MSFT 27,121 Reputation points
    2021-12-15T16:07:58.64+00:00

    @Philip Honey We regret for the inconvenience caused. As mentioned, we have notified this issue to our team and below is the latest update.

    You are trying to setup the FarmBeats version which is in public preview. We want to update you on the new version of FarmBeats which we are building. It’s a fully managed PaaS offering (Platform-As-A-Service). The rearchitected PaaS platform makes it easy for customers to use FarmBeats, here are a few advantages:

    Simple onboarding: You don’t have to provision multiple resources under your tenant. Just instantiate the PaaS version of the FarmBeats, and we will take care of all the complexity behind the scenes
    Improved scalability and performance: PaaS service will take care of scaling and provides better performance (Ex: faster ingestion of satellite data in seconds)
    More features: PaaS version supports data related to satellite imagery, weather, Farm operations, Sensors (WIP), event notifications, and more. It natively supports agronomic constructs like farms, fields, seasons, crops, management zones, prescription maps, etc.
    Extensibility: There will now be no limitation to work with an approved list of weather service or sensor providers. The extensibility framework can help customers to work with any weather service and sensor providers (WIP) of their choice in FarmBeats.
    Out-of-the-box AI/ML models: FarmBeats supports a few out of the box AI/ML/Statistical models like sensor placement map, biomass estimation model, Soil moisture map, boundary identification, NDVI forecast, LAI, etc. which can be leveraged by users
    Power analytics: PaaS version has developer-friendly Python SDK. Users can create ARDs easily using APIs and build/train their AI/ML/Statistical models on Azure

    In case you want to use the new version of FarmBeats, kindly write to us at FarmBeatsSupport [at] microsoft [dot] com by providing your Azure subscription ID and GitHub ID to get access to the product documentation. Also, note that the new version does not have a UI layer. It is to be used via APIs only.

    Do let us know if you have any further queries.

    -------------------------

    If an answer is helpful, please click on 130616-image.png or upvote 130671-image.png which might help other community members reading this thread.