Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

Kiro subscription assignment fails on Organizations management account and routes to standalone CreateAssignment path

Open imtaxu opened this issue 8 months ago • 54 comments

Before opening, please confirm:

Operating System

MacOS Tahoe 26.3.1

Kiro Version

0.11.107

Bug Description

I cannot assign a paid Kiro subscription to a user or group from AWS IAM Identity Center.

The subscription flow fails from the Kiro console with: “Failed to create Kiro subscription for 1 user”

What seems unusual is that this AWS account is not a plain standalone account. It is currently the management account of an AWS Organization. However, the failing backend call appears to use a standalone Amazon Q Developer subscription path.

This does not look like a basic IAM Identity Center setup issue, because user/group discovery works correctly in the Kiro console and the required service-linked roles already exist.

Steps to Reproduce

  1. Open the Kiro console in AWS.
  2. Go to Users & Groups.
  3. Click Add user or Add group.
  4. Select a paid Kiro plan.
  5. Select an IAM Identity Center user or group.
  6. Click Assign.
  7. Observe that the subscription creation fails with: “Failed to create Kiro subscription for 1 user”

Additional verification:

  • The same failure happens for both USER and GROUP assignment.
  • The same failure happens with different paid Kiro plans.
  • IAM Identity Center is configured in us-east-1.
  • The user and group are discoverable from the Kiro console.
  • The service-linked roles AWSServiceRoleForAmazonQDeveloper and AWSServiceRoleForUserSubscriptions already exist.
  • aws organizations describe-organization confirms this account is the management account of an AWS Organization.

Expected Behavior

Kiro should successfully assign the selected paid subscription to the chosen IAM Identity Center user or group.

If the account is not eligible for some reason, the console should return a clear and specific error explaining the exact requirement that is not being met.

Conversation ID

N/A

This issue did not originate from a Kiro IDE conversation. It occurs in the AWS/Kiro subscription assignment flow from the console.

Additional Context

CloudTrail shows the failed backend call as:

  • eventSource: q.amazonaws.com
  • eventName: CreateAssignment
  • errorCode: AccessDenied
  • errorMessage: Account does not meet requirements for this operation

Example request parameters include:

  • principalType: USER or GROUP
  • subscriptionType: Q_DEVELOPER_STANDALONE_POWER

I do not see a corresponding CreateClaim event.

This is why the issue looks suspicious: the AWS account is in an Organizations management-account context, but the failing backend request appears to use a standalone subscription type.

I also noticed that the IAM Identity Center Kiro application link redirects to the AWS Q Developer page.

This may be related to:

  • #5888
  • #6443

Please check whether paid Kiro subscription assignment for this account is being routed through the wrong backend path, or whether the account state is inconsistent on the backend.

I can provide redacted screenshots and CloudTrail details if needed.

imtaxu avatar Apr 02 '26 13:04 imtaxu

🤖 Potential Duplicate Detected

This issue appears to be similar to:

What happens next?

  • ⏰ This issue will be automatically closed in 3 days
  • 🏷️ If this is not a duplicate, you can prevent automatic closure by adding a comment or reacting with 👎 to this message.
  • 💬 Comment on the original issue if you have additional information

Why is this marked as duplicate? Both issues involve IAM Identity Center authentication/subscription problems for Enterprise customers, with the new issue specifically mentioning subscription assignment failures and 5810 discussing authentication flow issues for Enterprise IAM Identity Center customers

github-actions[bot] avatar Apr 02 '26 13:04 github-actions[bot]

This does not appear to be a duplicate of #5810.

#5810 is about re-authentication/login token expiry flow for Enterprise IAM Identity Center customers.

My issue is different:

  • paid Kiro subscription assignment fails from Kiro > Users & Groups
  • CloudTrail shows q.amazonaws.com -> CreateAssignment
  • errorCode: AccessDenied
  • errorMessage: "Account does not meet requirements for this operation"
  • no corresponding CreateClaim event is created
  • the AWS account is an Organizations management account, but the failing request appears to use a standalone subscription path

So this is not a token re-authentication issue. It appears to be a subscription assignment / backend routing / account-state issue.

I referenced #5888 and #6443 because they are much closer symptomatically than #5810.

Please keep this issue open for triage.

imtaxu avatar Apr 02 '26 13:04 imtaxu

Thank you for your feedback! 🙏

The duplicate label has been removed and this issue has been sent back for maintainer review.

A maintainer will review this issue shortly.

github-actions[bot] avatar Apr 02 '26 13:04 github-actions[bot]

I have the same issue. I opened #7068 with detailed CloudTrail evidence across two independent AWS accounts confirming the bug.

Key findings:

  • eventSource: q.amazonaws.com
  • eventName: CreateAssignment
  • errorCode: AccessDenied
  • errorMessage: "Account does not meet requirements for this operation"
  • subscriptionType: Q_DEVELOPER_STANDALONE_PRO

Confirmed on:

  • Account 1: existing Management Account with Organizations
  • Account 2: brand new AWS account with Organizations (no history)

Both accounts have Organization Instance of IAM Identity Center in us-east-1, both service-linked roles exist, valid payment method.

This is clearly a service-level bug where Kiro routes Organizations Management Accounts through the wrong standalone subscription path.

AWS Support also confirmed this is a backend issue requiring a fix in the subscription creation logic.

PedroRibeiroAbaco avatar Apr 02 '26 14:04 PedroRibeiroAbaco

I can confirm #7068 a very similar issue on my side.

In my case, the AWS account is an AWS Organizations management account, not a plain standalone account.

