-
Notifications
You must be signed in to change notification settings - Fork 268
Description
- Make sure you've installed the latest version using instructions
Output from azd version
Run azd version and copy and paste the output here:
azd version 1.20.0 (commit 0031e30)
Describe the bug
Description of issue you're seeing...
when use the 1.20.0 version, run azd auth login by sp command. will met the below error:
ERROR: ClientSecretCredential: unable to resolve an endpoint: ResolveEndpoints(): TenantDiscoveryResponse: issuer from OIDC discovery 'https://login.partner.microsoftonline.cn/954ddad8-66d7-47a8-8f9f-1316152d9587/v2.0' does not match authority 'https://login.chinacloudapi.cn/954ddad8-66d7-47a8-8f9f-1316152d9587/' or a known pattern
Command:
- job: BuildAndDeploy
dependsOn: CheckForNewCommits
condition: and(succeeded(), eq(dependencies.CheckForNewCommits.outputs['CheckForChanges.ChangesDetected'], 'true'))
steps:
- task: Bash@3
displayName: Install azd
inputs:
targetType: 'inline'
script: |
curl -fsSL https://aka.ms/install-azd.sh | bash
- script: |
azd version
azd config set cloud.name AzureChinaCloud
azd auth login --client-id $(AZURE_CLIENT_ID) --client-secret $(AZURE_CLIENT_SECRET) --tenant-id $(AZURE_TENANT_ID)
displayName: 'login to azd auth'
To Reproduce
Steps to reproduce the behavior...
Yes, We always can reprocduce this issue since 10 Oct.
Expected behavior
A clear and concise description of what you expected to happen.
same as 1.19.0 version. make the login successfully.
Environment
Information on your environment:
* Language name and version
* IDE and version : [e.g. Visual Studio 16.3]
Additional context
Add any other context about the problem here.