How to save user profile photo getting from graph api to file by using powershell

前端 未结 0 1335

$uri = "https://graph.microsoft.com/v1.0/users//photo/$value"

$photoreponse = Invoke-RestMethod -Uri $uri -Method Get -Headers $headers -ContentType = image

相关标签:
回答
  • 消灭零回复
提交回复
热议问题