Forum Discussion

etienne-143's avatar
etienne-143
Occasional Reader
Mar 17, 2026

Azure Cloud Shell Instance Failed to provision

Hi everyone,

 

I have an annoying error when I'm starting from the Azure portal a Cloud shell session, telling me this error : 

{"code":"InvalidSubscription","message":"Invalid subscription identifier provided."}

 

I've found no clue to fix it, and received no guidance from the error itself..

 

Does someone has a solution please ?

3 Replies

  • ValentinoC's avatar
    ValentinoC
    Copper Contributor

    In the Azure Portal

    1. Go to Subscriptions
    2. Make sure you have at least one active subscription
    3. Click "Set as default subscription"

    or inside Cloud Shell (if it opens partially)

    az account list --output table
    az account set --subscription "<subscription-id>"


    You Dont have Access to Any Subscription

    This happens often with:

    • New accounts
    • Guest users in another tenant

    Check:

    1. Go to Subcriptions > If empty > you dont have access
    2. Ask your admin to assign:
    • Reader
    • Preferably Contributor