-
Notifications
You must be signed in to change notification settings - Fork 7
Description
I want to change the messaging endpoint for the blueprint to a dev tunnel based url so that i can do local debug.
I tried a365 cleanup blueprint and then updated the URL in a365.generated.json.
After that I fired a365 setup blueprint, but it overrides the URL in JSON with the existing value and it does not help.
I then tried by deleting both the JSON and started fresh. Now I get the below error.
Please help. It seems SDK is kind of naive right now.
Authentication successful! Authentication token cached for ea9ffc3e-8a23-4a7d-836d-234d7c7565c1:tenant:8dbeb4bb-0a9b-4719-812c-cb081750e0dc at: C:\Users\hemantk\AppData\Local\Microsoft.Agents.A365.DevTools.Cli\auth-token.json Successfully acquired access token Making request to create endpoint (Location: westus). ERROR: Failed to call create endpoint. Status: InternalServerError ERROR: Error response: {"error":"An unexpected error occurred while creating Bot 'bjmqj7bg-3978-inspect-inc1-devtunnels-ms-e'","details":"Bot service with name 'bjmqj7bg-3978-inspect-inc1-devtunnels-ms-e' already exists in resource group 'prdil110cus-MCPRuntime-rg'"} ERROR: To resolve this issue: ERROR: 1. Check if endpoint exists: Review error details above ERROR: 2. Delete conflicting endpoint: a365 cleanup azure ERROR: 3. Try registration again: a365 setup blueprint --endpoint-only ERROR: Failed to register blueprint messaging endpoint ERROR: Endpoint registration failed: [SETUP_VALIDATION_FAILED] Blueprint messaging endpoint registration failed Microsoft.Agents.A365.DevTools.Cli.Exceptions.SetupValidationException: [SETUP_VALIDATION_FAILED] Blueprint messaging endpoint registration failed at Microsoft.Agents.A365.DevTools.Cli.Commands.SetupSubcommands.SetupHelpers.RegisterBlueprintMessagingEndpointAsync(Agent365Config setupConfig, ILogger logger, IBotConfigurator botConfigurator) in C:\__w\1\s\Agent365-devTools\src\Microsoft.Agents.A365.DevTools.Cli\Commands\SetupSubcommands\SetupHelpers.cs:line 481 at Microsoft.Agents.A365.DevTools.Cli.Commands.SetupSubcommands.BlueprintSubcommand.RegisterEndpointAndSyncAsync(String configPath, ILogger logger, IConfigService configService, IBotConfigurator botConfigurator, PlatformDetector platformDetector, CancellationToken cancellationToken) in C:\__w\1\s\Agent365-devTools\src\Microsoft.Agents.A365.DevTools.Cli\Commands\SetupSubcommands\BlueprintSubcommand.cs:line 1103 at Microsoft.Agents.A365.DevTools.Cli.Commands.SetupSubcommands.BlueprintSubcommand.<>c__DisplayClass1_0.<<CreateCommand>b__1>d.MoveNext() in C:\__w\1\s\Agent365-devTools\src\Microsoft.Agents.A365.DevTools.Cli\Commands\SetupSubcommands\BlueprintSubcommand.cs:line 162 ERROR: To resolve this issue: ERROR: 1. If endpoint already exists, delete it: a365 cleanup azure ERROR: 2. Verify your messaging endpoint configuration in a365.config.json ERROR: 3. Try registration again: a365 setup blueprint --endpoint-only