REST API knowledge exchange
Post Reply
Erwin Linker
Service Provider
Posts: 134
Liked: 11 times
Joined: Mar 30, 2016 12:58 pm
Full Name: Erwin Linker
Location: The Netherlands
Contact:

Backup for EntraID report

Post by Erwin Linker »

Hi All,

Is there a easy why to get the user count per job or a overview of license, we want to use the VBR API to get the information. In the API reference i found the following endpoint, /api/v1/license/install. Then i see per microsoft tenant the user count, but this is not connected to a job.

We have a reference in the job name for our sales team for invoicing. I would be perfect if we can use that.

Anybody got a idea?

Regards,
Erwin
Mildur
Product Manager
Posts: 10813
Liked: 2947 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: Backup for EntraID report

Post by Mildur »

Hi Erwin,

Entra ID tenant backup jobs always protect all user accounts. To address your request, we should look for a way to export the latest job status via the API, which may provide information on processed objects. I’ll reach out to our API team to see if they have a solution.

Thank you,
Fabian
Product Management Analyst @ Veeam Software
oleg.feoktistov
Veeam Software
Posts: 2032
Liked: 677 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Backup for EntraID report

Post by oleg.feoktistov »

Hi @Erwin Linker,

As per Backup for Entra ID User Guide
Veeam Backup for Microsoft Entra ID is licensed by the number of protected Microsoft Entra ID users. Each 10 protected users consume one Veeam Universal License instance from the license scope.
Aligning it with the fact that one Entra ID backup job processes one tenant, you can get users count per protected tenant in a job in the folllowing way:

1. Send GET to /api/v1/license/instances?typeFilter=EntraID as per this reference.
2. Query Entra ID tenants by names from the response.
3. Obtain usedInstancesNumber from the response and multiply it by 10.

Formatted data with the final results could look like this:

"name": "tenant name",
"usedInstancesNumber: 10,
"usersCount": 100

Best regards,
Oleg
Post Reply

Who is online

Users browsing this forum: No registered users and 87 guests