How to Allow Access to Azure DevOps While Restricting Azure Portal Access?

0
9
Asked By TechExplorer99 On

I'm looking for a way to grant users access to the Azure DevOps portal without giving them access to the Azure portal. Our IT security team is concerned because users who have access to DevOps can easily access Azure and read Active Directory attributes. They currently have a Conditional Access (CA) policy that blocks Azure portal access, but this also prevents DevOps access unless specific users are excluded from the policy. Is there a way to prevent Azure management app access while still allowing DevOps? Any suggestions?

4 Answers

Answered By CodeCrafter42 On

It seems like anyone with the Active Directory MMC snap-in and a standard user account can read AD attributes, so what's the actual risk here?

SecuritySavvy87 -

The concern is mainly about compromised accounts. If a threat actor gains access to a user account, they could easily view sensitive information via the Azure portal. That's why our team is blocking access to portal.azure.com, but this policy also restricts access to DevOps unless we make exceptions.

Answered By SecurityNerd101 On

This whole situation seems like a classic case of security teams confusing the Azure Portal with something like a vSphere Portal. Remember, any user can view their attributes through Get-AdUser without needing Azure portal access. Maybe consider giving developers secure workstations tailored to their tasks?

CodeCrafter42 -

That's true, but allowing PowerShell access can complicate things. Not all users have that access, which helps... but it's still a tricky balance.

Answered By DevOpsFanatic On

Can't you just exclude Azure DevOps from the CA policy? I thought I saw that option in our tenant before.

TechExplorer99 -

You can exclude it, but that gives those users access to the Azure portal as well, which is the problem we're trying to avoid by restricting access.

Answered By RoleManager42 On

You could also scope user roles to ensure that non-admin users can only access their own objects. That might improve security while still allowing DevOps usage.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.