openai-chat-app-entra-auth-builtin
openai-chat-app-entra-auth-builtin copied to clipboard
Verify that azd pipeline config works
May need to configure key vault access specially.
Hello @pamelafox
I am getting the following error when using the github workflow. When I am using azd up the infra provisoning works correctly.
`Run azd env set CREATE_ROLE_FOR_USER false --no-prompt
Creating Python virtual environment in .venv...
Installing dependencies from "requirements.txt" into virtual environment (in quiet mode)...
INFO Loading azd env from auth_common.py:189
/home/runner/work/timescale-app-auth-builtin/timesc
ale-app-auth-builtin/.azure/timescale/.env
INFO Setting up authentication for tenant None auth_init.py:290
INFO Using Azd CLI Credential for tenant_id None auth_init.py:281
INFO Detected a tenant of type: None auth_init.py:301
ERROR Error occurred: auth_init.py:326
APIError
Code: 400
message: None
error: MainError(additional_data={},
code='BadRequest', details=None,
inner_error=InnerError(additional_data={},
client_request_id='477fb763-3232-429e-b6eb-623c2bfa8c
1e', date=DateTime(2024, 9, 1, 11, 21, 3,
tzinfo=Timezone('UTC')), odata_type=None,
request_id='48faff26-c804-4b5b-bbc0-014e5ce4d412'),
message='/me request is only valid with delegated
authentication flow.', target=None)
ERROR: failed running pre hooks: 'preprovision' hook failed with exit code: '1', Path: './scripts/auth_init.sh'. : exit code: 1`