POST v1/bunits/{bunitId}/microsoft365accounts

Assign a account to a business unit.

This will create a consumer as well

Request Information

URI Parameters

NameDescriptionTypeAdditional information
bunitId The ID of the business unit the account should be assigned to integer

Required

Body Parameters

The account object

Microsoft365Account
NameDescriptionTypeAdditional information
SppId string

None.

Tenant Microsoft365Tenant

None.

BackupPolicies Collection of BackupPolicy

None.

Backups Collection of DbBackup

None.

RestorePoints Collection of Microsoft365RestorePoint

None.

Name Name of the data-source
string

None.

DataSourceState DataSourceState

None.

DataSourceType DataSourceType

None.

BackupServer Server

None.

Consumer Consumption unit that relates the VM to a business unit
Consumer

None.

Id A unique ID for the object.
integer

Read-only.

CreatedDate Time and date the object was created.
date

Read-only.

ArchivedDate Time and date the object was or is going to be archived.

Unarchived objects have no value in ArchivedDate
date

Read-only.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

Response Information

Resource Description

The account object with the information created

Microsoft365Account
NameDescriptionTypeAdditional information
SppId string

None.

Tenant Microsoft365Tenant

None.

BackupPolicies Collection of BackupPolicy

None.

Backups Collection of DbBackup

None.

RestorePoints Collection of Microsoft365RestorePoint

None.

Name Name of the data-source
string

None.

DataSourceState DataSourceState

None.

DataSourceType DataSourceType

None.

BackupServer Server

None.

Consumer Consumption unit that relates the VM to a business unit
Consumer

None.

Id A unique ID for the object.
integer

Read-only.

CreatedDate Time and date the object was created.
date

Read-only.

ArchivedDate Time and date the object was or is going to be archived.

Unarchived objects have no value in ArchivedDate
date

Read-only.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.