You can automate the update of access review reviewers to match the current owners of a Microsoft 365 group or team using such services as Power Automate or Entra ID Governance.
Automating reviewer updates
- Trigger on group ownership changes
- Use a Power Automate flow triggered by Entra ID audit logs when group membership or ownership changes.
- Alternatively, schedule a Graph API query to check for ownership changes regularly.
- Retrieve current group owners
- Use the Microsoft Graph API (
GET /groups/{id}/owners
) to fetch the latest list of owners for a group or team.
- Use the Microsoft Graph API (
- Update the access review reviewers
- Use the Graph API (
PATCH /identityGovernance/accessReviews/definitions/{id}
) to update the reviewers dynamically with the latest group owners. - If using Power Automate, create a step to update the access review configuration.
- Use the Graph API (
- Remove reviewers who are no longer owners
- Before updating, compare the current reviewers list with the latest group owners.
- Remove any users who are no longer owners and add new ones.
Best practices for Access Reviews
- Assign access reviews to dynamic owners
- Instead of static owners, use Microsoft Entra dynamic groups to ensure ownership updates dynamically.
- Use recurring access reviews
- Set access reviews to run quarterly or bi-annually to reduce stale permissions.
- Require justification for continued access
- Ensure reviewers must provide a reason when approving continued access.
- Automate removal of inactive or non-reviewed users
- If a user is not reviewed within a period, automate access removal using Entitlement Management.
- Audit access review effectiveness
- Regularly check review completion rates and adjust policies to improve efficiency.
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin