Azure AD Authentication Plug-in Issue

Server version = 7.7.0.23042

Azure Active Directory (AAD) Authentication Plug-in for SonarQube = 1.1-RC2 installed

Having some issues with getting the Azure AD Auth setup. I’ve followed the instructions here on GitHub.

https://github.com/hkamel/sonar-auth-aad/wiki/Setup

Plug-in is installed, app is created. It works for some users, but not others.

In the screen shot you can see that it adds the black Microsoft box underneath the user since they were successfully able to login with SSO. For the other users it gives the following error message.

You’re not authorized to access this page. Please contact the administrator.

There’s no difference that I can see as it relates to the accounts. It works for some, but not others and seems random.

Ideas?

Hi,

It seems that auth is working since some users get in. I’m guessing this is about permissions. Perhaps these users don’t actually have rights to anything once they’re authenticated?

Also, you should check the server logs to see if anything interesting shows up there.

 
Ann

Thanks I will double check the logs and see what I can find. It’s weird because I’m one of the ones it doesn’t work for and I have admin rights. I’ve even set my user permissions to match another user it did work for. It’s just strange.