Custom AD group to grafana org assigning

HI have my custom AD in that 3 different groups are there now I want to config those individual groups to individual org in grafana like in AD group A people can be able to login org1 only and group B people can be able to log in org 2 in grafana so is there any way to do this or any possible way to implement by any process?