element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Azure Sphere Starter Kit
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Azure Sphere Starter Kit
  • More
  • Cancel
Azure Sphere Starter Kit
Forum Possible faulty Azure Sphere device
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Azure Sphere Starter Kit to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 29 replies
  • Subscribers 48 subscribers
  • Views 2245 views
  • Users 0 members are here
Related

Possible faulty Azure Sphere device

pjestico
pjestico over 6 years ago

I have recently received an Avnet Azure Sphere device and it appears to be faulty.

It has not been claimed or used to create a tenant by me previously however I am unable to create my first tenant

I know the commands are good and have posted the issue with Microsoft but support is slow.

 

Is there a way to determine the cause of the issue and either resolve or replace the device?

  • Sign in to reply
  • Cancel

Top Replies

  • bwilless
    bwilless over 6 years ago in reply to pjestico +3
    Thanks Peter, That's what I thought. I've never been through the create tenant process myself, so I gave it a try this morning using a personal email address. I created a new Azure account using this link…
  • pjestico
    pjestico over 5 years ago +3
    After a few email with the hardware vendor and Microsoft I think we have a conclusion. Microsoft confirmed that the device was not claimed and therefore that ruled that our definitively as the cause of…
  • pjestico
    pjestico over 6 years ago in reply to bwilless +2
    Thanks Brian, really appreciate your help. The process I followed to set my domain up and account up and create the tenant matches the one you followed. I bought the device through Farnell and sent a note…
Parents
  • pjestico
    pjestico over 6 years ago

    Thanks for all the suggestions.

    I have been through the documentation and the troubleshooting guide suggested by Brian and the guide suggested by Fred but all is setup as suggested.

     

    The issue I have is that the device is now out of the box.

    I have setup my AAD properly and also created an account to use with the Global Admin role applied.

    When I issue the azsphere login command with that account I get the following which is expected as I haven't created the tenant yet but proves the account is working:

     

    warn: No Azure Sphere tenants found under the selected AAD user.

    Successfully logged in with the selected AAD user. This authentication will be used for subsequent commands.

    Command completed successfully in 00:00:10.6725886.

     

    Next I do the logical thing and try to create my tenant but this is what is returned:

     

    error: Failed to create an Azure Sphere tenant with name 'AzureSphere'.

    Trace ID: acc4be19-6a9f-4133-9fde-073e92f6100b

    error: An unexpected problem occurred. Please try again; if the issue persists, please refer to aka.ms/azurespheresupport for troubleshooting suggestions and support.

    error: Command failed in 00:00:19.5623966.

     

    I have tried using names with spaces, without spaces, with quotes and without and tried random names in case I have hit some reserved term.

    I have also tried using the force option and added verbose to see if the logging tells me anything.

    Nothing results in a different outcome and the logging just gives me a very long winded "400 Bad Request" result.

     

    I can run the command "azsphere dev show-attached" and get a result describing the device ID and its IP so the comms to the device seems good.

     

    If I log into a different Azure account that I know does already have a tenant created and run the following command I have seen Microsoft suggesting tells us if the device has been pre claimed all seems good.

    azsphere dev show-ota-status

    Your device is running Azure Sphere OS version 19.07.

    error: An unexpected problem occurred. Please try again; if the issue persists, please refer to aka.ms/azurespheresupport for troubleshooting suggestions and support.

    error: Command failed in 00:00:03.1368024.

     

    Based on Microsofts suggestions it seems this confirms its not claimed.

     

    So what next?

    You can only claim a device once and I haven't claimed it anywhere and it seems the above confirms that.

    You can only use the device to create one tenant, I haven't created a tenant yet. The account where I had access to a tenant was seeing a tenant created by someone else.

    The account with access to a tenant is in a completely different AAD than the one where I'm unable to create a tenant, so different AADs and different accounts.

     

    The reason I suspected hardware is due to MS saying that you can only create a tenant with a device attached and you can only use a device to create a single tenant.

    That to me means that something in the devices identity is used to create that tenant and if the device isn't responding properly then that's going to cause a Bad Request response, all supposition but the best I have right now.

     

    I have already run an "azsphere dev recover" to ensure the OS version on the device is up to date and that seems to succeed.

    I have checked my AAD config and can see that the 2 Azure Sphere Applications (API and Utility) are listed.

     

    In short I have now run out of places to look and wonder if anyone else can suggest anything or if we think it is a hardware issue does anyone know how Azure Sphere returns work?

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • clem57
    clem57 over 6 years ago in reply to pjestico

    Thanks for the detailed response.

     

    Firstly, while logged into each id you used or created, issue:

    • azsphere tenant list
    • azsphere tenant selected

     

    Then drop in the results here. What we need is the Guid's and names associated with them

    Thanks,

    Clem

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • clem57
    clem57 over 6 years ago in reply to clem57

    BTW, I worked with multiple devices and learned the hard way how to deal with issues.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • clem57
    clem57 over 6 years ago in reply to clem57

    BTW, I worked with multiple devices and learned the hard way how to deal with issues.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube