> Source: [sk144816](https://support.checkpoint.com/results/sk/sk144816)

# sk144816 - Onboard an Azure account using the CloudGuard API

| Property | Value |
|----------|-------|
| Solution ID | sk144816 |
| Date Created | 2019-01-16 |
| Last Modified | 2023-01-09 |
| Technical Level | General |
| Products | Cloud Firewall |
| Versions | R82.10, R81.20, R82 |

## Solution

Onboard an Azure account using the CloudGuard API

This article describes how to onboard an Azure account to CloudGuard using the REST API. It will use the [AzureCloudAccount](https://docs.cloudguard.dome9.com/reference/azure-cloud-account) resource.

You can onboard accounts to CloudGuard in Read-Only or Managed mode. In this example, it is done in Managed mode.

Prerequisites
-------------

CloudGuard information:

* the API Key and secret for your CloudGuard account (see [Create an API Key](https://sc1.checkpoint.com/documents/Infinity_Portal/WebAdminGuides/EN/CloudGuard-PM-Admin-Guide/Default.htm#cshid=API_V2))

Azure information:

* Application ID
* Application Key

These are obtained from the Azure management portal, in the App Registration page.

Request
-------

POST /v2/AzureCloudAccount

    {
      "id": "********-****-****-****-************",
      "name": "Azure-account",
      "subscriptionId": "*******",
      "tenantId": "string",
      "credentials": {
        "clientId": "******",
        "clientPassword": "******"
      },
      "operationMode": "Managed",
      "error": "string",
      "creationDate": "2018-10-16T12:29:10Z"
    }

Response
--------

200 OK. There is no information in the response.

See also
--------

[AzureCloudAccount (CloudGuard API)](https://docs.cloudguard.dome9.com/reference/azurecloudaccount_post_post_v2azurecloudaccount)

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
