Skip to content

Don't fail for Azure role assignments in run mode#8800

Merged
danmoseley merged 2 commits intomicrosoft:mainfrom
eerhardt:Fix8778
Apr 16, 2025
Merged

Don't fail for Azure role assignments in run mode#8800
danmoseley merged 2 commits intomicrosoft:mainfrom
eerhardt:Fix8778

Conversation

@eerhardt
Copy link
Copy Markdown
Member

Description

We are throwing too early. When users only want to dotnet run their app and use role assignments, we shouldn't be blocking them on using role assignments. Only when you go to publish, should we throw saying that your infrastructure doesn't support targeted role assignments.

Fix #8778

Checklist

  • Is this feature complete?
    • Yes. Ready to ship.
  • Are you including unit tests for the changes and scenario tests if relevant?
    • Yes
  • Did you add public API?
    • No
  • Does the change make any security assumptions or guarantees?
    • No
  • Does the change require an update in our Aspire docs?
    • No

We are throwing too early. When users only want to dotnet run their app and use role assignments, we shouldn't be blocking them on using role assignments. Only when you go to publish, should we throw saying that your infrastructure doesn't support targeted role assignments.

Fix microsoft#8778
@github-actions github-actions bot added the area-integrations Issues pertaining to Aspire Integrations packages label Apr 15, 2025
…sources. In those cases we still want the default role assignments to apply.
@danmoseley danmoseley merged commit d38b224 into microsoft:main Apr 16, 2025
174 checks passed
@eerhardt eerhardt deleted the Fix8778 branch April 16, 2025 02:18
@eerhardt
Copy link
Copy Markdown
Member Author

/backport to release/9.2

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot locked and limited conversation to collaborators May 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-integrations Issues pertaining to Aspire Integrations packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use of role assignments in run mode fails with error about adding container apps

3 participants