Hello Bradley Ball
My last step of powershell script is failing, below error message
{
"code": "DeploymentFailed",
"message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.",
"details": [
{
"code": "InvalidTemplateDeployment",
"message": "Deployment failed with multiple errors: 'Authorization failed for template resource 'QQQabscomdev02/Microsoft.Authorization/XXXXXXX' of type 'Microsoft.Storage/storageAccounts/providers/roleAssignments'. The client 'YYYYYY' with object id 'YYYYYY' does not have permission to perform action 'Microsoft.Authorization/roleAssignments/write' at scope '/subscriptions/AAAAAAA/resourceGroups/QQQ-RGP-COM-DEV-02/providers/Microsoft.Storage/storageAccounts/QQQabscomdev02/providers/Microsoft.Authorization/roleAssignments/XXXXXXX'.:Authorization failed for template resource 'QQQabscomdev02/Microsoft.Authorization/ZZZZZZZ' of type 'Microsoft.Storage/storageAccounts/providers/roleAssignments'. The client 'YYYYYY' with object id 'YYYYYY' does not have permission to perform action 'Microsoft.Authorization/roleAssignments/write' at scope '/subscriptions/AAAAAAA/resourceGroups/QQQ-RGP-COM-DEV-02/providers/Microsoft.Storage/storageAccounts/QQQabscomdev02/providers/Microsoft.Authorization/roleAssignments/ZZZZZZZ'.'"
}
]
}
Thanks,
Sanjay