Hi,
This is not likely related strictly to backup but the authentication method you use when deploying via Bicep. What kind of authentication method you use? Can you provide the full template? I have seen cases where CSP authentication (AOBO/GDAP) with Service principal is not working with certain type of resources in Azure. The workaround is to use service principal from the tenant where the deployment is.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.