Skip to content

[ManagedCleanroom] Update collaboration commands for 2026-09-30-preview - #10384

Merged
Ethan Yang (necusjz) merged 9 commits into
Azure:mainfrom
yrcvohra:users/yavohra/customer-release-39418690
Sep 30, 2026
Merged

Ethan Yang (necusjz) merged 9 commits into
Azure:mainfrom
yrcvohra:users/yavohra/customer-release-39418690

Conversation

@yrcvohra

@yrcvohra yrcvohra commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor
### 🤖 PR Validation — ❌ Action needed| Breaking Changes || :--: || ❌ 1 |
❌Azure CLI Extensions Breaking Change Test>
> ❌managedcleanroom>>|rule|cmd_name|rule_message|suggest_message|>|---|---|---|---|>|❌ [1007 - ParaRemove](https://github.com/Azure/azure-cli/blob/dev/doc/breaking_change_rules/1007.md) |managedcleanroom collaboration update|cmd `managedcleanroom collaboration update` removed parameter `generic_update_add`|please add back parameter `generic_update_add` for cmd `managedcleanroom collaboration update`|>|❌ [1007 - ParaRemove](https://github.com/Azure/azure-cli/blob/dev/doc/breaking_change_rules/1007.md) |managedcleanroom collaboration update|cmd `managedcleanroom collaboration update` removed parameter `generic_update_force_string`|please add back parameter `generic_update_force_string` for cmd `managedcleanroom collaboration update`|>|❌ [1007 - ParaRemove](https://github.com/Azure/azure-cli/blob/dev/doc/breaking_change_rules/1007.md) |managedcleanroom collaboration update|cmd `managedcleanroom collaboration update` removed parameter `generic_update_remove`|please add back parameter `generic_update_remove` for cmd `managedcleanroom collaboration update`|>|❌ [1007 - ParaRemove](https://github.com/Azure/azure-cli/blob/dev/doc/breaking_change_rules/1007.md) |managedcleanroom collaboration update|cmd `managedcleanroom collaboration update` removed parameter `generic_update_set`|please add back parameter `generic_update_set` for cmd `managedcleanroom collaboration update`|>|❌ [1007 - ParaRemove](https://github.com/Azure/azure-cli/blob/dev/doc/breaking_change_rules/1007.md) |managedcleanroom collaboration update|cmd `managedcleanroom collaboration update` removed parameter `resource_location`|please add back parameter `resource_location` for cmd `managedcleanroom collaboration update`|>|⚠️ [1006 - ParaAdd](https://github.com/Azure/azure-cli/blob/dev/doc/breaking_change_rules/1006.md)|managedcleanroom collaboration create|cmd `managedcleanroom collaboration create` added parameter `target_resource_configuration`||>|⚠️ [1001 - CmdAdd](https://github.com/Azure/azure-cli/blob/dev/doc/breaking_change_rules/1001.md)|managedcleanroom consortium-view contract wait|cmd `managedcleanroom consortium-view contract wait` added||>|⚠️ [1001 - CmdAdd](https://github.com/Azure/azure-cli/blob/dev/doc/breaking_change_rules/1001.md)|managedcleanroom frontend analytics query runhistory cancel|cmd `managedcleanroom frontend analytics query runhistory cancel` added||>|⚠️ [1011 - SubgroupAdd](https://github.com/Azure/azure-cli/blob/dev/doc/breaking_change_rules/1011.md)|managedcleanroom frontend collaborator|sub group `managedcleanroom frontend collaborator` added||>>
### Related command- `az managedcleanroom collaboration create`- `az managedcleanroom collaboration update`### Summary- Regenerates collaboration create and update for API version `2026-09-30-preview`.- Adds create arguments for `targetResourceConfiguration`.- Uses PATCH with a tags-only body for collaboration update.- Preserves `UsePrivateCleanRoomNamespace` behavior through non-generated custom command subclasses.### Validation- [x] All 58 managedcleanroom unit tests passed with Azure CLI Python and `unittest`.- [x] Runtime command registration and generated argument schema checks passed.- [x] `git diff --check` passed.- [ ] `azdev style managedcleanroom` was not run in this environment.- [ ] `python scripts/ci/test_index.py -q` was not run because the extension index is unchanged.### Dependencies- API specification: https://github.com/Azure/azure-rest-api-specs-pr/pull/30298

Copilot AI lite review requested due to automatic review settings September 23, 2026 05:31
@azure-client-tools-bot-prd

Copy link
Copy Markdown

Hi yrcvohra,
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 pyproject.toml (or setup.py, if the extension has not migrated yet) 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.

@microsoft-github-policy-service microsoft-github-policy-service Bot added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label Sep 23, 2026
@microsoft-github-policy-service

Copy link
Copy Markdown
Contributor

Thank you for your contribution yrcvohra! We will review the pull request and get back to you soon.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

No unresolved review comments were identified.

Review effort: Lite
Findings: None

What changed in this PR

Updates ManagedCleanroom collaboration commands for API version 2026-09-30-preview.

Changes:

  • Adds target resource configuration options to create.
  • Uses tags-only PATCH behavior for update.
  • Preserves public/private namespace routing.
File Description
src/​managedcleanroom/​azext_managedcleanroom/​tests/​latest/​test_custom.py Tests namespace URL behavior.
src/​managedcleanroom/​azext_managedcleanroom/​custom.py Adds namespace-aware collaboration operations.
src/​managedcleanroom/​azext_managedcleanroom/​commands.py Registers custom create and update commands.
src/​managedcleanroom/​azext_managedcleanroom/​aaz/​latest/​managedcleanroom/​collaboration/​_update.py Implements tags-only PATCH update.
src/​managedcleanroom/​azext_managedcleanroom/​aaz/​latest/​managedcleanroom/​collaboration/​_create.py Adds the updated schema and target resource configuration support.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@yonzhan

Copy link
Copy Markdown
Collaborator

ManagedCleanroom

@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).

@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).

@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).

@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).

Comment thread src/managedcleanroom/HISTORY.rst Outdated
@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).

)


def frontend_collaboration_query_runhistory_cancel(

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renamed function to frontend_collaboration_query_cancel_run.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renamed function to frontend_collaboration_query_cancel_run.

Comment thread src/managedcleanroom/azext_managedcleanroom/_params.py Outdated
…reate/update; rename query runhistory cancel -> query cancel-run
@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).

@yonzhan

Copy link
Copy Markdown
Collaborator

Please fix CI issues

@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).

@yrcvohra

Copy link
Copy Markdown
Contributor Author

Yong Zhang (@yonzhan) Fixed in 5adaaf7 (stale test import after the cancel-run rename).

@anantshankar17

Copy link
Copy Markdown

Yong Zhang (Yong Zhang (@yonzhan)) Fixed in 5adaaf7 (stale test import after the cancel-run rename).

Yong Zhang (@yonzhan) / Aditya Pujara (@a0x1ab) : all CIs are now passing, can you please ack this and the AAZ PR (Azure/aaz#1101) as it's blocking a critical release ?

@necusjz
Ethan Yang (necusjz) merged commit f029ed1 into Azure:main Sep 30, 2026
24 checks passed
@azclibot

Copy link
Copy Markdown
Collaborator

[Release] Update index.json for extension [ managedcleanroom-1.0.0b9 ] : https://dev.azure.com/msazure/One/_build/results?buildId=183471480&view=results

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

Labels

customer-reported Issues that are reported by GitHub users external to the Azure organization.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants