Hi @Shubham Kumar
Currently, application roles can only be created by updating the application, and updating the application is actually updating the application manifest.
Therefore, if your application has created an application role before, when creating a new application role on this basis, you must attach the previously created application role to the request body.
Then your request body should be:
{
"appRoles": [
{
The previously created appRole.
},
{
The newly created appRole.
}
]
}
Do a quick test:
Go to the application manifest and you will be able to see the new application role has been created.
Hope this helps.
If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.