How to fix issue mentioned below on the details.

Mahendra Raut 0 Reputation points
2025-03-18T08:01:30.8+00:00

I'm using microsoft learn to understand some azure concepts. While trying to use sandbox, I'm facing the issue below:

"Selected user account does not exist in tenant 'Microsoft Services' and cannot access the application '18fbca16-2224-45f6-85b0-f7bf2b39b3f3' in that tenant. The account needs to be added as an external user in the tenant first. Please use a different account."

how do i fix it?

PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,906 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Daisy Zhou 32,416 Reputation points Microsoft External Staff
    2025-03-19T01:48:19.03+00:00

    Hello Mahendra Raut,

    Thank you for posting in Q&A forum.

    Here are some steps you can try:

    1. Ensure you have activated the sandbox correctly by solving any initial puzzles or reviewing permissions.
    2. Open a New Browser Tab:

    • Once you see the sign-in box appear, open a new browser tab and go to Azure Cloud Shell.

    • If your existing sandbox hasn't expired, you can use it instead of activating a new one.

    1. Use Concierge Subscription:

    • When prompted in the Cloud Shell, select Bash (or PowerShell if needed).

    • Choose No storage account required, select Concierge Subscription, and click Apply.

    • After a few seconds, you should see the $ prompt, allowing you to complete the exercise instructions.

    1. Ensure your account has the necessary permissions to access the sandbox. You might need to be added as an external user in the tenant.
    2. Sometimes, clearing your browser cache can resolve authentication issues. Try clearing the cache and cookies and then reattempting the sandbox activation.

    References:

    Issue creating Sandbox for Learn subscription, Error: Selected user ...

    Cannot use the Microsoft Learn sandbox

    I hope the information above is helpful.

    If you have any questions or concerns, please feel free to let us know.

    Best Regards,

    Daisy Zhou

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.