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

Remote Invocation of Jenkins API when using Azure AD Plugin

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I am facing multiple challenges with this plugin when invoking Jenkins API remotely when RBAC is configured with this plugin

      1. Is there a way to configure Jenkins user id as AD user id instead of object id? this is very inconvenient when I am trying to use Jenkins API to invoke jobs from some other application.
      2. Just granting permissions to Azure AD group (e.g. I created Azure AD group called Jenkins Admin), does not let the user of that group invoke API's remotely and throws forbidden error despite of using object ID as the user ID and API key as the password. Once I grant the permissions directly to the user (who is also part of the group), the API call works perfectly with 200 OK

      Are there ways to get around this?

      Badal

        Attachments

          Activity

          badalk Badal Kotecha created issue -
          jieshe Jie Shen made changes -
          Field Original Value New Value
          Assignee Azure DevOps [ azure_devops ] Jie Shen [ jieshe ]
          jieshe Jie Shen made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          jieshe Jie Shen made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              jieshe Jie Shen
              Reporter:
              badalk Badal Kotecha
            • Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: