SCA Requires Entra ID and Azure Write Permissions for Dynamic Role Assignment

SCA Requires Entra ID and Azure Write Permissions for Dynamic Role Assignment

141
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 15:55 PM


Symptom


Secure Cloud Access (SCA) fails to dynamically assign roles or manage session access for users within Microsoft Entra ID and Azure resources. When reviewing the configuration, administrators may question why wide-reaching write permissions are explicitly requested for the following Idira app registrations:

  • cyb-sca-aad-app (SCA App Registration for Entra ID Directory)
  • cyb-sca-resources-app (SCA App Registration for Azure Resources)




Environment


26.5 Secure Cloud Access (SCA) Web Console Web Console Connect to Microsoft Azure

Cause


By architectural design, SCA must write directly to Entra ID and Azure to dynamically assign roles to users. To grant just-in-time access to Azure resource roles, SCA utilizes a group binding strategy. The system creates a small, dedicated Entra ID group, assigns the relevant Azure resource permissions to that group, and then dynamically adds or removes users so they inherit the necessary permissions only when needed. Consequently, write permissions are strictly required to perform these administrative backend actions.



Resolution


Review the detailed permission breakdown below to understand the necessity of each write permission and how you can safely minimize or substitute oversized privileges:

1. SCA App Registration for Entra ID Directory (cyb-sca-aad-app)

  • Application.ReadWrite.All: This is primarily used in Proof of Concepts (POCs) or environments that lack Entra ID P1 or P2 licenses. If you have P1/P2 licenses, you can replace this permission by using a custom Entra ID role that contains only the microsoft.directory/applications/credentials/update permission.
  • Directory.ReadWrite.All: This permission is oversized. You can replace and minimize it by using Group.Create, GroupMember.ReadWrite.All, and Group.ReadWrite.All. Furthermore, if you do not use the capability to move users in and out of Entra ID groups, Group.ReadWrite.All is not required.
  • RoleManagement.ReadWrite.Directory: This permission is strictly required to assign roles within Entra ID and cannot be substituted.

2. SCA App Registration for Azure Resources (cyb-sca-resources-app)

  • Application.ReadWrite.All: Similar to the directory app, you can replace this with a custom Entra ID role containing the microsoft.directory/applications/credentials/update permission.
  • Group.Create / GroupMember.ReadWrite.All / Group.ReadWrite.All: These permissions are not currently used if your Azure permissions are configured as "Directly Assigned" to the user. You only require these group-based permissions if you change the Azure assignment strategy to "Group-based," where users automatically move into groups based on active SCA policies.




Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000wKECAY&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail