I would like to configure the ID or Access token on an Entra ID application to have an optional claim which contains a role (ideally), or at least group.
As things stand now, I can only add pre-existing optional claims.
How can I add a role or group to the optional claims to be added?
Got it after a bit more googling.