Hello Kaushik Ray,
Thank you for posting your query on Microsoft Q&A.
We understand that you have Jenkins pipeline where users authenticate with keycloak and the pipeline gets access token and you configured App Registration in Azure AD and federated secret with issuer, subject and audience to establish trust with keycloak and it works for users where you have added their subjects in federated secrets.
If you want to deploy resources in Azure, you can add Keycloak as External Identity to authenticate with Keycloak.
Handling the number of users by adding a user subject in the access token is not suggestible.
I hope this information is helpful. Please feel free to reach out if you have any further questions.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".