Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Specify for who permission is granted #13

Closed
imaculate opened this issue Nov 8, 2019 · 3 comments
Closed

Specify for who permission is granted #13

imaculate opened this issue Nov 8, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@imaculate
Copy link

This section mentions granting access but not the recipient. An objectId is provided in the command but it is not clear who it belongs to, the user? managed Identity?

https://github.com/danielsollondon/azvmimagebuilder/tree/master/quickquickstarts/7_Creating_Custom_Image_using_MSI_to_Access_Storage#step-2-assign-permissions-for-the-resource-group-where-the-image-will-be-created

@danielsollondon danielsollondon added the bug Something isn't working label Nov 26, 2019
@danielsollondon
Copy link
Owner

Hi, apologies for the delay in getting back to you. When image builder runs, its Service Principal needs permissions to distribute the image into either a Managed Image or Shared Image Gallery, so you need to give contributor rights to the Image Builder Service Principal, that is what the objectID is. Apologies, this is not clear, I am working on a docs update, I will address this.

Does this explanation help?

@imaculate
Copy link
Author

This helps, thanks!

@danielsollondon
Copy link
Owner

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants