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 Azure Sphere Tenant not Found
  • 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 5 replies
  • Answers 2 answers
  • Subscribers 47 subscribers
  • Views 1646 views
  • Users 0 members are here
  • tenant not found
  • azurespherech
Related

Azure Sphere Tenant not Found

nafihahmd
nafihahmd over 5 years ago

Hi friends,

Me and my sister had bought Avnet Azure Sphere devices; one for each. We were successful in setting up tenants (from our personal accounts) and claiming the devices. We were able to run a simple blink sketch on the Az sphere. Then we both became busy and forgot our Az spheres. Now recently I was doing project in Secure IoT and suddenly remembered Az sphere and tried to use it. I downloaded the latest SDK (not knowing the new changes) connected my Az sphere and tried to logged in with my account. But to my surprise it showed the following warning.

 

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'.

 

I tried migrating and was greeted with the following error:

Selected user account does not exist in tenant 'OsTechnology' and cannot access the application '0b1c8f7e-28d2-4378-97e2-7d7d63f7c87f' in that tenant. The account needs to be added as an external user in the tenant first. Please use a different account.

At this point I asked my sis to give a try thinking that I was using the wrong account (Although I had the mail from microsoft regarding the creation of the active directory in my mailbox). She also a faced the exact same issue. Both of us can login into our Microsoft azure account and see an Active directory that is expired in our account.

What exactly is happening? More importantly how can we get over this issue?

Hope somebody here already knows what our issues is. I will be very happy and thankful if somebody can assist us.

  • Sign in to reply
  • Cancel

Top Replies

  • BigG
    BigG over 5 years ago +2
    I suggest raising this issue on the Microsoft forum (just make sure to use the correct Azure-Sphere tag): https://docs.microsoft.com/en-us/answers/questions/ask.html
  • nafihahmd
    nafihahmd over 5 years ago in reply to skruglewicz +1 suggested
    Thanks. I will try it and reply. Update: I tried it and the previous issue persists. When I try to login it will say I do not have any tenants in the selected account . Anyway thanks.
Parents
  • BigG
    0 BigG over 5 years ago

    I suggest raising this issue on the Microsoft forum (just make sure to use the correct Azure-Sphere tag): https://docs.microsoft.com/en-us/answers/questions/ask.html

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • nafihahmd
    0 nafihahmd over 5 years ago in reply to BigG

    Thank you very much for the fast reply. I have  raised the issue there aswell.

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

    Hi Naflh

    I ran into the exact same problem with the tenet after upgrading both

    the OS and SDK to a new version. The OS was version 19.9, but not sure the version of the SDK. I seem to remember trying to set the new Debugging mode with the  the new CMD "azsphere dev enable-development".  I'm not sure what broke this, but I worked on it for hours to get my tenet back. I found no help in the Microsoft docs but found some fragment on the Internet,

     

    I recall I needed to re-select the tenet on the board. Somehow the board lost the tenet it was connected to . What a pain in the Butt. This issue would be a disaster in the field, I do hope they address this issue.

     

    Anyway you will  to run some commands from the board from the console.

    1 azsphere logout

    2. power of the board.

    3. azsphere login

    4. azsphere tenent list

    5. azsphere tenent show-selected

    6. azsphere tenent select <tenentID>

    7.azsphere dev enable-development    

     

    I have 2 tenents on the same Azure account, so it was a matter of determining the correct device ID to the correct TenentID relationship. You might want to write this relationship down somewhere.

     

    Hope this works for you. Let me know you results.

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

    Thanks. I will try it and reply.

     

     

    Update:

    I tried it and the previous issue persists. When I try to login it will say I do not have any tenants in the selected account image .

     

    Anyway thanks.

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

    Once a tenet is created on an account it is connected forever I believe to that account f. This is done one time when initially you create a tenant. Security is a ***!  Mentally go over your unboxing notes to see where and How your account was created.

    They made a lot of changes to the OS since the ist version I started with(18.0) to the current version 20.08

     

    Seems like your not using the correct account. DO you still have access to the account you created the tenet with?

    I seem to recall seeing some other members having account problems.

    Sorry I couldn't be of more help.

    This is a real tightly secure chip. I've been having a tremendous amount of agony with it.

    best of luck to you

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

    Once a tenet is created on an account it is connected forever I believe to that account f. This is done one time when initially you create a tenant. Security is a ***!  Mentally go over your unboxing notes to see where and How your account was created.

    They made a lot of changes to the OS since the ist version I started with(18.0) to the current version 20.08

     

    Seems like your not using the correct account. DO you still have access to the account you created the tenet with?

    I seem to recall seeing some other members having account problems.

    Sorry I couldn't be of more help.

    This is a real tightly secure chip. I've been having a tremendous amount of agony with it.

    best of luck to you

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