Hi @Manu Nair · Thank you for reaching out.
Only the App roles UI is in preview. Configuring App roles by updating the manifest is Generally Available and not in preview.
You can update the application manifest with below parameters to include permission named consumer as application permission for instance, which will be returned as the value of roles claim.
"appRoles": [
{
"allowedMemberTypes": [
"Application"
],
"displayName": "ConsumerApps",
"id": "47fbb575-0000-0000-0000-0f7a6c30beac",
"isEnabled": true,
"description": "Consumer apps have access to the consumer data.",
"value": "Consumer"
}
],
Note: When using client credentials flow, you can only use /.default scope to request for the token. E.g. I used scope https://mydomain.com/myapi/.default to acquire above token.
-----------------------------------------------------------------------------------------------------------
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.