CI: Configuring Jenkins to support Azure Active Directory (AD)

Akarsh Seggemu, M.Sc.
2 min readSep 25, 2023

--

Azure Active Directory (AD) main feature is single sing-on. Adding support for Azure AD makes your CI system (Jenkins) more convenient to use. The users need not remember or create separate login credentials for CI system (Jenkins).

In, this article I will be covering how to configure Jenkins to support Azure AD.

First, Install the Jenkins plugin support Azure AD (Active Directory) via https://plugins.jenkins.io/azure-ad/ in your Jenkins.
There are three ways to install plugins in Jenkins. Click on “How to install” to find out the three installation options.

Click on “How to install” button
Three installation options

Second, after installation. You need to configure the Azure AD. Follow the Setup In Azure Active Directory.

Third, after setting up Azure AD you need to setup Azure AD plugin in Jenkins. Follow the Setup In Jenkins

Note: In order to support Azure AD in your CI system (Jenkins) it need to have a host name with HTTPS support. For example https://www.jenkinsinstance.com here the jenkins host is called www.jenkinsinstance.com https://{your_jenkins_host} . Otherwise the redirect URL won’t work.

If you like my articles, please follow me on Medium and you can also support me by buying me a coffee.

--

--

Akarsh Seggemu, M.Sc.

IT Team Lead | Post graduate Computer Science from TU Berlin | Telugu writings are found in this account https://medium.com/@akarshseggemu_telugu