@Felipe Cunha Thank you for reaching out to us, As I understand you are trying to create a custom role within Entra id/Azure AD with this permission - microsoft.directory/pendingExternalUserProfiles/standard/read - Read standard properties of external user profiles in the extended directory for Teams
At this moment, this permission cannot be used while creating the custom role, permissions which are defined here can be used - https://learn.microsoft.com/en-us/entra/identity/role-based-access-control/custom-user-permissions
Would request you to share your feedback on https://feedback.azure.com/d365community/search/?q=custom+role+entra+id with business justification why this permission is needed in your scenario, so that our product team can review this ask and have this permission added.
Let me know if you have any further questions, feel free to post back.
Please remember to "Accept Answer" if answer helped, so that others in the community facing similar issues can easily find the solution.