Skip to content

[stream-analytics] Use preview API for output commands - #10165

Draft
Aditya Pujara (a0x1ab) with Copilot wants to merge 2 commits into
mainfrom
copilot/stream-analytics-issue-33816
Draft

[stream-analytics] Use preview API for output commands#10165
Aditya Pujara (a0x1ab) with Copilot wants to merge 2 commits into
mainfrom
copilot/stream-analytics-issue-33816

Conversation

Copilot AI commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

This checklist is used to make sure that common guidelines for a pull request are followed.

Related command

az stream-analytics output create

  • Problem
    stream-analytics output commands were still issuing output requests against 2020-03-01, which rejects newer Managed Identity output shapes. This surfaced as create failures for output types such as Cosmos DB, Synapse/SQL, Service Bus, and ADX.

  • Change

    • Switched all output AAZ operations to 2021-10-01-preview:
      • create
      • update
      • show
      • list
      • delete
      • test
    • Updated output scenario recordings to match the new ARM API version used by the CLI path.
  • Example

    {
      "type": "Microsoft.Storage/DocumentDB",
      "properties": {
        "accountId": "babocosmosnosql",
        "database": "Transactional",
        "collectionNamePattern": "1",
        "authenticationMode": "Msi"
      }
    }

    This output definition now flows through the preview Stream Analytics output API required for Managed Identity-backed outputs.

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally? (pip install azdev required)
  • My extension version conforms to the Extension version schema

For new extensions:

About Extension Publish

There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

@azure-client-tools-bot-prd

Copy link
Copy Markdown

Hi Copilot,
Please write the description of changes which can be perceived by customers into HISTORY.rst.
If you want to release a new extension version, please update the version in setup.py as well.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI changed the title [WIP] Fix Azure Stream Analytics output creation issue in CLI [stream-analytics] Use preview API for output commands Jul 31, 2026
@yonzhan

Copy link
Copy Markdown
Collaborator

stream-analytics

@a0x1ab Aditya Pujara (a0x1ab) added azure-client-tools-agent Pull request commented on or reviewed by Azure Client Tools Agent and removed azure-client-tools-agent Pull request commented on or reviewed by Azure Client Tools Agent labels Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[stream-analytics] The customer encountered an issue while creating an Azure Stream Analytics output using Azure CLI.

5 participants