Skip to content

Azure sign in #32244

@Onyii397

Description

@Onyii397

Describe the bug

I am unable to open my new chat app

Related command

python chat-app.py

Errors

File "/home/onyinyechi/mslearn-ai-foundry/labfiles/chat-app/python/chat-app.py", line 24
project_client = AIProjectClient(
SyntaxError: expected 'except' or 'finally' block

Issue script & Debug output

project_client = AIProjectClient(
SyntaxError: expected 'except' or 'finally' block

Expected behavior

Expected to run my newly created application

Environment Summary

azure-cli 2.76.0 *

core 2.76.0 *
telemetry 1.1.0

Dependencies:
msal 1.33.0b1
azure-mgmt-resource 23.3.0

Python location '/home/onyinyechi/mslearn-ai-foundry/labfiles/chat-app/python/labenv/bin/python3.12'
Config directory '/home/onyinyechi/.azure'
Extensions directory '/home/onyinyechi/.azure/cliextensions'

Python (Linux) 3.12.9 (main, Jul 29 2025, 01:30:13) [GCC 13.2.0]

Legal docs and information: aka.ms/AzureCliLegal

Additional context

This occurred after I signed into Azure portal and selected tenant and subscription

Metadata

Metadata

Assignees

No one assigned

    Labels

    Auto-ResolveAuto resolve by botService AttentionThis issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions