ldaptive / aws-s3-sftp-azure-IdentityProvider

AWS Transfer for S3 Custom Identity Provider leveraging Azure AD
0 stars 3 forks source link

Group members count issue again #12

Closed Sigamani301992 closed 3 years ago

Sigamani301992 commented 3 years ago

Hello @ldaptive ,

Hope you are doing well.

Im again facing some issue in getting the group members. Now only 100 members are getting returned. but we have more than 100 members in that group. could you help me to fix this issue. ?

thanks in advance :)

ldaptive commented 3 years ago

If the group membership is larger than 100, most likely the response is paginated and you can either loop through the pages or alternatively change the paging size. you should double check microsoft documentation on there API for this.

alternatively you can look to send a request specific for the user logged in to validate membership that way.

How to validate if user is part of group in Azure AD? - Stack Overflowhttps://stackoverflow.com/questions/54149675/how-to-validate-if-user-is-part-of-group-in-azure-ad


From: Sigamani301992 @.> Sent: Wednesday, May 19, 2021 6:51 AM To: ldaptive/aws-s3-sftp-azure-IdentityProvider @.> Cc: info @.>; Mention @.> Subject: [ldaptive/aws-s3-sftp-azure-IdentityProvider] Group members count issue again (#12)

Hello @ldaptivehttps://github.com/ldaptive ,

Hope you are doing well.

Im again facing some issue in getting the group members. Now only 100 members are getting returned. but we have more than 100 members in that group. could you help me to fix this issue. ?

thanks in advance :)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/ldaptive/aws-s3-sftp-azure-IdentityProvider/issues/12, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOSZSQ7ANXHIJPSLJRNLS5TTONNWDANCNFSM45D65KVQ.

Sigamani301992 commented 3 years ago

Thank you @ldaptive .. let me explore the above link and update you..

ldaptive commented 3 years ago

We have created a new version of this IDP that deals with only the graph API. I would suggest having a look at that code set as it could address your issues:

https://www.intelligentdiscovery.io/blogs/aws-sftp-custom-identity-provider-v2