Skip to content

Remove failure analysis and apply code cleanup#8153

Merged
hallipr merged 4 commits intomainfrom
users/pahallis/remove-classifiers
Apr 26, 2024
Merged

Remove failure analysis and apply code cleanup#8153
hallipr merged 4 commits intomainfrom
users/pahallis/remove-classifiers

Conversation

@hallipr
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
@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