issue is with data/json...try the below - from azure.identity import DefaultAzureCredentialimport requestsdefault_scope = "2ff814a6-3304-4ab8-85cb-cd0e6f879c1d/.default"credential = DefaultAzureCredential()token = credential.get_token(default_scope)a...