---
title: "POST /subscriptions/{subscriptionId}/providers/Microsoft.Datadog/activateSaaS"
method: POST
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Datadog/activateSaaS"
---

# POST /subscriptions/{subscriptionId}/providers/Microsoft.Datadog/activateSaaS

`POST /subscriptions/{subscriptionId}/providers/Microsoft.Datadog/activateSaaS`

Resolve the token to get the SaaS resource ID and activate the SaaS resource

## Parameters

- `../../../../../common-types/resource-management/v3/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref
- `../../../../../common-types/resource-management/v3/types.json#/components/parameters/SubscriptionIdParameter` — unresolved $ref

## Request body

- ActivateSaaSParameterRequest — SaaS resource details for Activate and Validate SaaS Resource
  - `saaSResourceId` string, required — SaaS resource id of marketplace saas subscription to be activated.
  - `userInfo` UserInfo — Includes name, email and optionally, phone number. User Information can't be null.
    - `name` string — Name of the user
    - `emailAddress` string — Email of the user used by Datadog for contacting them if needed
    - `phoneNumber` string — Phone number of the user used by Datadog for contacting them if needed
  - `datadogOrganizationProperties` DatadogOrganizationProperties — Specify the Datadog organization name. In the case of linking to existing organizations, Id, ApiKey, and Applicationkey is required as well.
    - `name` string — Name of the Datadog organization.
    - `id` string — Id of the Datadog organization.
    - `linkingAuthCode` string, password — The auth code used to linking to an existing Datadog organization.
    - `linkingClientId` string, password — The client_id from an existing in exchange for an auth token to link organization.
    - `redirectUri` string — The redirect URI for linking.
    - `apiKey` string, password — Api key associated to the Datadog organization.
    - `applicationKey` string, password — Application key associated to the Datadog organization.
    - `enterpriseAppId` string — The Id of the Enterprise App used for Single sign on.
    - `cspm` boolean — The configuration which describes the state of cloud security posture management. This collects configuration information for all resources in a subscription and track conformance to industry benchmarks.
    - `resourceCollection` boolean — The configuration which describes the state of resource collection. This collects configuration information for all resources in a subscription.

## Response `200`

The request has succeeded.

- SaaSResourceDetailsResponse — unresolved $ref

## Other responses

- `default` — An unexpected error response.

## Changes

- **2026-07-13** (2020-02-01-preview) `4f187e8bb607` — 1 info
  - endpoint added
- **2020-10-06** (2020-02-01-preview) `9e012a33873a` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/azure/apis/datadog-microsoft-datadog/changes/subscriptions/:subscriptionId/providers/Microsoft.Datadog/activateSaaS/post.md)

---

[API](https://skmtc.dev/azure/apis/datadog-microsoft-datadog.md) · [All operations](https://skmtc.dev/azure/apis/datadog-microsoft-datadog/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/datadog-microsoft-datadog/revisions/4f187e8bb607/schema)
