Hello Tejkiran D M,
Thanks for your question.
You can configure access to the bot based on user permissions in Entra.
- Go to Microsoft Entra admin center.
- Under the Groups section, create a new security group and add the users who should have access to the bot.
- In Teams go to the bot and set the bot’s permissions to allow access only to the previously created security group. This ensures that only members of this group can interact with the bot.
- You can also use a conditional access policy if you have the prerequisite license.
From the teams perspective you can use app permission policies as well
See: https://learn.microsoft.com/en-us/microsoftteams/platform/graph-api/app-permissions/teams-app-permissions
You can mark it 'Accept Answer' and 'Upvote' if this helped you
Regards,
Abiola