AZ_ADD_OWNER

Summary

FSProtect ACL Alias

AZ_ADD_OWNER

Entra ID Alias

Add Owners

Affected Object Types

AZ App Registration, AZ Service Principal

Exploitation Certainty

Certain

Role

Directory roles: Global Administrator, Hybrid Identity Administrator, Partner Tier1 Support, Partner Tier2 Support, Directory Synchronization Accounts, or being an existing Owner

Description

AZ_ADD_OWNER represents the ability for a principal to add new owners to an App Registration or Service Principal in Microsoft Entra ID.

Owners of an App Registration or Service Principal have full administrative control, including the ability to:

  • Add or remove other owners.

  • Add credentials (secrets or certificates) to the application.

  • Modify application permissions and API access.

  • Use the Service Principal's identity to authenticate and access resources.

Therefore, any identity capable of adding owners to App Registrations or Service Principals can escalate privileges by granting themselves or a controlled identity full control over these objects.

Identification

PowerShell

Azure CLI

List and add owners to App Registrations or Service Principals:

Azure GUI

  1. Open Microsoft Entra admin center -> Applications -> App registrations (or Enterprise applications for Service Principals).

  2. Select the target application.

  3. Go to Owners (left menu).

    • Anyone listed as Owner can add other owners.

    • Click Add owners -> search for the identity -> click Select. Add Owner UI - Application

  4. Go to Roles & administrators to view who holds the privileged roles:

    • Global Administrator

    • Hybrid Identity Administrator

    • Partner Tier1 Support

    • Partner Tier2 Support

    • Directory Synchronization Accounts

Note: You will not see these role-based privileges when auditing permissions in the Azure portal or API. These are implicit permissions granted by the directory roles.

Exploitation

PowerShell (Microsoft Graph SDK)

Exploitation using powershell

Mitigation

  • Limit owners on sensitive App Registrations and Service Principals

    • Go to Microsoft Entra ID -> App registrations or Enterprise applications.

    • Open the target application.

    • Go to Owners.

    • Remove any unnecessary or high-risk identities.

  • Review and limit privileged role assignments

    • Go to Microsoft Entra ID -> Roles & administrators.

    • Review assignments for: Global Administrator, Hybrid Identity Administrator, Partner Tier1 Support, Partner Tier2 Support, Directory Synchronization Accounts.

    • Remove unnecessary assignments.

Detection

Monitor Audit Logs for owner addition events on applications.

  • Go to Microsoft Entra ID -> Audit logs.

  • Filter by Category: ApplicationManagement.

  • Look for activities such as Add owner to application or Add owner to service principal.

  • If not visible, use Manage view -> Edit columns and enable Activity, Initiated by (actor), and Target columns.

Audit ApplicationManagement

References

Last updated

Was this helpful?