[FEATURE] Remove-PnPAzureADServicePrincipalAssignedAppRole - Filter by "BuiltInType"
Problem: The Remove-PnPAzureADServicePrincipalAssignedAppRole cmdlet allows to remove app roles configured on a service principal/application registration in Azure Active Directory. But you can have different APIs ("Microsoft Graph", "Office 365 SharePoint Online" for example) that contain roles with the same name ("Sites.FullControl.All" for example). When you use the cmdlet to delete the role "Sites.FullControl.All", you delete all the roles with this name from all APIs, thus from the Microsoft Graph AND Office 365 APIs at the same time.
Solution I'd like to have The Add-PnPAzureADServicePrincipalAppRole cmdlet (the companion cmdlet of Remove-PnPAzureADServicePrincipalAssignedAppRole, used to create new roles in one API) allows to specify the API that will receive the role using the parameter "-BuiltInType". It would be very handy to have this parameter also in the Remove-PnPAzureADServicePrincipalAssignedAppRole. In this way, you can remove the roles from each single API, without affecting the other APIs.
Additional context See the screenshot showing the problem described.
.