Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't reach the groups and users to set permissions from connected AD #367

Open
xandi404 opened this issue Jan 19, 2023 · 6 comments
Open

Comments

@xandi404
Copy link

xandi404 commented Jan 19, 2023

Hi,

Thanks for a good work this plugin, it's very helpful :)
I connected to my Azure AD environment but I'm struggling with one issue; I can't reach any group and user from domain. I set correct rights to Jenkins from Azure side but it won't work at all... I checked every possible configuration with API permissions there but still no luck..
SSO is working fine but I want to define proper groups to manage access rights.
image
image
image

@timja
Copy link
Member

timja commented Jan 19, 2023

check the browser console or server logs. You may need to save the page once allowing all authenticated users admin and then reload it?

@Vormillion
Copy link

Same issue on Jenkins 2.387 and plugin 313.v14b_f37ff114d.
Test user principal works but there is one XHR /me failing with 400 response code:

{"error":{"code":"BadRequest","message":"/me request is only valid with delegated authentication flow.","innerError":{"date":"2023-01-24T10:37:40","request-id":"a796c716-8891-45a4-81cf-739e39404ed4","client-request-id":"a796c716-8891-45a4-81cf-739e39404ed4"}}}

@kkuppam
Copy link

kkuppam commented Jan 30, 2023

I face the similar issue and try to follow below steps and see if that resolves.

  1. For the Azure atharization, select overall Administrator access for "Authenticated Users" and save it
  2. Login in to Jenkins with your ID
  3. Go back to the Athentication and try again

@msevastian
Copy link

I face the similar issue and try to follow below steps and see if that resolves.

  1. For the Azure atharization, select overall Administrator access for "Authenticated Users" and save it
  2. Login in to Jenkins with your ID
  3. Go back to the Athentication and try again

it helped me! thanks @kkuppam

@azubuikeokom
Copy link

I face the similar issue and try to follow below steps and see if that resolves.

  1. For the Azure atharization, select overall Administrator access for "Authenticated Users" and save it
  2. Login in to Jenkins with your ID
  3. Go back to the Athentication and try again

Thanks. This worked for me

@mscholze
Copy link

I face the similar issue and try to follow below steps and see if that resolves.

  1. For the Azure atharization, select overall Administrator access for "Authenticated Users" and save it
  2. Login in to Jenkins with your ID
  3. Go back to the Athentication and try again

Thanks, that saved my day 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants