Test Azure Tenant Connection

POST /connectors/v1.0/org/azure/test/

Specify the Tenant connector details of the Azure account to test the connection.

Input ParameterInput Parameter

Parameter

Mandatory/Optional

Data Type

Description

applicationId

Mandatory

String

 Unique identifier of the application you create on Azure portal.

tenantId

Mandatory

String

The Tenant ID of the Azure account of the Tenant.

secretValue

Mandatory

String

The secret key value generated after you provide permission to the application to access the Windows Azure Service.

Sample: Test Azure Tenant connectionSample: Test Azure Tenant connection

API request

 curl --location 'https://<QualysGatewayURL>/connectors/v1.0/org/azure/test/"    
--header 'Authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxx' \
     
--header 'Content-Type: application/json' \
    

Request Data

      {
      
    "tenantId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
      
    "applicationId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
      
    "secretValue": "xxxxx~xxxxxxxxxx_xxxxxxxxxxxxxxxxxxxxxxx"
      
}

Response

       {
     
    "responseMessage": null,
      
    "responseCode": "SUCCESS",
      
    "jobUuid": "xxxxxxxx-xxxxxxxxx-xxxxxxxxxxxxxxxx"
      
}