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

Remote Invocation of Jenkins API when using Azure AD Plugin

XMLWordPrintable

      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

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

              Created:
              Updated:
              Resolved: