Share via

Azure Cloud Shell Authentication Failure

Habib Karbasian 20 Reputation points Microsoft Employee
2026-03-04T21:26:27.9333333+00:00

Azure Portal Cloud Shell (both Bash and PowerShell) fails to authenticate for my account in ms.portal.azure.com.

Local Azure CLI authentication (az login) works correctly on my machine, which indicates this is not a CLI or device issue.

This appears to be a Cloud Shell–specific authentication or authorization failure, potentially related to:

  • Cloud Shell managed identity
  • Cloud Shell storage account access
  • Portal-mediated token acquisition
  • Tenant-level Cloud Shell enablement

I can use az login on my computer terminal but on azure cloud shell it is saying:

You don't have access to this

Your sign-in was successful but does not meet the criteria to access this resource. For example, you might be signing in from a browser, app, location, or an authentication flow that is restricted by your admin.

Error Code: 53003

Request Id: PII

Correlation Id: f5914b56-cf29-4e63-8aea-55227a73cb03

Timestamp: 2026-03-04T21:20:41.917Z

App name: Microsoft Azure CLI

App id: PII

IP address: 20.42.18.188

Device identifier: PII

Device platform: Windows 10

Device state: Compliant

Microsoft Security | Microsoft Entra | Microsoft Entra ID

Answer accepted by question author
  1. Rukmini 36,140 Reputation points Microsoft External Staff Moderator
    2026-03-04T22:06:49.0766667+00:00

    Hello Habib Karbasian

    As discussed offline, please check with the Conditional access Admin as this error usually occurs if the Admin has created conditional access.

    If the resolution was helpful, kindly take a moment to accept answer and upvote it 👍 it as a token of appreciation.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.