How to Restrict Azure Cloud Shell Access to a Specific Azure Entra ID Group

Rajush Rajan 0 Reputation points
2024-11-20T05:02:14.1433333+00:00

I’m looking for guidance on how to restrict access to Azure Cloud Shell for all users in my organization by default. I want to allow access only to members of a specific Azure Entra ID group.

The goal is to enhance security by ensuring that only authorized personnel can use the Cloud Shell environment. Has anyone implemented a similar setup or knows the steps to achieve this?

Any advice or best practices would be greatly appreciated!

Azure Role-based access control
Azure Role-based access control
An Azure service that provides fine-grained access management for Azure resources, enabling you to grant users only the rights they need to perform their jobs.
835 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. BANDELA Siri Chandana 325 Reputation points Microsoft Vendor
    2024-11-20T11:32:42.13+00:00

    Hi @Rajush Rajan

    Thank you for posting your query on Microsoft Q&A.

    I understand that you are trying to restrict Azure Cloud Shell Access to a Specific Azure Entra ID Group.

    Screenshot 2024-11-20 162803

    But this approach is done via network settings this is not exact solution.

    We have another approach using conditional access policy in target resources you can select Windows Azure Service Management API application and include users on your requirement and in grant access select block.

    But the problem is other resources also included in Windows Azure Service Management API application like

    Screenshot 2024-11-20 163747

    https://learn.microsoft.com/en-us/entra/identity/conditional-access/concept-conditional-access-cloud-apps#windows-azure-service-management-api

    If you think it doesn't impact, you can follow conditional access policy method.

    Hope this helps. Do let us know if you have any further queries.


    If this answers your query, do click Accept Answer and Yes.

    Thanks,

    B. Siri Chandana.


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.