CloudTrail shows the same failing backend pattern:

  • eventSource: q.amazonaws.com
  • eventName: CreateAssignment
  • errorCode: AccessDenied
  • errorMessage: "Account does not meet requirements for this operation"

The request also appears to go through a standalone Q Developer subscription path, which looks suspicious for an Organizations management account.

I also do not see a corresponding CreateClaim event.

Another related detail: the IAM Identity Center Kiro application link redirects to the AWS Q Developer page.

This does not look like a simple IAM Identity Center misconfiguration on the customer side.

imtaxu avatar Apr 03 '26 11:04 imtaxu

Hey @imtaxu Thanks for the thorough report, This looks like a backend routing issue — the subscription assignment is going through the standalone CreateAssignment path (Q_DEVELOPER_STANDALONE_POWER) instead of the Organizations-aware flow, causing the AccessDenied error.

We're investigating this and have flagged it to the engineering team. Likely related to #5888 and #6443.

If you have redacted CloudTrail excerpts to share, that would help accelerate the investigation.

AnilMaktala avatar Apr 06 '26 20:04 AnilMaktala

Thanks @AnilMaktala, this matches what I am seeing on my side as well.

I can confirm the same backend pattern:

  • q.amazonaws.com
  • CreateAssignment
  • AccessDenied
  • "Account does not meet requirements for this operation"

In my case, the AWS account is also in an Organizations management-account context, so the standalone routing path looked suspicious to me as well.

I can share a redacted CloudTrail excerpt if helpful.

{
  "eventSource": "q.amazonaws.com",
  "eventName": "CreateAssignment",
  "errorCode": "AccessDenied",
  "errorMessage": "Account does not meet requirements for this operation",
  "requestParameters": {
    "principalType": "USER",
    "subscriptionType": "Q_DEVELOPER_STANDALONE_POWER"
  }
}

imtaxu avatar Apr 06 '26 21:04 imtaxu

Yes, I encountered the same problem. I think this request may be problematic. My request is exactly the same as the example you gave. So I think it's important for kiro to locate and solve the problem as soon as possible

xianshuoxinyu avatar Apr 07 '26 03:04 xianshuoxinyu

👎

542426128 avatar Apr 08 '26 09:04 542426128

Hey @imtaxu, Thanks for raising this. Please create a support case using your AWS account and share the case id.

AnilMaktala avatar Apr 08 '26 20:04 AnilMaktala

Hi @AnilMaktala , I created a new AWS support case as requested.

AWS Support case ID: 177570955500692

I included the CloudTrail failure details and the Organizations management-account context in the case.

imtaxu avatar Apr 09 '26 04:04 imtaxu

Kiro should successfully assign the selected paid subscription to the chosen IAM Identity Center user or group.

Kiro can now assign the selected paid subscription to the chosen IAM Identity Center user or group. I tested this earlier this morning.

blueXYing avatar Apr 14 '26 03:04 blueXYing

@blueXYing Still reproducible on my side. Same error, same CloudTrail pattern (CreateAssignment → AccessDenied).

Looks like the fix may not be rolled out to all accounts or regions yet.

imtaxu avatar Apr 14 '26 09:04 imtaxu

Hi team,

I can see the labels were updated to "pending-maintainer-response", which I appreciate. However, it has now been 2 weeks with no actual response or acknowledgment from a maintainer.

A label change is not a resolution. Customers are still completely blocked from subscribing to Kiro Pro in any AWS Organizations context.

To summarize the situation:

  • Bug confirmed via CloudTrail on 2 independent AWS accounts
  • Root cause clearly identified: wrong subscriptionType (Q_DEVELOPER_STANDALONE_PRO) used for Organizations accounts
  • AWS Support case open and escalated to Account & Billing team
  • Multiple customers affected (#7068, #7089, and others)
  • Zero technical response in 14 days

This blocks enterprise adoption of Kiro entirely.

Can a maintainer please confirm:

  1. Is this being investigated by the engineering team?
  2. Is there an estimated timeline for a fix?
  3. Is there any workaround we can use in the meantime?

@AnilMaktala any update would be greatly appreciated.

PedroRibeiroAbaco avatar Apr 14 '26 12:04 PedroRibeiroAbaco

Hi @imtaxu, thank you for keeping us informed and for raising the AWS support case (177570955500692). We have begun looking into this issue and will be sure to provide you with an update as soon as we have more information

AnilMaktala avatar Apr 15 '26 21:04 AnilMaktala

CHÀO@imtaxuCảm ơn bạn đã thông báo cho chúng tôi và đã tạo yêu cầu hỗ trợ AWS (177570955500692). Chúng tôi đã bắt đầu xem xét vấn đề này và sẽ cập nhật thông tin cho bạn ngay khi có thêm thông tin. I have a same problem id case 177628357000048

Jimaica212121 avatar Apr 15 '26 21:04 Jimaica212121

Hey @imtaxu, Could you please retry and let us know.

AnilMaktala avatar Apr 17 '26 15:04 AnilMaktala

@AnilMaktala "Successfully created Kiro subscription for 1 user" thanks for your support.

imtaxu avatar Apr 17 '26 19:04 imtaxu

@AnilMaktala, Issue seems resolved on my side as of now. I did not make any changes, so this was likely a backend fix or rollout.

Leaving this open for confirmation from others.

imtaxu avatar Apr 18 '26 00:04 imtaxu

@AnilMaktala "Successfully created Kiro subscription for 1 user" thanks for your support.

Could you please guide me on how to resolve this issue? I am still experiencing the problem.

XEESHANAKRAM avatar Apr 20 '26 03:04 XEESHANAKRAM