How to Get the list of user's profile pictures from Microsoft Graph using PowerShell?
I want to download the User's profile pictures from MS Graph, Azure AD, and Delve.
Is there a way or Powershell script available?
How to Get the list of user's profile pictures from Microsoft Graph using PowerShell?
I want to download the User's profile pictures from MS Graph, Azure AD, and Delve.
Is there a way or Powershell script available?
Microsoft Graph PowerShell SDK would be a good place to start. Since it is not possible to get list of user profile picture, you may have to get the users list then perform the Get-MgUserPhoto -UserId user_id operation for each of them
>$users = Get-MgUser
>for($i = 0; $i -lt $users.length; $i++){ Get-MgUserPhotoContent -UserId $users[$i].id }
2 people are following this question.