Created IoT Central app in my resource group but can't logon to [subdomain].azureiotcentral.com

Skelly, Jay 5 Reputation points
2023-06-13T19:39:22.8033333+00:00

successfully deployed an azure iot central application to my resource group. attempting to access [subdomain].azureiotcentral.com gives me a 'This may not be for you...' I've tried incognito mode and had an IT admin attempt with the same results.

Azure IoT Central
Azure IoT Central
An Azure hosted internet of things (IoT) application platform.
347 questions
{count} vote

1 answer

Sort by: Most helpful
  1. LeelaRajeshSayana-MSFT 13,471 Reputation points
    2023-06-13T22:31:51.6433333+00:00

    Hi @Skelly, Jay Greetings! Welcome to Microsoft Q&A forum. Thank you for posting the question here.

    Can you share more details on how you have created the IoT Central Application? Can you access the IoT Central App home page using the URL https://apps.azureiotcentral.com/myapps and see the app you have created there?

    Get the list of users associated with the IoT Central application using the end point GET https://{your app subdomain}.azureiotcentral.com/api/users?api-version=2022-07-31 Look for the role value returned for the user you are trying to authenticate with. If the user is assigned an Admin role, the role value should be ca310b8d-2f4a-44e0-a36e-957c202cd8d4.

    If you are testing the API through postman, it needs bearer token as an authentication. You can get this token by executing this command az account get-access-token --resource https://apps.azureiotcentral.com from local Azure CLI or Cloud shell

    If the role returned is anything different from Administrator, try to access the application after assigning the user with Service Principal role. Refer the link Add or update a service principal user

    If the role returned is anything different from Administrator, try to access the application after assigning the user with Service Principal role. Refer the link Add or update a service principal user

    {
      "roles": [
        {
          "role": "344138e9-8de4-4497-8c54-5237e96d6aaf"
        }
      ]
    }
    

    Please let us know if this helps.Please refer the link which provides more details on How to use the IoT Central REST API to manage users and roles

    Please let us know if this helps.Please refer the link which provides more details on How to use the IoT Central REST API to manage users and roles

    Hope this helps. Please let us know if you have any questions or need further assistance.


    If the response helped, please do click Accept Answer and Yes. Doing so would help other community members with similar issue identify the solution. I highly appreciate your contribution to the community.

    1 person found this answer helpful.