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

Remove failure analysis and apply code cleanup #8153

Merged
merged 4 commits into from
Apr 26, 2024

Conversation

hallipr
Copy link
Member

@hallipr hallipr commented Apr 23, 2024

No description provided.

@hallipr hallipr requested a review from a team as a code owner April 23, 2024 22:20
$output = Invoke "az role assignment create --assignee '$azAdGroupId' --role 'Storage Queue Data Contributor' --scope '$scope' --output none"

if ($LASTEXITCODE -ne 0) {
Write-Output $output
Copy link
Member

Choose a reason for hiding this comment

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

I'm ok with this but is there a reason you didn't put the role assignments into the bicep templates?

Copy link
Member Author

Choose a reason for hiding this comment

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

The storage assignments are only needed when a dev is running the service locally and connecting to live resources. This doesn't need to be persistent access

Copy link
Member Author

Choose a reason for hiding this comment

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

Also, in the pipeline, the deployment principal doesn't have permission to query Entra. We'd need to hard code the group's object id into the parameters and that didn't seem correct.

@hallipr
Copy link
Member Author

hallipr commented Apr 26, 2024

/check-enforcer override

@hallipr hallipr enabled auto-merge (squash) April 26, 2024 17:48
@hallipr hallipr merged commit 478ff5c into main Apr 26, 2024
7 of 8 checks passed
@hallipr hallipr deleted the users/pahallis/remove-classifiers branch April 26, 2024 17:49
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