We should consider updating entra app permission add to allow adding permissions to existing resources. Right now, if the app already has some permissions for the same resource, running the command with another permission fails with an error saying that you're trying to add a duplicate record. This is caused by the fact, that permissions are stored in records where the key is composed of the app and resource ID. All permissions for the combination are listed as a space-separated string.
We should consider updating
entra app permission addto allow adding permissions to existing resources. Right now, if the app already has some permissions for the same resource, running the command with another permission fails with an error saying that you're trying to add a duplicate record. This is caused by the fact, that permissions are stored in records where the key is composed of the app and resource ID. All permissions for the combination are listed as a space-separated string.