Skip to content

feat: add manage rights to fun for queues - #1215

Merged
sathish-palanivelu merged 1 commit into
mainfrom
feat/add-fun-manage-rights-to-queue
Sep 30, 2026
Merged

sathish-palanivelu merged 1 commit into
mainfrom
feat/add-fun-manage-rights-to-queue

Conversation

@sathish-palanivelu

Copy link
Copy Markdown
Contributor

This pull request updates the per-queue Service Bus authorization rule created by AzureEventHandler to grant Manage rights in addition to Listen and Send. This change is necessary for Azure Functions scale controller to access queue-length metrics via the Service Bus management API, preventing 401 errors and degraded scaling behavior. The rule name remains unchanged to avoid rotating SAS keys.

Service Bus Authorization Rule Enhancement:

  • The per-queue authorization rule now grants Listen, Send, and Manage rights instead of just Listen and Send, ensuring the Functions scale controller can read queue-length metrics for scaling. [1] [2]
  • Documentation and code comments in main.ts and types.ts are updated to reflect the addition of Manage rights to the authorization rule. [1] [2]
  • The rule name remains listen-send for backward compatibility, as renaming would rotate the SAS keys and impact consumers.

Testing and Release Notes:

  • The related test is updated to expect Listen+Send+Manage rights on the authorization rule. [1] [2]
  • A changeset is added to document the update and its motivation, noting that the rule name is unchanged and keys are not rotated.

@sathish-palanivelu
sathish-palanivelu merged commit a3457ed into main Sep 30, 2026
9 checks passed
@sathish-palanivelu
sathish-palanivelu deleted the feat/add-fun-manage-rights-to-queue branch September 30, 2026 10:57
@despock despock mentioned this pull request Sep 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants