r/activedirectory • • 12h ago

Security How do you decide what an AI agent is actually allowed to do??

0 Upvotes

I have been thinking about how traditional IAM controls translate to AI agents, especially when they can interact with external tools and services.

For example, imagine an agent that can browse products, add items to a basket, and access a payment API. Its identity is verified, and its credentials are valid. But does that automatically mean it's authorized to complete a purchase?

I think there's an important distinction between knowing which agent is making a request and understanding whether that particular action falls within what the user actually asked it to do.

Service principals, scoped tokens, and role-based permissions help establish access boundaries, but they don't necessarily answer that second question.

I have been looking more closely at how platforms like check point and capsule approach this part of agent security, but I'm curious how IAM teams are handling it in practice.

Do you enforce permissions around the specific task an agent is performing, or do you mostly rely on the permissions already assigned to its identity???


r/activedirectory • • 15h ago

AdminSDHolder Inheritance

9 Upvotes

How many AD admins have checked if the object AdminSDHolder has inheritance turn on or off?

I strongly suggest you do not make unplanned changes here. But you should check. Lots of systems in the past like BES and Lync and even Exchange with MS recommendations enabled inheritance on this object in the past.

The consequence is, you probably do things like Entra Connect or password reset delegations or who knows what else on the domain root, and now those perms flow down to admin objects. When the hourly process of adminsdprop runs it applies settings from the adminsdholder template to admin objects. If the adminsdholder is inheriting from the root, you might have a problem.

For me its not huge, the cloud sync gmsa has password reset access on the admin objects, but a couple of empty groups also had some perms.

The upshot is, this can grant password reset access on your admin objects to less than Tier 0 accounts.

Ping castle does not detect this, not sure about other AD health tools.

My domain is entirely virtual, so undoing this is nerve wracking but doable. I am interested in whether other have this issue, espec long standing domains, and what you did about it.