Get Tenants

Get Tenants

This functionality is not available with the legacy Barracuda Email Protection Advanced plan. All other Email Protection Plans, including all current Email Protection Plans have this functionality. To upgrade to one of these plans, contact your Barracuda Networks Sales Representative. 

Retrieves a list of Microsoft 365 tenants connected to an Incident Response account.

Endpoint

GET /beta/accounts/{accountId}/forensics/tenants

Parameters

Name

Type

Required

Description

Name

Type

Required

Description

Path Parameter

accountId

string

*

The Barracuda Cloud Control account ID obtained from the Get Accounts API.

Response Codes

Code

Description

Code

Description

200

OK

401

Unauthorized: There is a missing or incorrect API token in header or the client did not have permission to access the requested resource.

Response

Entry

Description

Type

Entry

Description

Type

results

The list of objects that each represent a Microsoft 365 tenant connected to Barracuda Incident Response. 

Entry

Description

Type

created

The date the tenant was connected to Barracuda Incident Response.

string

tenantId 

The Microsoft 365 tenant ID.

string

tenantName

The tenant name.

string

Array

resultsCount

The number of items.

integer

Sample Request

curl -X GET "https://api.barracudanetworks.com/beta/accounts/{accountId}/forensics/tenants" \ --header "Authorization: Bearer {access_token}"

Sample Response

{ "resultsCount": 1, "results": [ { "tenantId": "f571bbf9-114c-4759-9ecb-2f852065595a", "tenantName": "Barracuda Networks Co Engineering", "created": "2021-04-05T08:00:00.000000Z" } ] }