Backup vault is available to use in resource group despite error response on deployment.
ERROR ON Creating backup vault
{
"status": "Failed",
"error": {
"code": "AuthorizationFailed",
"message": "The client '' with object id '' does not have authorization to perform action 'Microsoft.DataProtection/locations/operationStatus/read' over scope '/subscriptions/' or the scope is invalid. If access was recently granted, please refresh your credentials."
}
}
Error details on validating DB:
The client '' with object id '' does not have authorization to perform action 'Microsoft.DataProtection/locations/operationStatus/read' over scope '/subscriptions/' or the scope is invalid. If access was recently granted, please refresh your credentials. {"x-ms-request-id":""}
Created the user azure_backup in DB and set as active directory admin, also gave the backup vault contributor permissions in Azure Database for PostgreSQL server and 'Allow Azure services' is activated in the firewall in the server instance. I created the prerequisite permissions for configure backup and restore mentioned in https://docs.microsoft.com/en-us/azure/backup/backup-azure-database-postgresql#prerequisite-permissions-for-configure-backup-and-restore
Any assistance in resolving this would be appreciated greatly.