Azure Sphere 3620 Tenant Problem

Darren Bearne 1 Reputation point
2020-07-19T14:01:03.193+00:00

I have a problem with an Azure Sphere 3620 board which will not allow me to link the tenant to my account.

The board was new working yesterday and setup in my account which was done via the Sphere Developer Command Prompt and was all fine. Since setting up my azure account further When I now connect to the board I have the warning that I do not have any access to Azure Sphere tenants. I cannot also create a new tenant (even using force command due to "error: Failed to create an Azure Sphere tenant with your device, this may be because it was already claimed to a different Azure Sphere tenant."

I have also tried a device restore which has not helped.

I have since noticed that it looks like something on the account went strange as I found an email saying "you have left the Azure Sphere Organization". Hopefully finding out how to rejoin this may solve?!

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

2 answers

Sort by: Most helpful
  1. AshokPeddakotla-MSFT 34,701 Reputation points
    2020-07-20T05:10:06.93+00:00

    @DarrenBearne-7936 Welcome to Q&A forums!

    Sorry to hear that you are experiencing issues with Azure Sphere tenant creation.

    I would suggest you, first verify the OS version and SDK version which you have installed.

    To verify the installed OS version on an attached device, use the following command:

     azsphere device show-os-version
    

    It will show the version of OS running in Azure Sphere.
    13002-sphere-version.png

    To check which version of the SDK is installed on your local computer, use the following command:

     azsphere show-version
    

    Also, try to recover the device by issuing the below command.

     azsphere device recover
    

    You can determine whether an Azure Sphere tenant is already associated with your directory by issuing the below command in an Azure Sphere developer command prompt and signing in with your work or school account if prompted:

    What is the result of azsphere tenant show-selected cmdlet?

    Also, check azsphere tenant list and see if you have already created a tenant and remember with the list?

    Please note that, Claiming is a one-time operation that you cannot undo even if the device is sold or transferred to another person or organization. A device can be claimed only once. Once claimed, the device is permanently associated with the Azure Sphere tenant.

    It is advised to claim a device under the same tenant which you have already created. If your device is not claimed, you can claim it by creating a tenant.
    Please check whether the device is already associated with a tenant or not.

    I would suggest you, follow the documentation for more details to Claim your device.

    Let us know if you need further help.

    0 comments No comments

  2. Darren Bearne 1 Reputation point
    2020-07-20T16:07:51.387+00:00

    HI,

    Thanks for the details.

    Noted that the Sphere OS version is 20.06 but it was 19.xx when I first unboxed (unit been sat brand new in my drawer for a year). I have tried migrating etc with no luck!

    C:\Users\darre\Documents>azsphere device show-os-version
    Your device is running Azure Sphere OS version 20.06.

    C:\Users\darre\Documents>azsphere show-version
    20.04.2

    C:\Users\darre\Documents>azsphere tenant show-selected
    warn: You don't have access to any Azure Sphere tenants.
    warn: Type 'azsphere tenant create --name <name>' or, if you have used Azure Sphere before, type 'azsphere tenant migrate'.
    warn: No tenants found. Use 'azsphere login' to change user, or create a new Azure Sphere tenant using 'azsphere tenant create'.
    warn: No Azure Sphere tenant currently selected. Use 'azsphere tenant list' to view the list of available Azure Sphere tenants, and 'azsphere tenant select' to select one.

    C:\Users\darre\Documents>azsphere tenant list
    warn: You don't have access to any Azure Sphere tenants.
    warn: Type 'azsphere tenant create --name <name>' or, if you have used Azure Sphere before, type 'azsphere tenant migrate'.
    warn: No tenants found. Use 'azsphere login' to change user, or create a new Azure Sphere tenant using 'azsphere tenant create'.
    error: You do not have access to any Azure Sphere tenants.

    C:\Users\darre\Documents>azsphere device claim
    warn: You don't have access to any Azure Sphere tenants.
    warn: Type 'azsphere tenant create --name <name>' or, if you have used Azure Sphere before, type 'azsphere tenant migrate'.
    warn: No tenants found. Use 'azsphere login' to change user, or create a new Azure Sphere tenant using 'azsphere tenant create'.
    warn: No Azure Sphere tenant currently selected. Use 'azsphere tenant list' to view the list of available Azure Sphere tenants, and 'azsphere tenant select' to select one.

    I am pretty certain with everything I have tried is that the problem with the Azure account and that the tenant was in the "Azure Sphere Organisation" that has now gone from the account. Is there anyway to restore this back?


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.