Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reader role does not have access to call NewBackupStatusClient().Get #4202

Open
2 of 9 tasks
gjansen42 opened this issue Feb 24, 2024 · 0 comments
Open
2 of 9 tasks
Labels
customer-reported question Further information is requested

Comments

@gjansen42
Copy link

Link to sample

https://learn.microsoft.com/en-us/rest/api/backup/backup-status/get?view=rest-backup-2023-02-01&tabs=Go

Library name and version

armrecoveryservicesbackup/v2

Language of the Sample

  • C#/.NET
  • Java
  • JavaScript/TypedScript
  • Python
  • Golang
  • Other - Please specify in Issue details field

Sample Issue Type

  • Sample not working
  • Sample missing
  • Do not understand sample

Issue details

RBAC Reader role does not have access to call NewBackupStatusClient().Get. Backup Reader role works.

Expected behavior

Reader role should contain all other reader roles

Actual behavior

NewBackupStatusClient().Get returns RESPONSE 403: 403 Forbidden ERROR CODE: AuthorizationFailed when accessed using a service principal with Reader role

Reproduction Steps

Run the example code with a service principal with Reader role

Environment

Multiple environments

@microsoft-github-policy-service microsoft-github-policy-service bot added question Further information is requested customer-reported labels Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant