Unable to launch Cloud Shell - Asking me to create new subscription when I have one already

Srikanth Chinnakonda 26 Reputation points

I have created a Pay-As-You-Go subscription and I am able to launch Cloud Shell in my Default Directory. I have also created a Azure B2C tenant which is also created using the same Pay-As-You-Go subscription but when I try to launch Cloud Shell, I am getting an error that I do not have a subscription. What am I missing here? When I create my B2C tenant, it does ask for a subscription and why is the Cloud Shell still not getting linked to the same subscription?

Azure Active Directory External Identities
0 comments No comments
{count} vote

Accepted answer
  1. Anshika Choubey 336 Reputation points Microsoft Employee

    Hello @SrikanthChinnakonda-9694, Thank you for reaching out to us.

    A subscription linked to an Azure AD B2C tenant is for Support, Billing and to use Custom Policies and can not be used to create other Azure resources like Storage account, VMs etc. Subscription is just tied to B2C resource as highlighted in below screenshot.
    You may check that subscription is linked to the b2c tenant by going to Overview Option:


    If you navigate to Subscriptions blade, you won’t see the subscription linked to the tenant(below screenshot):

    Now, As per your ask you are unable to see subscription for CloudShell, because for running cloud shell, we need to create A Storage account first then we can perform the task and B2C is not for resource management and it works on MAU basis, hence this is the expected behavior in B2C tenant with cloud shell.

    If you are looking to run any script or any task you may consider using Windows PowerShell for this purpose.

    Please have a look into the article for more information:

    In case you have any questions on the same, you can surely let us know and we will be happy to help you further. If this post provides you the answer you were looking for, do accept it as an answer in the interest of community members with similar queries. If this does not answer, please ask further in the comments and we will happy to address your concerns.

    Thank you.

    2 people found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Floris vdZ 6 Reputation points

    @Anshika Choubey although a clear explenation of the situation it is redicoulous that it is not possible to use Azure Cloud Shell for Azure AD B2C, because of this.
    As a storage account is required and B2C does not allow it, the portal should provide a way to select a storage account in the subscription the B2C is tight to, logically.

    1 person found this answer helpful.
    0 comments No comments