Relative Content

Tag Archive for microsoft-graph-api

Graph API New-MgUserMessage always draft

When using the New-MgUserMessage, it creates the file in the Drafts folder. If I use Move-MgUserMessage to the Inbox, and then try the Update-MgUserMessage isdraft to False, it is still marked as a draft. It also isn’t allowing me to set the -ReceivedDateTime -SentDateTime or the -IsDraft properties. This is what I have right now. I have removed the specified properties and tried to replace them with the PID equivalent, but this just fails to even create a new message.

Automating interaction with excel files using graph API

I need to be able to have some apps read/write data in excel workbooks without user interaction. For context, the use case here is an app that automates updating firewall rules across multiple platforms based on data stored in a spreadsheet maintained by a network team. I am running into an issue with the graph API in that I cant access excel data with an app-only token.