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 2239 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
  • pjestico
    pjestico over 6 years ago in reply to clem57

    I know that doesn't work as that's what kicked this thread off, when I found that action was failing as below:

     

    azsphere tenant create --name "AzureSphere Testing" --force -v
    Azure Sphere Utility version 19.5.4.53731
    Copyright (C) Microsoft Corporation. All rights reserved.

    Start time (UTC): Wednesday, 11 September 2019 14:18:49
    verbose: Creating new Azure Sphere tenant with name 'AzureSphere Testing'.
    verbose: No Azure Sphere tenants found under the selected AAD user.
    verbose: Successfully logged in with the selected AAD user. This authentication will be used for subsequent commands.
    verbose: No SerialSlipToTunService port is set in the registry; defaulting to 56665.
    verbose: Using attached device ID '389B8BE2FF2F649E3438BD1F32DE21F4DBCEFA4CF9ABF2E2D80B92484ADE5EF36A9880FBA7DC3D562F48C875F5ABB54D367FAE623F4BDBAEB54FF2675F1C70F3'.
    error: Failed to create an Azure Sphere tenant with name 'AzureSphere Testing'.
    Trace ID: 4837d2d7-2e04-4de2-a0bf-3fa46f5f0ec2
    Received HTTP response: 400 (Bad Request)
    -> Endpoint: POST https://prod.core.sphere.azure.net/tenants
    -> Content Type: NULL
    error: An unexpected problem occurred. Please try again; if the issue persists, please refer to aka.ms/azurespheresupport for troubleshooting suggestions and support. Trace ID: 4837d2d7-2e04-4de2-a0bf-3fa46f5f0ec2

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

    This is exactly as this post https://social.msdn.microsoft.com/Forums/en-US/caea57b7-9f9d-45c6-841b-8a2e718393aa/changing-directory-and-tenant-before…

    I suggest you follow this thread for the answer since Microsoft has to fix it.

    I am sorry we could not get the ball rolling,

    Clem

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

    Unfortunately that post doesn't reflect what's going on here as it seems that device had been used for a one way action previously which mine hasnt.

    I had reviewed that one before posting here and was hopeful when I started reading it.

     

    However I have contacted the Microsoft Azure Sphere email address listed there for assistance.

    I will update this thread if I ever get a clear answer in case its helpful to others in a similar situation.

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

    Peter,

     

    Can you confirm that you're able to communicate with the Azure Sphere device and read the device ID?  I think I remember seeing a post from you that showed you could.

     

    azsphere device show-attached

     

    I don't think that the device needs to be claimed to execute this command.  If you are able to read the device ID from the device, then the tenant creation issue you're having is likely on Microsoft's side. 

     

    I think you suspect that the device has been previously claimed.  This is highly unlikely.  We manufactured the 20,000 free kits all together and as far as I know, there were not any devices removed from the production run.  All these devices were manufactured, tested and shipped directly to distribution centers.

     

    Brian

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

    Brian,

     

    Yes I can confirm that I get a response from the device that contains a device ID, IP address and connection path.

     

    Peter

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

    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 in the documentation.  That took me to the interface that signed me up for a new Azure account, created the Azure Active Directory in my account and created my tenant user. 

     

    I can login to the new account using the >"azsphere login" command and the new credentials.  But when I go to create the tenant I get the same error you're getting.  I don't have a unclaimed device with me, so I was using a previously claimed device.  I have a fresh unclaimed device at home and I'll try again on Monday.  I'll post the results here on Monday.  I suspect I'll run into the same issue as you, but I need to try it with a fresh device.

     

    Brian

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
  • pjestico
    pjestico over 6 years ago in reply to bwilless

    Thanks Brian, look forward to hearing how things go on Monday.

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

    Hi Brian, did you get a chance to try a tenant creation today?

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

    Hi Peter,

     

    I just used my new device (never claimed before) to create a new tenant.

     

    Just to document what I did . . .

     

    I wanted to use a personal email address to setup a new Azure account and new Azure Sphere Tenant

     

    • I followed this link to get started:  https://account.azure.com/organization
      • I used my personal email address
      • This page helped me create a <myDomain>.onmicrosoft.com domain
    • I followed the link to create a new Azure Pay-as-you-Go account
    • The Azure Account was created that included a new Azure Active Directory and a new user that matched my new domain
      • The user was granted "Global Administrator" rights
    • From the Azsphere command line interface
      • I plugged in my fresh device
      • Upgraded the os: azsphere device recover
      • I created the Tenant: azsphere tenant create --name <myNewTenantName>
        • I was prompted to login to my tenant, I used my new user's login
          • <MyUser>@<MyDomain>.onmcirosoft.com

     

    So it looks like your device may have been claimed before, although I have no idea how that could have happened.  My recommendation is that you contact the site where you got your device to get your device replaced. 

     

    Brian

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

    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 to their support to start the process last week.

    I will chase them up now I have your results.

     

    Assuming I get the device replaced and the device works as expected I will update this thread again.

     

     

    Peter

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • pjestico
    pjestico over 6 years ago in reply to bwilless

    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 to their support to start the process last week.

    I will chase them up now I have your results.

     

    Assuming I get the device replaced and the device works as expected I will update this thread again.

     

     

    Peter

    • Cancel
    • Vote Up +2 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