---
title: "GET /{stack}/adminconfig/v2/cloud-resources/self-storage-locations/configs/azure-consent-url"
method: GET
path: "/{stack}/adminconfig/v2/cloud-resources/self-storage-locations/configs/azure-consent-url"
tags: ["CloudResources", "DDSS"]
---

# GET /{stack}/adminconfig/v2/cloud-resources/self-storage-locations/configs/azure-consent-url

`GET /{stack}/adminconfig/v2/cloud-resources/self-storage-locations/configs/azure-consent-url`

Get the URL for admin consent in Microsoft Entra ID (formerly Azure AD). If the tenantId query parameter is provided, the endpoint returns a fully qualified URL, ready to use. Otherwise, the URL contains a {tenant_id} placeholder that the caller must replace.

## Path parameters

- `stack` string, required

## Query parameters

- `tenantId` string

## Response `200`

The response containing the Azure admin consent URL.

- SelfStorageLocationAzureConsentURL
  - `consentUrl` string, required — The URL for admin consent in Microsoft Entra ID (formerly Azure AD). If a tenant ID was provided as a query parameter, the URL is fully qualified and ready to use. Otherwise, it contains a {tenant_id} placeholder that the caller must replace with their actual tenant ID.
  - `message` string, required

## Other responses

- `default` — unexpected error

---

[API](https://skmtc.dev/splunk/apis/splunk-cloud-admin-api.md) · [All operations](https://skmtc.dev/splunk/apis/splunk-cloud-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/splunk/splunk-cloud-admin-api/revisions/65903649d1c2/schema)
