Is there a roadmap or something that will tell me when these commands will no longer be read-only?
Attachments: Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.
Please conform if the commands in question are part of the MS Graph PowerShell SDK and what you mean by read-only.
YEs both of these commands are part of the Microsoft Graph SDK and should be used to either set or update a photo for a user through PowerShell. But for some reason they are read-only so they cannot actually make any changes. To make changes you have to go to the API or run the older Azure commands set-userphoto.
Okay, we are looking into this.
I am assuming you trying to set or update the user profile photo using the Graph Powershell SDK. Is that right?
That is correct. I currently have some complex code that accesses the Graph API to keep users photos up to date, but I would love to replace it with the SDK, since that is much easier to use.Thanks!
3 people are following this question.
Exchange Room mailbox address details using GraphClient
Error message :"Sorry, open shifts is not enabled for your team" when trying to access open shift with Client Credential flow
Download Item Attchment using Graph client API
Few Details missing from contacts and task in graph api v1.0
Meeting Scheduled Notifications