Skip to content

[BUG]The host of the Microsoft Entra authority for tenants in the Azure China Cloud need to update. #44804

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

Closed
3 tasks
metestone opened this issue Mar 27, 2025 · 4 comments
Assignees
Labels
Azure.Identity bug This issue requires a change to an existing behavior in the product in order to be resolved. customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-author-feedback Workflow: More information is needed from author to address the issue. no-recent-activity There has been no recent activity on this issue.
Milestone

Comments

@metestone
Copy link

Describe the bug
Please refer to this issue:
jenkinsci/azure-ad-plugin#679

Microsoft documents the base URI of the "Microsoft Entra China operated by 21Vianet" authentication endpoint as https://login.partner.microsoftonline.cn/, at https://learn.microsoft.com/en-us/entra/identity-platform/authentication-national-cloud#microsoft-entra-authentication-endpoints. This was changed in MicrosoftDocs/entra-docs@9acc385 and MicrosoftDocs/entra-docs@e0fe90f.

Please determine whether the AZURE_CHINA constant in this Java class needs to be updated.

/**
* The host of the Microsoft Entra authority for tenants in the Azure China Cloud.
*/
public static final String AZURE_CHINA = "https://login.chinacloudapi.cn/";

Exception or Stack Trace
Add the exception log and stack trace if available

To Reproduce
Steps to reproduce the behavior:

Code Snippet
Add the code snippet that causes the issue.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Setup (please complete the following information):

  • OS: [e.g. iOS]
  • IDE: [e.g. IntelliJ]
  • Library/Libraries: [e.g. com.azure:azure-core:1.16.0 (groupId:artifactId:version)]
  • Java version: [e.g. 8]
  • App Server/Environment: [e.g. Tomcat, WildFly, Azure Function, Apache Spark, Databricks, IDE plugin or anything special]
  • Frameworks: [e.g. Spring Boot, Micronaut, Quarkus, etc]

If you suspect a dependency version mismatch (e.g. you see NoClassDefFoundError, NoSuchMethodError or similar), please check out Troubleshoot dependency version conflict article first. If it doesn't provide solution for the problem, please provide:

  • verbose dependency tree (mvn dependency:tree -Dverbose)
  • exception message, full stack trace, and any available logs

Additional context
Add any other context about the problem here.

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

  • Bug Description Added
  • Repro Steps Added
  • Setup information Added
@github-actions github-actions bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Mar 27, 2025
@joshfree joshfree added bug This issue requires a change to an existing behavior in the product in order to be resolved. Azure.Identity labels Mar 27, 2025
@joshfree joshfree removed the question The issue doesn't require a change to the product in order to be resolved. Most issues start as that label Mar 27, 2025
@joshfree joshfree added this to the 2025-04 milestone Mar 27, 2025
@joshfree joshfree moved this from Untriaged to Not Started in Azure Identity SDK Improvements Mar 27, 2025
@github-actions github-actions bot removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Mar 27, 2025
@joshfree
Copy link
Member

@billwert could you take a look at this issue reported by @metestone

@billwert
Copy link
Member

Hello @metestone!

We'll take a look at the URLs, thanks.

In the meantime, you can try setting the environment variable AZURE_AUTHORITY_HOST to the new host (https://login.partner.microsoftonline.cn/). I'll go comment on the Jenkins issue also.

@billwert billwert moved this from Not Started to In Progress in Azure Identity SDK Improvements Mar 27, 2025
@billwert billwert added the needs-author-feedback Workflow: More information is needed from author to address the issue. label Mar 27, 2025
Copy link
Contributor

Hi @metestone. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue.

Copy link
Contributor

github-actions bot commented Apr 3, 2025

Hi @metestone, we're sending this friendly reminder because we haven't heard back from you in 7 days. We need more information about this issue to help address it. Please be sure to give us your input. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!

@github-actions github-actions bot added the no-recent-activity There has been no recent activity on this issue. label Apr 3, 2025
@billwert billwert modified the milestones: 2025-04, 2025-05 Apr 4, 2025
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 19, 2025
@github-project-automation github-project-automation bot moved this from In Progress to Done in Azure Identity SDK Improvements Apr 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure.Identity bug This issue requires a change to an existing behavior in the product in order to be resolved. customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-author-feedback Workflow: More information is needed from author to address the issue. no-recent-activity There has been no recent activity on this issue.
Projects
Development

No branches or pull requests

3 participants