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 1134 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…
Parents
  • 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
Reply
  • 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
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