Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2024 05:10 AM
Thanks for the response. I am encountering an error when I attempt to obtain a credential from the databricks notebook:
Example:
from azure.identity import DefaultAzureCredential
import requests
# Initialize DefaultAzureCredential
credential = DefaultAzureCredential()
# Get a token for Cognitive Services (Text Analytics, for example)
token = credential.get_token("https://**My Language Service Name**.cognitiveservices.azure.com/.default")
DefaultAzureCredential failed to retrieve a token from the included credentials.