Entra Id integration with cursor SSO

attempted to enable SSO using Microsoft Entra ID, following the instructions provided on the Cursor site.

When a user is added to the Enterprise Application, authentication works correctly. However, the issue is that the profile data returns the following role information:

"role": {
  "slug": "member"
}

How can we dynamically create a new security group so that users in this group are assigned the “admin” role, while all other users in the Enterprise Application retain the “member” role?