You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Azure: register Microsoft.BillingBenefits resource provider in custom role #752
The custom role added by PR #744 (and now shared via terraform/modules/iam/azure/cudly-reservation-role) grants Microsoft.Capacity/register/action but not Microsoft.BillingBenefits/register/action. On a customer subscription that has never used Azure Savings Plans, the resource provider Microsoft.BillingBenefits may not be registered. The first Savings Plan order in that subscription will return a 409 MissingSubscriptionRegistration error until the provider is registered out-of-band.
Repro
Use a "Savings Plan virgin" customer subscription (never created a Savings Plan before).
Attempt to create a Savings Plan via CUDly's two-step calculatePrice -> purchase flow.
Observe 409 MissingSubscriptionRegistration for Microsoft.BillingBenefits.
Fix
Append Microsoft.BillingBenefits/register/action to the actions list in both:
Verified shipped: PR #759 (commit 3249775, merged 2026-05-27) is in feat/multicloud-web-frontend. Microsoft.BillingBenefits/register/action added to both arm/CUDly-CrossSubscription/template.json and terraform/modules/iam/azure/cudly-reservation-role/main.tf.
Activity
fix(iac/azure): register Microsoft.BillingBenefits RP via custom role (…
fix(iac/azure): register Microsoft.BillingBenefits RP via custom role (…
feat(azure): extract shared EnsureRegistered helper and register Micr…
cristim commentedon May 28, 2026
Verified shipped: PR #759 (commit 3249775, merged 2026-05-27) is in feat/multicloud-web-frontend. Microsoft.BillingBenefits/register/action added to both arm/CUDly-CrossSubscription/template.json and terraform/modules/iam/azure/cudly-reservation-role/main.tf.