Azure Sphere rest api's issue

Prathik 6 Reputation points
2022-01-12T14:46:11.27+00:00

Hello. I was able get the resource groups using bearer token.

179673-image.png

But I couldn't figure out how to run the API's using https://prod.core.sphere.azure.net/ to get tenant details and move device to different group.

Please provide more info on this. Thank you

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
222 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. António Sérgio Azevedo 7,671 Reputation points Microsoft Employee
    2022-01-13T21:37:59.367+00:00

    Hello @Prathik are you testing as described here: Tenants Get?

    GET https://prod.core.sphere.azure.net/v2/tenants/{tenantId}

    See also: Authentication library values

    If you call the Active Directory Libraries to acquire a Bearer Token to use for authentication, you must supply four values:

    Thanks


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.