Skip to content

azure: migrated resourceName is rejected as unknown_parameter #53443

Closed

Description

@oriori1703

Description

An Azure API-key account that worked in V1.18.34 failed immediately after upgrading to V2.0.23. The migrated saved resourceName was rejected before the request reached Azure:

AI.Error: [ObjectParam] [resourceName] [unknown_parameter] Unknown parameter: 'resourceName'.

The failure was consistent. Reconnecting Azure and explicitly setting providers.azure.settings.resourceName fixed it, so native V2 config works; the problem appears limited to migrated V1 account metadata.

Plugins

None configured.

OpenCode version

2.0.23 (latest release channel, curl installation)

Steps to reproduce

  1. In V1.18.34, connect Azure with an API key and resource name.
  2. Verify requests work with an Azure deployment.
  3. Upgrade to V2.0.23 and allow the existing account to migrate.
  4. Select the same deployment and send a prompt.
  5. Observe resourceName rejected as unknown_parameter.

Screenshot and/or share link

Not available. Relevant error text is included above.

Operating System

Nobara Linux, kernel 7.2.8-200.nobara.fc44.x86_64

Terminal

Ghostty

Activity

  1. added
    needs:complianceThis means the issue will auto-close after 2 hours.
    and removed
    needs:complianceThis means the issue will auto-close after 2 hours.
    on Oct 5, 2026
  2. github-actions commented on Oct 5, 2026

    @github-actions
    Contributor

    Thanks for updating the issue with the Description, reproduction steps, and system details!

  3. neriousy commented on Oct 7, 2026

    @neriousy
    Member

    will be fixed in next version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions