Azure / Azure/azure-rest-api-specs
Permission for Microsoft.EventHub/namespaces/applicationGroups/* (any action) is not published
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 424
Description
can't assign permission for Microsoft.EventHub/namespaces/applicationGroups/* (any action)
example :
Microsoft.EventHub/namespaces/applicationGroups/write
if you try to create a new application group via API without any permission, it comes back with below error
{
"error": {
"code": "AuthorizationFailed",
"message": "The client ''<>" with object id "<>'' does not have authorization to perform action 'Microsoft.EventHub/namespaces/applicationGroups/write' over scope '/subscriptions/<>/resourceGroups/EventHub/providers/Microsoft.EventHub/namespaces/<>/applicationGroups/<>' or the scope is invalid. If access was recently granted, please refresh your credentials."
}
}
however if you try to assign that permission, it comes back with below message
error message :
{
"error": {
"code": "InvalidActionOrNotAction",
"message": "'Microsoft.EventHub/namespaces/applicationGroups/write' does not match any of the actions supported by the providers."
}
}
Its same for all below action
ApplicationGroup_ListByNamespace
ApplicationGroup_CreateOrUpdateApplicationGroup
ApplicationGroup_Delete
ApplicationGroup_Get
Contributor guide
Research direction
The issue names the Microsoft.EventHub applicationGroups actions but no repository file or test. Start by locating the Event Hub application-groups definition in the REST API specs and compare its published operations with the listed actions. Done means the write, list, create/update, delete, and get permissions are recognized when assigned and no longer produce InvalidActionOrNotAction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, openapi
- Domain
- api, authorization, cloud
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100