Azure / Azure/BatchExplorer

Delete account doesn't work

Open
#2,203 1 comment 0 reactions 0 assignees View on GitHub
:bug: bug
Dominant language
TypeScript
Stars
205
Forks
75
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
Delete a Batch Account from the app (and confirming) shows a "Delete was successful." widget, but nothing really happens on the service side, the account still exists.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to Dash
2. Click on an existing Batch Account, where you have full permissions (Contributor on the Azure subscription).
3. Right-click, Delete.
4. Approve by clicking on Delete

**Expected behavior**
The Batch Account would get deleted.

**Logs(Click profile > View Logs > app.log, client.log)**
If applicable please attach those log files

app.log :

```
{"0":{"status":403,"statusText":"OK","code":"AuthorizationFailure","message":"This request is not authorized to perform this operation.","details":[],"requestId":"61056696-c076-4df2-a1f0-d3de71a1be98","timestamp":"2020-08-05T10:06:57.041Z","original":{"odata.metadata":"https://azeuopsbatch.eastus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element","code":"AuthorizationFailure","message":{"lang":"en-US","value":"This request is not authorized to perform this operation.\nRequestId:61056696-c076-4df2-a1f0-d3de71a1be98\nTime:2020-08-05T10:06:57.0416104Z"}}},"level":"error","message":"Error loading node counts","timestamp":"2020-08-05T10:06:57.158Z"}
```

**Version (please complete the following information):**
- OS: [Windows]
- Version [1903]

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.