How to setup an Instant Sandbox?

Weber, Tobias 0 Reputation points
2023-06-02T09:15:07.5166667+00:00

I want to create an Instant Sandbox in my Developer Tenant.

Unfortunately my former employer did not delete my Account, but locked it.

That's why my phone number still is in use for that locked old Tenant, which prevents me to setup a new Developer Tenant with an Instant Sandbox.

Is there anything I can do?

Microsoft Security Microsoft Entra Microsoft Entra ID
{count} votes

1 answer

Sort by: Most helpful
  1. Sandeep G-MSFT 20,906 Reputation points Microsoft Employee Moderator
    2023-06-05T08:48:30.1533333+00:00

    @Weber, Tobias

    There is nothing much that can be done in this situation. You will have to contact old tenant global admin and get your account deleted.

    Post deleting your account, you can again provision it in new tenant and then you can instance in developer tenant.

    If you do not know the global admin of your old tenant you can follow below steps to know global admins.

    You can use PowerShell as well you will have to authenticate yourself first. For authentication again it will prompt for MFA to be completed.

    I would suggest you ask one of your colleague to perform below steps and share the global admin details with you so that you can contact admin and get your MFA registerd.

    • Open Windows PowerShell as administrator.
    • Run command “Install-Module azuread”
    • Once installed you can run command “Connect-AzureAD” and enter user credentials once it asks for.
    • Once you login, you can run command “Get-AzureADDirectoryRole”.
    • From the output you can copy the object ID of Global administrator
    • Run command “Get-AzureADDirectoryRoleMember -ObjectId "Paste the object ID of global admin that was copied earlier"
    • You will get the list of users with global admin role assigned.

    Now you can contact any global admin from the list and ask him/her to delete your account from the tenant.

    Let me know if you have any further queries

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    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.