Skip to content

State the allowed AI endpoint domains in credential name rules - #10372

Open
Yusuf Qasem (BenjisCollector) wants to merge 1 commit into
MicrosoftDocs:livefrom
BenjisCollector:patch-external-model-allowed-domains
Open

State the allowed AI endpoint domains in credential name rules#10372
Yusuf Qasem (BenjisCollector) wants to merge 1 commit into
MicrosoftDocs:livefrom
BenjisCollector:patch-external-model-allowed-domains

Conversation

@BenjisCollector

Copy link
Copy Markdown

Summary

The Credential name rules for external model section says the URL domain "must be one of those domains included in the allow list" but doesn't say where that list is or what's on it. Readers arriving here for AI_GENERATE_EMBEDDINGS have no direct path to the constraint.

This adds a note naming the AI-relevant allowed domains and linking to Allowed endpoints.

Context

Azure AI Foundry resources surface a *.services.ai.azure.com hostname that isn't on the allowed list, while the same resource is reachable at *.cognitiveservices.azure.com, which is. Since CREDENTIAL and LOCATION on this page both take that hostname, stating the allowed domains here saves a reader a hop to another article.

@prmerger-automator

Copy link
Copy Markdown
Contributor

Yusuf Qasem (@BenjisCollector) : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

@prmerger-automator

Copy link
Copy Markdown
Contributor

Yusuf Qasem (@BenjisCollector) : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 27b93a2:

✅ Validation status: passed

File Status Preview URL Details
docs/t-sql/statements/create-external-model-transact-sql.md ✅Succeeded

For more details, please refer to the build report.

@v-dirichards

Copy link
Copy Markdown
Contributor

Randolph West MSFT (@rwestMSFT)

Can you review the proposed changes?

Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@prmerger-automator prmerger-automator Bot added the aq-pr-triaged tracking label for the PR review team label Aug 5, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Clarifies the “allow list” constraint for external model credential domains by explicitly listing the AI-related allowed endpoint domains and linking readers to the canonical “Allowed endpoints” list for Azure SQL Database and Azure SQL Managed Instance.

Changes:

  • Added a NOTE enumerating the allowed AI endpoint domains for Azure SQL DB/MI.
  • Added guidance about Azure AI Foundry *.services.ai.azure.com vs the allowed *.cognitiveservices.azure.com endpoint.
  • Linked directly to the “Allowed endpoints” section of sp_invoke_external_rest_endpoint.

Comment on lines +203 to +204
> [!NOTE]
> On Azure SQL Database and Azure SQL Managed Instance, the allowed domains for AI endpoints are `*.cognitiveservices.azure.com`, `*.api.cognitive.microsoft.com`, and `*.openai.azure.com`. Azure AI Foundry resources also expose a `*.services.ai.azure.com` endpoint, which isn't in the allowed list. Use the `*.cognitiveservices.azure.com` endpoint of the same resource for both `CREDENTIAL` and `LOCATION`. For the full list, see [Allowed endpoints](../../relational-databases/system-stored-procedures/sp-invoke-external-rest-endpoint-transact-sql.md#allowed-endpoints).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants