Deployment fails with permission error on storage. Need to add write permissions.
{ "code": "DeploymentFailed", "target": "/subscriptions/b04afdbb-9bca-4aaf-8102-xxx/resourceGroups/rg_xxx_central_data_facility/providers/Microsoft.Resources/deployments/ServiceConnectionsDeploy", "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.", "details": [ { "code": "MessagingGatewayBadRequest", "message": "SubCode=40000. Generic: Linked access check failed for capture storage destination /subscriptions/b04afdbb-9bca-4aaf-8102-xxx/resourceGroups/rg_xxx_central_data_facility/providers/Microsoft.Storage/storageAccounts/xxx. User or the application with object id b41d3b0b-ad31-4c96-a59c-xxxx making the request doesn't have the required data plane write permissions. Please enable Microsoft.Storage/storageAccounts/blobServices/containers/write, Microsoft.Storage/storageAccounts/blobServices/containers/blobs/write permission(s) on above resource for the user or the application and retry. TrackingId:8828ff3d-fec1-4372-9d40-b472eb983e7a_G17, SystemTracker:azeventhubnsoy6inj.servicebus.windows.net:azeventhuboy6inj, Timestamp:2023-06-21T17:38:58" } ] }
Deployment fails with permission error on storage. Need to add write permissions.
{ "code": "DeploymentFailed", "target": "/subscriptions/b04afdbb-9bca-4aaf-8102-xxx/resourceGroups/rg_xxx_central_data_facility/providers/Microsoft.Resources/deployments/ServiceConnectionsDeploy", "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.", "details": [ { "code": "MessagingGatewayBadRequest", "message": "SubCode=40000. Generic: Linked access check failed for capture storage destination /subscriptions/b04afdbb-9bca-4aaf-8102-xxx/resourceGroups/rg_xxx_central_data_facility/providers/Microsoft.Storage/storageAccounts/xxx. User or the application with object id b41d3b0b-ad31-4c96-a59c-xxxx making the request doesn't have the required data plane write permissions. Please enable Microsoft.Storage/storageAccounts/blobServices/containers/write, Microsoft.Storage/storageAccounts/blobServices/containers/blobs/write permission(s) on above resource for the user or the application and retry. TrackingId:8828ff3d-fec1-4372-9d40-b472eb983e7a_G17, SystemTracker:azeventhubnsoy6inj.servicebus.windows.net:azeventhuboy6inj, Timestamp:2023-06-21T17:38:58" } ] }