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

Srikanth Chinnakonda 26 Reputation points
2020-12-16T13:23:51.913+00:00

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?

Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,945 questions
0 comments No comments
{count} vote

Accepted answer
  1. Anshika Choubey 336 Reputation points Microsoft Employee
    2020-12-16T15:58:08.413+00:00

    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:

    48748-image.png

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

    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:
    https://learn.microsoft.com/en-us/azure/active-directory-b2c/billing

    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
    2021-11-22T11:45:10.237+00:00

    @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

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.