Skip to main content

Retrieve Microsoft 365 Devices

Thread needs solution
Beginner
Posts: 2
Comments: 3

I'm playing around with the API. I find it hard to retrieve a good overview of all possible API Calls. It's like there are 5 different API documentations and only one contains information of all the api calls. (https://developer.acronis.com/doc/account-management/v2)

I can retrieve all Child Tenants. But I want to retrieve a list of Microsoft 365 Devices that are protected. Surely there should be an Device endpoint for the API. I found something but it looks to be API V1 which is giving me 404 errors.

I need the following information:

Amount of Microsoft 365 Seats -> available / in use
Each mailbox name that is actively backupped.

How/where do I fetch this information?

0 Users found this helpful
Acronis engineer
Posts: 0
Comments: 84

Hello Gerben,

The only official web page with all the public Acronis APIs is at: https://developer.acronis.com/doc/
The Account Management API is at: https://developer.acronis.com/doc/account-management/v2/guide/index
Endpoints at: https://developer.acronis.com/doc/account-management/v2/reference/index…

Microsoft 365 Seats usages are fetched with GET /tenants/{tenant_id}/usages endpoint: https://developer.acronis.com/doc/account-management/v2/reference/index…

With applied filters for Per Gigabyte model: /tenants/{tenant_id}/usages?editions=pck_per_gigabyte&usage_names=mailboxes

With applied filters for Per Workload model: /tenants/{tenant_id}/usages?editions=pck_per_workload&usage_names=mailboxes

Each mailbox name that is actively backed up cannot be fetched with the available public APIs, there is no public endpoint to provide such granularity.

With Resource Management API, or GET /api/resource_management/{version}/resources endpoint you can fetch devices: https://developer.acronis.com/doc/resource-policy-management/v4/referen…

Using the type filter you can retrieve the devices where running Microsoft Office 365 applications, server itself and the resource of type mailboxes with:

GET /api/resource_management/v4/resources?type=resource.group.msexchange_mailboxes,resource.group.msexchange_online_server

We cannot go any deeper with the currently available public API.

I hope this is helpful.

Beginner
Posts: 2
Comments: 3

Hi Ivaylo Tsvetkov,

Thank you for taking your time to anser my question.

So if I understand correctly, you can only fetch to total of product seats. And the resource_management API only exposes the item names/types and no individual counts of any sorts?

Are there any plans to make individual mailbox backup information available? I could really use a method to check whether a mailbox named X is backed up or not.

Beginner
Posts: 0
Comments: 1

We too would very much like to be able to get the information about the individual mailboxes. At the bare minimum we would like to get:

  • Name of the mailbox that is backuped
  • Current backup status

Ivaylo Tsvetkov Do you have any idea when this will become available through a public API?

Acronis engineer
Posts: 0
Comments: 84

Hello Gerben and Dennis,

Apologies for the prolonged reply on this topic.

We are checking internally with C2C API PM team regarding the follow-up questions and ETA for the ability to work with these features via API.

We should reply back shortly.

Thank you.

Beginner
Posts: 2
Comments: 3

Hi Ivaylo,

Please let me know if you need any input. Being able to obtain this information would make our lifes around here a whole lot easier.