Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AAD AppRoles allowedMemberTypes for both application and user

According to Add app roles in your application and receive them in the token, I can create an AppRole for users, applications or both.

If I want to target users, the property allowedMemberTypes on the Manifest should be User. For applications, Application, but what about both?

What is the allowedMemberTypes for both?

like image 333
Tiago B Avatar asked Oct 21 '25 11:10

Tiago B


1 Answers

allowedMemberTypes is an array, so you can put in both "User" & "Application":

"appRoles": [
  {
    "allowedMemberTypes": [
      "User", "Application"
    ],
    "displayName": "Writer",
    "id": "d1c2ade8-98f8-45fd-aa4a-6d06b947c66f",
    "isEnabled": true,
    "description": "Writers Have the ability to create tasks.",
    "value": "Writer"
  }
],
like image 95
Alex AIT Avatar answered Oct 23 '25 07:10

Alex AIT