Accessing Azure Sphere Public API with ADD App

Imran Bhadelia 21 Reputation points
2021-08-23T09:19:44.623+00:00

Token is not valid.

Followed all steps mentioned in below link

https://learn.microsoft.com/en-us/azure-sphere/deployment/authenticate-service-principal

Getting token successfully, but its not valid token as per https://jwt.ms/ and Azure Public API doesnt give response.

Anyone have this working ?

Also have question. As mentioned in document to create user with format <ObjectID>@<TenantID>.onmicrosoft.com, here objectid of the Azure Sphere Public API (7c209960-a417-423c-b2e3-9251907e63fe) ?

Imran

Azure Sphere
Azure Sphere
An Azure internet of things security solution including hardware, operating system, and cloud components.
171 questions
0 comments No comments
{count} votes

Accepted answer
  1. AshokPeddakotla-MSFT 35,971 Reputation points Moderator
    2021-08-24T11:26:29.407+00:00

    @Imran Bhadelia

    Getting token successfully, but its not valid token as per https://jwt.ms/ and Azure Public API doesnt give response.

    Could you please confirm, if you have followed and completed all the prerequires126045-image.png

    Also have question. As mentioned in document to create user with format <ObjectID>@<TenantID>.onmicrosoft.com, here objectid of the Azure Sphere Public API (7c209960-a417-423c-b2e3-9251907e63fe) ?

    Object ID referring here is the unique ID of the service principal object associated with this application.


0 additional answers

Sort by: Most helpful

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.