Forum Discussion

John_Bloggs_Patrick_M400's avatar
John_Bloggs_Patrick_M400
Copper Contributor
Feb 14, 2021

How to get the date of, when a member was added to a security azure active directory group ?

Hi  everybody,

 

How to get the date of when a member was added to a security azure active directory group with PowerShell ?

I didn't find any date in the list of properties  I could filter such this example below , a filter based on when the user was aded to a group? :

Get-AzureADUser -All $true -Filter "xxxxxxx '20212014'" | select ObjectId | Out-File -FilePath C:\listusers20210211.txt

or with the "Get-AzureADGroupMember" cmdlet

I think it could be a question of audit or PIM but there is a question of AAD P2 licence.

This is typically information you can get in the compliance centre I would to extract the information with powershell to create a list of users based on date which is when a user was added to a security group.

Thank you to the community

3 Replies

Resources