RESTful knowledge exchange
Post Reply
Cragdoo
Veeam Vanguard
Posts: 548
Liked: 218 times
Joined: Sep 27, 2011 12:17 pm
Full Name: Craig Dalrymple
Location: Scotland
Contact:

Potential U4 EM bug

Post by Cragdoo » Jun 13, 2019 1:59 pm

Hoping someone can verify this for me, once I've authenticated I can make a

Code: Select all

GET http://{{Ent_Manager}}/api/backupservers
and see all the VBR servers reporting in to EM

I then want to see the list of jobs for a specific backup server and use

Code: Select all

GET http://{{Ent_Manager}}/api/backupservers/b0469be1-bb6f-41f6-b930-040833eef96c/jobs
but I only get a

Code: Select all

"FirstChanceExceptionMessage": null,
	"Message": "Access denied.",
	"StackTrace": null,
	"Status": null,
	"StatusCode": 403


I get the same error if I use the API web explorer

Can anyone confirm?

ssimakov
Veeam Software
Posts: 352
Liked: 52 times
Joined: Jan 01, 2006 1:01 am
Full Name: Stanislav Simakov
Contact:

Re: Potential U4 EM bug

Post by ssimakov » Jun 13, 2019 2:30 pm

I cannot reproduce it on several different instances. Any clues in Svc.VeeamRestAPI.log on the EM server?

Cragdoo
Veeam Vanguard
Posts: 548
Liked: 218 times
Joined: Sep 27, 2011 12:17 pm
Full Name: Craig Dalrymple
Location: Scotland
Contact:

Re: Potential U4 EM bug

Post by Cragdoo » Jun 13, 2019 2:43 pm

Code: Select all

2019 14:52:02] <56> Info     [GET] request to [https://bmgm1-vem1.bsolmgm.local:9398/api/backupServers/8d029530-9430-4db2-a73d-c38d37c87039/jobs?_=1560433894541] deserialized. Message: []; Parameters: [8d029530-9430-4db2-a73d-c38d37c87039].
[13.06.2019 14:52:02] <56> Error    Failed to retrieve job references. BackupServer: [8d029530-9430-4db2-a73d-c38d37c87039]. RequestUri: [https://bmgm1-vem1.bsolmgm.local:9398/api/backupServers/8d029530-9430-4db2-a73d-c38d37c87039/jobs?_=1560433894541].
[13.06.2019 14:52:02] <56> Error    Access denied. (System.UnauthorizedAccessException)
[13.06.2019 14:52:02] <56> Error       at Veeam.Backup.Enterprise.RestAPIService.CRestrictedRestApiBServersScope.GetBServerJobRefs(String backupserverIdOrName)
[13.06.2019 14:52:02] <56> Error       at Veeam.Backup.Enterprise.RestAPIService.CEnterpriseRestServiceStub.GetBServerJobRefs(String backupserverIdOrName)
[13.06.2019 14:52:02] <56> Error    Access denied. 

ssimakov
Veeam Software
Posts: 352
Liked: 52 times
Joined: Jan 01, 2006 1:01 am
Full Name: Stanislav Simakov
Contact:

Re: Potential U4 EM bug

Post by ssimakov » Jun 13, 2019 3:03 pm

Okay, I managed to reproduce it with a user that does not have a Backup Administrator role on the backup server. Is it the same in your case?

Cragdoo
Veeam Vanguard
Posts: 548
Liked: 218 times
Joined: Sep 27, 2011 12:17 pm
Full Name: Craig Dalrymple
Location: Scotland
Contact:

Re: Potential U4 EM bug

Post by Cragdoo » Jun 13, 2019 3:51 pm

nope, same error when I add my user account specifically as a backup admin on the backup server .....strange

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest