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 Azsphere login problems
  • 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
  • State Suggested Answer
  • Replies 6 replies
  • Answers 1 answer
  • Subscribers 47 subscribers
  • Views 1140 views
  • Users 0 members are here
Related

Azsphere login problems

bjcollin
bjcollin over 5 years ago

I just received my kit a couple of days ago.  I was able to successfully install the Windows only version of the SDK, talk to the board over USB to get it registered for the contest, get the wifi setup to get an IP assigned, and get the OS updated.  However, on the next step when I go through the claim the board steps, I get stuck at the azsphere login command.  It has huge minutes long wait times, and then it eventually times out with a red error message that the login command has failed.  If I use the command with or without the parameter --newuser bjcollin@hotmail.com , and with or without quotes it still will say registration successful, but it still will not work to login.  I checked at the recommended website link in the documentation and I can login and see my Microsoft account properly there, but the azure sphere board does not show up there anywhere that I could find and only my Windows PC looks to be a registered device.

 

So what do I do next?  It won't let me progress to create a tenant without being logged in.  Does this service only register with live accounts or are hotmail accounts acceptable?  Help.  Thank you in advance.

 

 

Brian Collins

bjcollin@hotmail.com

  • Sign in to reply
  • Cancel

Top Replies

  • crisdeodates
    crisdeodates over 5 years ago +1 suggested
    Hi bjcollin , I also got the package only yesterday due to delays caused by several factors. Seems like I could not participate in the ping competition nor make a good project before the deadline for the…
  • danzima
    0 danzima over 5 years ago

    peterfenn
    bwilless

    Hi folks, any insights on the above?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • bjcollin
    0 bjcollin over 5 years ago

    I went to azure.microsoft.com and created my 12 months free Azure account using my same hotmail email address.  I figured that would solve the problem, but it has not.  I can still daily register the kit but it still will not let me log in.  Any other ideas?  Thank you.

     

    Brian Collins

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • bjcollin
    0 bjcollin over 5 years ago in reply to bjcollin

    Not to be confused with the other azure account I created... I followed the advice in the lazy person's' guide resource and went to https://account.azure.com/organization which wanted my information yet again to create an Azure account.  It then proceeded to tell me that I already had a free account and if I wanted to upgrade to a paid account, which I did not.  I then noticed that there was an AAD created in my previous account.  brian@bjcollinhotmail.onmicrosoft.com  as well as the user I created in this one brian@bjcollin.onmicrosoft.com  So the user shows up in the AAD, but the board still will hang on logins with these accounts.  This is getting very frustrating.  I think I have run out of ideas for this.  Thanks.

     

    Brian Collins

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • crisdeodates
    0 crisdeodates over 5 years ago

    Hi bjcollin, I also got the package only yesterday due to delays caused by several factors. Seems like I could not participate in the ping competition nor make a good project before the deadline for the Sphere contest.

     

    Anyways, happy to help you.

    Here are the steps that I took to successfully get things done with my kit:

     

    1. I hope you have already created your azure sphere account here (eg: account1@org.onmicrosoft.com).

    2. Also, I hope you have VS 2017+ and Azure Sphere SDK installed.

    3. Connect your device to the Win machine.

    4. Search for 'Azure Sphere' in the start menu and pull up the CLI.

    5. Execute 'azsphere device recover'

    6. Execute 'azsphere login --newuser account1@org.onmicrosoft.com'

    7. Login to the popup window

    8. Execute 'azsphere login'

    9. Execute 'azsphere tenant create --name <tenant_name>' 

    //please note that tenant_name can be any name that u wish

    10. Type 'yes' for confirmation of tenant creation.

    11. Execute 'azsphere device claim'

    12. Execute 'azsphere device wifi add -s <SSID> -p <SSID-passkey>'

     

    Your device is now setup.

    Just make sure that the account you use in steps 6 and 7 are the same. Also in step 12, use the tag -p instead of -k as told in the lazy person's guide.

     

    Cris

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • bjcollin
    0 bjcollin over 5 years ago

    Cris,

     

    Thank you for the help!  I ended up having to power down and restart my PC for another unrelated problem that I was having.  Then after everything came back up, it magically started working and it attached to my hotmail account by popping up a login screen and then everything progressed perfectly from there and I was finally able to claim and get the device set up.  I guess the installation of the drivers on the first night along with something else I had going on necessitated a full reboot because those pop-ups to login were being blocked which was causing my hanging login problem all along.

     

    Brian

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • crisdeodates
    0 crisdeodates over 5 years ago in reply to bjcollin

    Cool. Glad that you sorted out the issue. Enjoy the Sphere image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
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