Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-63593

Azure VM Agents plugin doesn't support US Government cloud

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Component/s: _unsorted
    • Labels:
      None
    • Environment:
      Jenkins 2.235.5, Azure VM Agents 1.5.0, Azure Credentials 4.0.2
    • Similar Issues:

      Description

      The Azure VM Agents plugin doesn't support alternative Azure clouds (there are 4 Azure Clouds, Azure aka Azure Commercial, Azure China, Azure Germany & Azure US Government), when I create a Managed Identity for Azure Resources credential for our Azure US Government cloud, attempts to configure the Azure VM Agents Cloud Config result in an AAD error:

       

      com.microsoft.aad.adal4j.AuthenticationException: {"error_description":"AADSTS900439: Confidential Client requests are not supported on the public endpoint (login.microsoftonline.com) for tenants in the Azure Government cloud. Send your login requests to https:\/\/login.microsoftonline.us instead. Please see https:\/\/devblogs.microsoft.com\/azuregov\/azure-government-aad-authority-endpoint-update\/ for more details","error":"invalid_request","error_uri":"https:\/\/login-us.microsoftonline.com\/error?code=900439"}

        Attachments

          Activity

          Hide
          timja Tim Jacomb added a comment -

          All issues have been transferred to GitHub.

          See https://github.com/jenkinsci/azure-vm-agents-plugin/issues

          Search the issue title to find it.

          (This is a bulk comment and can't link to the specific issue)

          Show
          timja Tim Jacomb added a comment - All issues have been transferred to GitHub. See https://github.com/jenkinsci/azure-vm-agents-plugin/issues Search the issue title to find it. (This is a bulk comment and can't link to the specific issue)

            People

            Assignee:
            azure_devops Azure DevOps
            Reporter:
            simonmcc Simon McCartney
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: