Closed LiliDeng closed 2 months ago
@xiangyan99 thanks for looking into this.
Using below code works, but I want to evaluate the impact if use exclude_managed_identity_credential
credential = DefaultAzureCredential( authority=self.cloud.endpoints.active_directory, exclude_managed_identity_credential=True, )
give below environment variables, then it worked well, no need to set exclude_managed_identity_credential os.environ["AZURE_CLIENT_ID"] os.environ["AZURE_TENANT_ID"]
In ADO, I created service connection with
Workload Identity federation (automatic)
and used it in the pipeline like this way, it worked well, and listed all the resource groups.in the inline script, I used below code with azure python sdk, it threw the exception, I used
"azure-identity ~= 1.13.0"
, any idea what may cause this issue?