JetBrains / teamcity-azure-active-directory

TeamCity plugin which supports authentication via Microsoft Azure Active Directory
Apache License 2.0
26 stars 19 forks source link

Unable to add 'Microsoft Azure Active Directory' as HTTP Authentication Module on TeamCity Professional 2017.1.5 (build 47175) #35

Closed gaurav8053 closed 6 years ago

gaurav8053 commented 6 years ago

I am not able to perform following steps on latest TC server, can you please help? Add 'Microsoft Azure Active Directory' HTTP authentication module to your authentication configuration.

Specify valid 'App OAuth 2.0 authorization endpoint' and 'Client ID' retrieved from Azure Portal.

Use 'Log in using Azure Active Directory' link available on Login page to login via your Azure Active Directory account.

dtretyakov commented 6 years ago

@gaurav8053, did you managed to create Web app / API Azure AD application and specify Reply URL as described here?

If so need to visit Administration -> Authentication page in TeamCity server, then press Switch to advanced mode, press Add module button, select Microsoft Azure Active Directory and press Add button.

Then in the list press Edit link and specify App OAuth 2.0 authorization endpoint from the Azure portal from App registrations page (click on Endpoints button) and Application ID for created Azure AD application and press Done.

Then after logout you will see Log in using Azure Active Directory link on the TeamCity login page: %TeamCity_URL%/login.html.

Please let me know if you have further questions.

gaurav8053 commented 6 years ago

Hi,

Yes I was able to proceed ahead. Apologies for not updating ticket and thanks for following up.

Regards, Gaurav

From: Dmitry Tretyakov [mailto:notifications@github.com] Sent: Tuesday, November 28, 2017 5:03 PM To: JetBrains/teamcity-azure-active-directory teamcity-azure-active-directory@noreply.github.com Cc: Gaurav Rane Gaurav.Rane@varian.com; Mention mention@noreply.github.com Subject: Re: [JetBrains/teamcity-azure-active-directory] Unable to add 'Microsoft Azure Active Directory' as HTTP Authentication Module on TeamCity Professional 2017.1.5 (build 47175) (#35)

@gaurav8053https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fgaurav8053&data=01%7C01%7Cgaurav.rane%40varian.com%7C7aa4af12018a4cf5dba208d53653b9c3%7Cc49d9c494b114ccdb13772f88c68a252%7C1&sdata=z4dAa4jZLSrEAv6GgDHQ40QLyytA%2BZA%2F9l%2FNFLbrvxY%3D&reserved=0, did you managed to create Web app / API Azure AD application and specify Reply URL as described herehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FJetBrains%2Fteamcity-azure-active-directory%23configuring-azure-active-directory&data=01%7C01%7Cgaurav.rane%40varian.com%7C7aa4af12018a4cf5dba208d53653b9c3%7Cc49d9c494b114ccdb13772f88c68a252%7C1&sdata=AGuXwVqBAttWD9IO0Zpc2AVyUHR%2F%2FClJLUvy0i%2B7gjc%3D&reserved=0?

If so need to visit Administration -> Authentication page in TeamCity server, then press Switch to advanced mode, press Add module button, select Microsoft Azure Active Directory and press Add button.

Then in the list press Edit link and specify App OAuth 2.0 authorization endpoint from the Azure portal from App registrations page (click on Endpoints button) and Application ID for created Azure AD application and press Done.

Then after logout you will see Log in using Azure Active Directory link on the TeamCity login page: %TeamCity_URL%/login.html.

Please let me know if you have further questions.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FJetBrains%2Fteamcity-azure-active-directory%2Fissues%2F35%23issuecomment-347495968&data=01%7C01%7Cgaurav.rane%40varian.com%7C7aa4af12018a4cf5dba208d53653b9c3%7Cc49d9c494b114ccdb13772f88c68a252%7C1&sdata=BKXFrieodNEpdUlAg3mJvZfsJhGDqvW8NC1HQ2FUUao%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAZrFDHyKvjI_9s35nTrR25c8wnOTOQtPks5s6-9TgaJpZM4QEEXV&data=01%7C01%7Cgaurav.rane%40varian.com%7C7aa4af12018a4cf5dba208d53653b9c3%7Cc49d9c494b114ccdb13772f88c68a252%7C1&sdata=Li5NQV%2FpTfb5vOHWy8rXY1h55YDzYBuxLw0LOEwOCV8%3D&reserved=0.