Reputation: 11
What RBAC role or access needed to attach a Shared image gallery to DevTest lab? Both shared Image Gallery & DevTest lab are in different subscriptions.
I am trying to deploy DevTest lab using the Arm template via terraform. While deploying it's saying that the service principal has invalid scope. It's needed to write access as per error. Can we not deploy with read access over shared image gallery?
Upvotes: 1
Views: 595
Reputation: 8254
According to this Document Shared Image Galleries provide Sharing across subscriptions, Active Directory tenants, using Azure RBAC. It is recommended to provide read access to your users at Shared level Gallery.
If it is across azure tenants try it this way :
You can refer to the below image for a better understanding:
For giving Tenant 2 access:
You can refer to the below image for a better understanding:
For more information please refer this Document.
Upvotes: 1