Getting Azure Service Accounts

In this article

    You can get a list of existing Microsoft Azure service accounts.

    Request

    GET https://<hostname>:4443/v6/AzureServiceAccounts

    Request Headers

    The request header must contain an authorization token of the current session.

    Request Parameters

    The following optional parameters can be specified in the URL of the request:

    Parameter

    Type

    Description

    displayName

    string

    Specifies a name of Azure AD application associated with Microsoft Azure service account.

    description

    string

    Specifies a description of Microsoft Azure service account.

    Request Body

    None.

    Response

    The server returns the following response to the client.

    Response Codes

    A successfully completed operation returns a response code 200 OK.

    Response Headers

    The response to this request contains the following headers. The response may also include additional standard HTTPS headers.

    Header

    Description

    Content-length

    The length of the response body.

    Content-type

    The media type and syntax of the response body message: application/json; charset=utf-8

    Response Body

    In the response body, the server returns a resource representation of the /AzureServiceAccounts resource. The response body contains the following properties:

    Property

    Type

    Description

    id

    string

    Specifies the Microsoft Azure service account ID.

    type

    string

    Specifies the Microsoft Azure service account type.

    displayName

    string

    Specifies a name of Azure AD application associated with Microsoft Azure service account.

    description

    string

    Specifies a description of Microsoft Azure service account.

    applicationId

    string

    Specifies an Azure AD application ID.

    applicationCertificateThumbprint

    string

    Specifies an application certificate thumbprint for connecting to Microsoft Azure.

    azureEnvironment

    string

    Specifies a Microsoft Azure region. The following values are available:

    • Global
    • Germany
    • China
    • Government

    azureTenantId

    string

    Specifies the Microsoft 365 organization ID in Microsoft Azure.

    lastModified

    UTC

    Specifies date and time of the latest modification of Microsoft Azure service account.

    Example

    The example returns a resource representation of Microsoft Azure service accounts added to Veeam Backup for Microsoft 365.

    Request:

    GET https://abc.tech.local:4443/v6/AzureServiceAccounts

     

    Request Header:

    Authorization: Bearer <Access-Token>

     

    Response:

    200 OK

     

    Response Body:

    [

        {

         "id": "676705f3-b1bf-49bd-878f-9085865bfcf9",

         "type": "Azure",

         "displayName": "Application",

         "applicationId": "2415230b-51ea-4e2d-a924-54c700a5431a",

         "applicationCertificateThumbprint": "FF2577A7586ACAD713FEBA43C62B67C1603CF7EC",

         "azureEnvironment": "Global",

         "azureTenantId": "4568fse5-48b8-4f24-b3f0-ce8a4078ca3f",

         "lastModified": "2022-02-16T17:46:16.8070443Z"

        }

    ]