Connector deploy failed with AuthorizationFailed error
Applies to
- BlueXP
- Connector
- Microsoft Azure
Issue
The following error is detected while deploying the new connector on Azure:
{"error":{"code":"AuthorizationFailed","message":"The client 'xxxxxx' with object ID '00cff34b-c421-4a7c-93e4-xxxxx' does not have authorization to perform action 'Microsoft.Authorization/roleAssignments/write' at scope '/subscriptions/xxxxxx/providers/Microsoft.Authorization/roleAssignments/1d5a2dd6-a7c9-42ff-b92f-xxxxx' or the scope is invalid. If access was recently granted, please refresh your credentials."}}