Hello,
I would like to run a powershell script everytime there is a new member in a specific group in Azure AD.
Can you please suggest me the best way for it?
Thanks.
Hello,
I would like to run a powershell script everytime there is a new member in a specific group in Azure AD.
Can you please suggest me the best way for it?
Thanks.
You can either periodically query the membership of the group, or use the Unified audit log events: https://docs.microsoft.com/en-us/microsoft-365/compliance/search-the-audit-log-in-security-and-compliance?view=o365-worldwide#azure-ad-group-administration-activities
Thanks @michev for your answer. I thought there is a ready-made mechanism that microsoft provide for such case. But I have to use your methods for now. Thanks again.
25 people are following this question.