Skip to content

Regulatory Intelligence: register resource providers in shared-deploy-lab.ps1 - #595

Merged
Marco Weber (qxsch) merged 1 commit into
microsoft:mainfrom
Digvijay:fix/regintel-shared-deploy-lab
Nov 2, 2026
Merged

Marco Weber (qxsch) merged 1 commit into
microsoft:mainfrom
Digvijay:fix/regintel-shared-deploy-lab

Conversation

@Digvijay

Copy link
Copy Markdown

What

Follow-up to #579 for 03-Azure/01-04-AI/11_Healthcare_Regulatory_Intelligence: the resource providers are now registered by the platform's once-per-subscription hook instead of by hand before the event.

  • New labautomation/shared-deploy-lab.ps1: registers Microsoft.CognitiveServices, Microsoft.Storage, Microsoft.Search, Microsoft.OperationalInsights and Microsoft.Insights, once per subscription before the labs start, and waits for them. Participants own only their resource group and cannot register a provider, so a missing registration would fail every lab. It is best-effort: if a provider cannot be registered, it prints the command for a subscription owner instead of stopping all labs in the subscription.
  • dev/run-local.ps1 runs it first, as the platform does.
  • labautomation/README.md and the layout test updated.

Validation

  • Tested with the platform helper module from the local-testing image (ghcr.io/qxsch/adminpwsh): shared-deploy-lab.ps1 in 0.7 min, then deploy-lab.ps1 unchanged provisioned the lab in uksouth in 12.6 min; a second run updated it in place in 0.6 min with the same dashboard values.
  • 48 tests pass; PR compliance check passes locally.

…-lab.ps1

- labautomation/shared-deploy-lab.ps1 registers the resource providers that infra/main.bicep deploys, once per subscription before the labs start, and waits for them. Participants own only their resource group and cannot register a provider. Best-effort: a provider that cannot be registered is reported with the fix command instead of stopping every lab.
- dev/run-local.ps1 runs it first, as the platform does. README updated.
- Tested with the platform helper module (adminpwsh image) and with dev/run-local.ps1.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@Digvijay
Digvijay (Digvijay) marked this pull request as ready for review November 2, 2026 01:23
@Digvijay

Copy link
Copy Markdown
Author

Marco Weber (@qxsch) a small follow-up to #579: hack 11 now registers its resource providers in shared-deploy-lab.ps1 instead of a manual pre-event step. Tested with the helper module from the adminpwsh image (first run 12.6 min, re-run 0.6 min). Could you review it when you have time? Thank you!

@qxsch
Marco Weber (qxsch) merged commit e805d4c into microsoft:main Nov 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants