[JIRA] (JENKINS-58646) Autocomplete not working in latest azure ad plugin

11 views
Skip to first unread message

anjanaraghavendra@gmail.com (JIRA)

unread,
Jul 24, 2019, 1:14:03 PM7/24/19
to jenkinsc...@googlegroups.com
anjana raghavendra p created an issue
 
Jenkins / Bug JENKINS-58646
Autocomplete not working in latest azure ad plugin
Issue Type: Bug Bug
Assignee: Azure DevOps
Components: azure-ad-plugin
Created: 2019-07-24 17:13
Environment: Ubuntu 16.04
Jenkins 2.176.2
azure-ad:1.0.0
Labels: jenkins
Priority: Minor Minor
Reporter: anjana raghavendra p

I have full permissions on Azure side and created a service account in Azure AD. After adding the client id, secret and tenant, my login is working. But when I tried to use Azure AD Matrix-based strategy, auto complete is not working and the logs is printing "WARNING: Do not have sufficient privileges to search related users or groups". 

I can add my username directly and the matrix strategy is working but if I wanted to use group, I don't know how to specify it. For this I planned to use the auto-complete.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

jieshe@microsoft.com (JIRA)

unread,
Jul 24, 2019, 10:39:02 PM7/24/19
to jenkinsc...@googlegroups.com
Jie Shen assigned an issue to Jie Shen
Change By: Jie Shen
Assignee: Azure DevOps Jie Shen

jieshe@microsoft.com (JIRA)

unread,
Jul 24, 2019, 10:44:02 PM7/24/19
to jenkinsc...@googlegroups.com
Jie Shen commented on Bug JENKINS-58646
 
Re: Autocomplete not working in latest azure ad plugin

The pattern for group is the same like `groupName (principalName)`. If you want to enable autocomplete, you need to give some permission to your application. Details can be found from https://github.com/jenkinsci/azure-ad-plugin/blob/dev/README.md and https://github.com/jenkinsci/azure-ad-plugin/issues/46

anjanaraghavendra@gmail.com (JIRA)

unread,
Jul 25, 2019, 12:38:03 PM7/25/19
to jenkinsc...@googlegroups.com

I have given the permissions as mentioned in the ticket  https://github.com/jenkinsci/azure-ad-plugin/issues/46 but still not able to do auto-complete and getting permissions error.

anjanaraghavendra@gmail.com (JIRA)

unread,
Jul 25, 2019, 12:38:03 PM7/25/19
to jenkinsc...@googlegroups.com
anjana raghavendra p updated an issue
 
Change By: anjana raghavendra p
Attachment: image-2019-07-25-22-06-59-675.png

anjanaraghavendra@gmail.com (JIRA)

unread,
Jul 25, 2019, 12:43:11 PM7/25/19
to jenkinsc...@googlegroups.com
 
Re: Autocomplete not working in latest azure ad plugin

Sorry, its working after those permissions. Its just taking time to replicate. Thanks for your help.

anjanaraghavendra@gmail.com (JIRA)

unread,
Jul 25, 2019, 12:44:02 PM7/25/19
to jenkinsc...@googlegroups.com
anjana raghavendra p closed an issue as Not A Defect
 

Its a configuration issue as documented in https://github.com/jenkinsci/azure-ad-plugin/issues/46

Status: Open Closed
Resolution: Not A Defect
Released As: https://github.com/jenkinsci/azure-ad-plugin/issues/46
Reply all
Reply to author
Forward
0 new messages