Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: storage account 403 error when creating new tre env #4406

Merged
merged 38 commits into from
Mar 11, 2025

Conversation

ShakutaiGit
Copy link
Collaborator

@ShakutaiGit ShakutaiGit commented Feb 26, 2025

Resolves #4405

What is being addressed

  • Ensuring role propagation before execution: The script now properly waits for both Storage Account Contributor and Storage Blob Data Contributor roles to be assigned before attempting storage operations.
  • Refactoring role assignment check: Instead of checking a single role, the script now verifies both roles are assigned before proceeding, reducing failures due to role propagation delays.

Testing:

…ntributor" and "Storage Account Contributor" roles
Copy link

github-actions bot commented Feb 26, 2025

Unit Test Results

0 tests   0 ✅  0s ⏱️
0 suites  0 💤
0 files    0 ❌

Results for commit c1e5441.

♻️ This comment has been updated with latest results.

@ShakutaiGit ShakutaiGit changed the title Refactor role assignment check to validate both "Storage Blob Data Co… Fix: storage account 403 error when creating new tre env. Feb 26, 2025
@ShakutaiGit ShakutaiGit changed the title Fix: storage account 403 error when creating new tre env. Fix: storage account 403 error when creating new tre env Feb 26, 2025
@ShakutaiGit
Copy link
Collaborator Author

/test

Copy link

🤖 pr-bot 🤖

🏃 Running tests: https://github.com/microsoft/AzureTRE/actions/runs/13545863577 (with refid ecb751e8)

(in response to this comment from @ShakutaiGit)

@ShakutaiGit ShakutaiGit removed the request for review from ashis-kar91 March 10, 2025 12:58
@ShakutaiGit
Copy link
Collaborator Author

/test

Copy link

🤖 pr-bot 🤖

🏃 Running tests: https://github.com/microsoft/AzureTRE/actions/runs/13769103068 (with refid ecb751e8)

(in response to this comment from @ShakutaiGit)

@ShakutaiGit
Copy link
Collaborator Author

/test

Copy link

🤖 pr-bot 🤖

🏃 Running tests: https://github.com/microsoft/AzureTRE/actions/runs/13783417156 (with refid ecb751e8)

(in response to this comment from @ShakutaiGit)

@ShakutaiGit ShakutaiGit requested review from ashis-kar91 and removed request for ashis-kar91 March 11, 2025 09:13
Copy link
Member

@marrobi marrobi left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks tidy now.

@ShakutaiGit ShakutaiGit enabled auto-merge (squash) March 11, 2025 09:45
@ShakutaiGit
Copy link
Collaborator Author

🤖 pr-bot 🤖

🏃 Running tests: https://github.com/microsoft/AzureTRE/actions/runs/13783417156 (with refid ecb751e8)

(in response to this comment from @ShakutaiGit)

tests passed

@ShakutaiGit
Copy link
Collaborator Author

/test-force-approve

Copy link

🤖 pr-bot 🤖

✅ Marking tests as complete (for commit a60f169)

(in response to this comment from @ShakutaiGit)

@ShakutaiGit
Copy link
Collaborator Author

/test-force-approve

Copy link

🤖 pr-bot 🤖

✅ Marking tests as complete (for commit c1e5441)

(in response to this comment from @ShakutaiGit)

@ShakutaiGit ShakutaiGit merged commit c2925cd into main Mar 11, 2025
12 checks passed
@ShakutaiGit ShakutaiGit deleted the fix-sa-bootstrap-err branch March 11, 2025 10:38
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.

Bootstrap script fails due to AuthorizationPermissionMismatch (403) on Storage Account
5 participants