Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verify that azd pipeline config works #10

Open
pamelafox opened this issue May 22, 2024 · 1 comment
Open

Verify that azd pipeline config works #10

pamelafox opened this issue May 22, 2024 · 1 comment

Comments

@pamelafox
Copy link
Contributor

May need to configure key vault access specially.

@adrianruchti
Copy link

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`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants