---
title: "Registers the tenant and email combination for verification."
method: POST
path: "/providers/Microsoft.DataShare/locations/{location}/registerEmail"
tags: ["EmailRegistration"]
---

# Registers the tenant and email combination for verification.

`POST /providers/Microsoft.DataShare/locations/{location}/registerEmail`

Register an email for the current tenant

## Path parameters

- `location` string, required

## Query parameters

- `api-version` string, required

## Response `200`

Success

- EmailRegistration — Dto for tenant domain registration
  - `activationCode` string — Activation code for the registration
  - `activationExpirationDate` string, date-time — Date of the activation expiration
  - `email` string — The email to register
  - `registrationStatus` 'ActivationPending' | 'Activated' | 'ActivationAttemptsExhausted' — Registration status
  - `tenantId` string — The tenant to register

## Other responses

- `default` — An error response received from the Microsoft.DataShare resource provider.

---

[API](https://skmtc.net/azure/apis/datasharemanagementclient.md) · [All operations](https://skmtc.net/azure/apis/datasharemanagementclient/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/datasharemanagementclient/versions/121238d8f58e/schema)
