conductor-oss/conductor · error · IllegalArgumentException
Azure Foundry endpoint must be provided via rawConfig.endpoi
Error message
Azure Foundry endpoint must be provided via rawConfig.endpoint or AZURE_FOUNDRY_ENDPOINT secret
What it means
Error "Azure Foundry endpoint must be provided via rawConfig.endpoint or AZURE_FOUNDRY_ENDPOINT secret" thrown in conductor-oss/conductor.
Source
Thrown at agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AzureFoundryAgentClient.java:357
}
String scope =
StringUtils.defaultIfBlank(
rawConfig(request, "scope"),
credentialResolutionService.resolve(credentialRef + ".scope"));
scope = StringUtils.defaultIfBlank(scope, DEFAULT_SCOPE);
return OAuthTokenProvider.forAzureEntraId(
httpClient, tenantId, clientId, clientSecret, scope);
}
private String resolveEndpoint(ConductorAgentStartRequest request) {
String endpoint = rawConfig(request, "endpoint");
if (StringUtils.isBlank(endpoint)) {
endpoint = credentialResolutionService.resolve("AZURE_FOUNDRY_ENDPOINT");
}
if (StringUtils.isBlank(endpoint)) {
throw new IllegalArgumentException(
"Azure Foundry endpoint must be provided via rawConfig.endpoint or AZURE_FOUNDRY_ENDPOINT secret");
}
return endpoint.endsWith("/") ? endpoint.substring(0, endpoint.length() - 1) : endpoint;
}
private String resolveAssistantId(ConductorAgentStartRequest request) {
String id = rawConfig(request, "assistantId");
if (StringUtils.isBlank(id)) {
id = rawConfig(request, "agentId");
}
if (StringUtils.isBlank(id)) {
throw new IllegalArgumentException(
"rawConfig.assistantId is required for Azure Foundry agent requests");
}
return id;
}
private JsonNode post(String url, ObjectNode body, String bearerToken, String apiVersion) {View on GitHub (pinned to cf7c3e4a8a)
Solutions
- Provide the Azure Foundry endpoint via rawConfig.endpoint on the agent config or the AZURE_FOUNDRY_ENDPOINT secret.
When it happens
Trigger: Thrown at agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AzureFoundryAgentClient.java:357 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of conductor-oss/conductor@cf7c3e4a8a (2026-08-14).
Data as JSON: /api/errors/d70683e1f23c5646.
Report an issue: GitHub.