Summary
The default auth path in cfa-cloudops appears to require service-principal attributes instead of using DefaultAzureCredential? Pre-apologies if I've missed something obvious!
On Linux VM (VAP), I expected the default path to work with the usual Azure login, but pool creation failed because cfa-cloudops asked for azure_tenant_id and azure_client_id.
Reprex
Environment:
- Linux VAP VM
- authenticated via Azure login CLI
az login --identity
- no explicit service-principal env vars like
AZURE_TENANT_ID or AZURE_CLIENT_ID
Call path:
- construct
CloudClient(...) using the default auth mode
- call
create_pool(...)
The error I get is :
AttributeError: A non-None value for attribute azure_tenant_id is required for this operation.
A non-None value for attribute azure_client_id is required for this operation.
Summary
The
defaultauth path incfa-cloudopsappears to require service-principal attributes instead of usingDefaultAzureCredential? Pre-apologies if I've missed something obvious!On Linux VM (VAP), I expected the
defaultpath to work with the usual Azure login, but pool creation failed becausecfa-cloudopsasked forazure_tenant_idandazure_client_id.Reprex
Environment:
az login --identityAZURE_TENANT_IDorAZURE_CLIENT_IDCall path:
CloudClient(...)using thedefaultauth modecreate_pool(...)The error I get is :