Microsoft Azure Tenant Email Registration API

The TenantEmailRegistration API from Microsoft Azure, for tenantemailregistration.

GitHub OpenAPI

Operations 2

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /emails:activate Activate a tenant email registration for Purview sharing · Microsoft Azure Activates The Tenant And Email Combination Using The Activation… #
Ask an LLM
“How do I confirm my email with the activation code for Purview data sharing?”
“What do I do with the activation code I received for share registration?”
Tell an agent
Activate my tenant email registration with {properties}.
Confirm the email registration using request id {repeatabilityRequestId}.
POST /emails:register Register an email for Purview share activation · Microsoft Azure Registers The Tenant And Email Combination For Activation #
Ask an LLM
“How do I register an email for my tenant so I can receive data shares?”
“Can I request an activation code for tenant email registration?”
Tell an agent
Register my email for the current tenant.
Register the tenant email with request id {repeatabilityRequestId}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure:microsoft-azure-tenantemailregistration-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-tenantemailregistration-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure Purview Share Client Tenant Email…
  description: Creates a data plane client for Purview Share.
  version: 2023-05-30-preview
security:
- azureAuth:
  - https://purview.azure.net/.default
tags:
- name: TenantEmailRegistration
paths:
  /emails:activate:
    post:
      tags:
      - TenantEmailRegistration
      summary: Microsoft Azure Activates The Tenant And Email Combination Using The Activation…
      description: Activates the email registration for current tenant
      operationId: microsoftAzureReceivedsharesActivatetenantemailregistration
      parameters:
      - $ref: '#/components/parameters/api-version'
      - in: header
        name: repeatability-request-id
        description: If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated, globally unique for all time, identifier for the request. It is recommended to use version 4 (random) UUIDs.
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TenantEmailRegistration'
        default:
          description: Default error response.
          headers:
            x-ms-error-code:
              description: The error code
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PurviewShareError'
      x-ms-examples:
        ReceivedShares_ActivateTenantEmailRegistration:
          $ref: ./examples/ReceivedShares_ActivateTenantEmailRegistration.json
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TenantEmailRegistration'
        description: The tenant email registration payload
        required: true
  /emails:register:
    post:
      tags:
      - TenantEmailRegistration
      summary: Microsoft Azure Registers The Tenant And Email Combination For Activation
      description: Register an email for the current tenant
      operationId: microsoftAzureReceivedsharesRegistertenantemailregistration
      parameters:
      - $ref: '#/components/parameters/api-version'
      - in: header
        name: repeatability-request-id
        description: If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated, globally unique for all time, identifier for the request. It is recommended to use version 4 (random) UUIDs.
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TenantEmailRegistration'
        default:
          description: Default error response.
          headers:
            x-ms-error-code:
              description: The error code
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PurviewShareError'
      x-ms-examples:
        ReceivedShares_RegisterTenantEmailRegistration:
          $ref: ./examples/ReceivedShares_RegisterTenantEmailRegistration.json
components:
  schemas:
    PurviewShareErrorInfo:
      description: The purview share error body model.
      required:
      - code
      - message
      type: object
      properties:
        code:
          description: Code of the error
          type: string
        details:
          description: Nested details of the error model
          type: array
          items:
            $ref: '#/components/schemas/PurviewShareErrorInfo'
        message:
          description: Message of the error
          type: string
        target:
          description: Target of the error
          type: string
    PurviewShareError:
      description: The purview share error model.
      required:
      - error
      type: object
      properties:
        error:
          $ref: '#/components/schemas/PurviewShareErrorInfo'
    TenantEmailRegistrationStatus:
      description: Defines the supported types for registration.
      enum:
      - ActivationPending
      - Activated
      - ActivationAttemptsExhausted
      type: string
      x-ms-enum:
        name: TenantEmailRegistrationStatus
        modelAsString: true
        values:
        - value: ActivationPending
          description: The tenant email registration is in pending state
          name: Activation pending
        - value: Activated
          description: The tenant email registration is complete and has been activated
          name: Activated
        - value: ActivationAttemptsExhausted
          description: The tenant email registration has exhausted the max attempts
          name: Activation attempts exhausted
    TenantEmailRegistrationProperties:
      description: Tenant email registration property bag.
      required:
      - activationCode
      type: object
      properties:
        activationCode:
          description: Activation code for the registration.
          type: string
        activationExpiration:
          format: date-time
          description: Date of the activation expiration. Represented in the standard date-time format as defined by [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339)
          type: string
          readOnly: true
        email:
          description: The email to register.
          type: string
          readOnly: true
        registrationStatus:
          $ref: '#/components/schemas/TenantEmailRegistrationStatus'
          readOnly: true
        state:
          $ref: '#/components/schemas/State'
          readOnly: true
        tenantId:
          description: The tenant id to register.
          type: string
          readOnly: true
    ProxyResource:
      description: Base data transfer object implementation for proxy resources.
      type: object
      properties:
        id:
          description: The unique id of the resource.
          type: string
          readOnly: true
        type:
          description: Type of the resource.
          type: string
          readOnly: true
    TenantEmailRegistration:
      description: A tenant email registration data transfer object.
      type: object
      allOf:
      - $ref: '#/components/schemas/ProxyResource'
      properties:
        properties:
          $ref: '#/components/schemas/TenantEmailRegistrationProperties'
    State:
      description: State of the resource
      enum:
      - Unknown
      - Succeeded
      - Creating
      - Deleting
      - Moving
      - Failed
      type: string
      x-ms-enum:
        name: State
        modelAsString: true
        values:
        - value: Unknown
          description: The state of the resource is 'Unknown'
          name: Unknown state
        - value: Succeeded
          description: The state of the resource is 'Succeeded'
          name: Succeeded state
        - value: Creating
          description: The state of the resource is 'Creating'
          name: Creating state
        - value: Deleting
          description: The state of the resource is 'Deleting'
          name: Deleting state
        - value: Moving
          description: The state of the resource is 'Moving'
          name: Moving state
        - value: Failed
          description: The state of the resource is 'Failed'
          name: Failed state
  parameters:
    api-version:
      in: query
      name: api-version
      description: The api version to use
      required: true
      x-ms-parameter-location: client
      schema:
        type: string
  securitySchemes:
    azureAuth:
      type: oauth2
      flows:
        implicit:
          scopes:
            https://purview.azure.net/.default: Purview service scope
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow.
x-ms-parameterized-host:
  hostTemplate: '{endpoint}'
  useSchemePrefix: false
  parameters:
  - $ref: '#/components/parameters/endpoint'