An Azure platform as a service offer that is used to deploy web and cloud applications.
The error {"code":"InvalidSubscription","message":"Invalid subscription identifier provided."} means Cloud Shell cannot validate or use the subscription it is trying to provision resources in.
Use these steps to fix it:
- Verify role assignment on the subscription
In the Azure portal:- Go to Subscriptions → select the subscription intended for Cloud Shell.
- Open Access control (IAM) → View my access.
- Ensure the account has at least Contributor or Owner on that subscription.
If not, request the appropriate role from a subscription administrator.
- Check and register required resource providers
For the same subscription in the Azure portal:- Go to Subscriptions → select the subscription.
- Select Resource providers.
- Ensure the following providers are Registered:
-
Microsoft.Storage -
Microsoft.Resources -
Microsoft.ContainerInstance -
Microsoft.CloudShell
-
- If any of these show as NotRegistered, select them and choose Register.
Wait until their status is Registered before retrying Cloud Shell.
- Confirm the correct subscription is active in CLI (if possible)
If Cloud Shell opens partially or if using Azure CLI locally:- List subscriptions:
az account list -o table - Confirm the target subscription is listed and its State is
Enabled. - If a different subscription is set as default, set the correct one:
az account set --subscription <your-subscription-id-or-name>
- List subscriptions:
- Reset Cloud Shell user settings (if it worked before)
If Cloud Shell previously worked and the subscription is valid and enabled:- Open Cloud Shell (even if it errors, wait for the UI to appear).
- Select the Settings (gear) icon in the Cloud Shell toolbar.
- Choose Reset user settings and confirm.
- Close and reopen Cloud Shell, then reselect the correct subscription and configure storage or ephemeral session again.
- If the problem persists, open a support request
If all the above checks are correct and the error still appears:- In the Azure portal, select the Support & Troubleshooting icon.
- Choose Help + support → Create a support request.
- Provide:
- The subscription ID being used.
- The full Cloud Shell error message.
- The Request correlation id from the error (
JIOINDIACENTRAL:20260710T115553Z:...). Azure support can then investigate subscription validation for Cloud Shell.
References: