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

updates to resolve issue #794 #919

Merged
merged 3 commits into from
Apr 11, 2024
Merged

Conversation

ATuckwell
Copy link
Collaborator

@ATuckwell ATuckwell commented Apr 2, 2024

Overview/Summary

This PR relates to an issue raised in bug #794. The issue is that the managed identity created as part of policy assignment "deploy-private-dns-zones" does not have adequate permissions to add Host A records in the relevant private DNS zone within the connectivity subscription. This change takes the managed identity principal ID and applies Private DNS Zone Contributor rights on the Connectivity management group.

This PR fixes/adds/changes/removes

#794

Breaking Changes

None

Testing Evidence

Please provide any testing evidence to show that your Pull Request works/fixes as described and planned (include screenshots, if appropriate).

Local testing performed with PR'd code changes with the desired outcome as below.

The Principal ID (Object ID) of the MI associated to initiative assignment.
image

Validation of the Object ID of the MI within Entra ID.
image

Confirmation that the above MI had the required perms at the Connectivity management group.
image

As part of this Pull Request I have

  • Checked for duplicate Pull Requests
  • Associated it with relevant issues, for tracking and closure.
  • Ensured my code/branch is up-to-date with the latest changes in the main branch
  • Performed testing and provided evidence.
  • Updated relevant and associated documentation.

@ATuckwell
Copy link
Collaborator Author

/azp run unit

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ATuckwell
Copy link
Collaborator Author

/azp run update

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ATuckwell
Copy link
Collaborator Author

/azp run unit

1 similar comment
@ATuckwell
Copy link
Collaborator Author

/azp run unit

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jaredfholgate jaredfholgate self-requested a review April 3, 2024 17:36
Copy link
Member

@jaredfholgate jaredfholgate left a comment

Choose a reason for hiding this comment

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

LGTM

@ATuckwell
Copy link
Collaborator Author

/azp run e2e

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ATuckwell ATuckwell force-pushed the bug/794/deploy-private-dns-zones branch from 4822c83 to 3b7ae45 Compare April 10, 2024 08:12
@ATuckwell
Copy link
Collaborator Author

/azp run unit

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ATuckwell ATuckwell merged commit 1ac8cb8 into main Apr 11, 2024
11 checks passed
@ATuckwell ATuckwell deleted the bug/794/deploy-private-dns-zones branch April 11, 2024 09:48
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.

Bug Report: Lacking permissions in default policy Deploy-Private-DNS-Zones
3 participants