Share via

Lab - "Develop an Azure AI Voice Live voice agent": https://github.com/MicrosoftLearning/mslearn-ai-language/blob/main/Instructions/Labs/11-voice-live-agent-web.md

Heeyaichen Konsam 20 Reputation points
2026-02-08T06:25:54.97+00:00

Hi Microsoft Support Team,

I'm facing an error when performing/validating this lab: "Develop an Azure AI Voice Live voice agent."
**
**Error Details:WhatsApp Image 2026-01-03 at 6.59.01 PM

ERROR: Initializing provisioning manager: reading subscription id: no default response for prompt "Select an Azure Subscription to use."

When running the command:

bash azdeploy.sh

Resolution steps I've taken:

azd auth logout
az logout
azd auth login –use-device-code

Please provide the resolution details to fix this error. Thank You!

Best Regards,
Heeyaichen

Azure AI services
Azure AI services

A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.

0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jerald Felix 10,975 Reputation points
    2026-02-08T17:07:54.6366667+00:00

    Hello Heeyaichen Konsam,

    Thanks for raising it in the Q&A forum!

    This error occurs when Azure Developer CLI (azd) cannot detect or access your Azure subscriptions during provisioning. Even though you've authenticated with azd auth login, the CLI may not have retrieved your subscription list or set a default subscription.

    Resolution Steps

    Set Default Subscription Explicitly: After authenticating, manually set your default Azure subscription:

    bash
    # List available subscriptions
    

    This ensures both az CLI and azd use the correct subscription.

    Use Tenant-Specific Login: If your account has access to multiple tenants, specify the tenant ID during login:

    bash
    # Find your tenant ID in Azure Portal > Subscriptions > Directory
    

    Set Environment Variable for Subscription: Before running azdeploy.sh, explicitly specify the subscription ID as an environment variable:

    bash
    export AZURE_SUBSCRIPTION_ID=<YOUR_SUBSCRIPTION_ID>
    bash azdeploy.sh
    

    Or configure it directly in azd:

    bash
    azd config set defaults.subscription <YOUR_SUBSCRIPTION_ID>
    

    Verify Authentication Status: Ensure both Azure CLI and Azure Developer CLI are properly authenticated:

    bash
    # Check Azure CLI authentication
    

    If either shows unauthenticated, log in again:

    bash
    az login
    azd auth login
    

    Use Interactive Mode (if applicable): If running in an environment that supports interactive prompts, try running azd without the --no-prompt flag to manually select the subscription.

    Clear Cache and Re-authenticate: If the issue persists, clear authentication cache and retry:

    bash
    azd auth logout
    az logout
    rm -rf ~/.azure
    az login
    azd auth login --use-device-code
    az account set --subscription <YOUR_SUBSCRIPTION_ID>
    bash azdeploy.sh
    

    Additional Considerations

    If this helps, kindly accept the answer.

    Best Regards,

    Jerald Felix


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.