Can I send mails with sensitivity 'personal' with MS Graph v1.0 - microsoft-graph-api

Is there a way to set the "Sensitivity" when sending mails via Microsoft Graph API v1.0 ?
Microsoft allows to set Mail Sensitivity on Win-Outlook (Normal, Personal, Private, Confidential) and our end-users would like us to do the same through Graph API.
I noticed that simply prefixing the message subject with [PRIVATE] or [CONFIDENTIAL] persuades the MS Outlook clients on Macs and Windows that the message is private or confidential. However this does not work not for 'Personal' mails.
Is there a workaround for sending 'Personal' mails via Graph API?
Or possibly an official API - prefixing the subject feels like a workaround.

Related

Sending contact forms emails using Microsoft Graph instead of SMTP

Microsoft announced the deprecation of basic authentication in Exchange Online which I believe will cause a problem to some sites I look after that use PHPMailer and send emails currently using SMTP. I guess what I will need to do is try and send email using Microsoft Graph instead of SMTP via the websites forms.
I know how to configure this in the accounts with Microsoft I just don't know how to implement this in the forms themselves and there doesn't seem to be any how to documentation online... has anyone else had a similar issue?

Recall an email using Microsoft graph api

I am using microsoft graph api to fetch emails from office365. There is need to have recall functionality but not able to locate the required api.
Can someone help me in here. I am not sure if such API even exists
There is no endpoint in the Graph for message recall it's all private API's in the clients that implemented it. You could add this as a feature request for the the graph https://techcommunity.microsoft.com/t5/microsoft-365-developer-platform/idb-p/Microsoft365DeveloperPlatform

Microsoft Teams - invoke HTTP request on message/reply in team channel

In MS Teams whenever someone replies to a message in a particular team channel, I want to invoke a HTTP request or publish a message to something like Azure Service Bus.
Is there a way to do this?
FWIW I'm trying to do 2-way SMS between a users mobile device and an agent using MS Teams. I'm using Azure Logic App(s) as the glue between the SMS provider and MS Teams, but the 1 part of the communication loop that I don't know how to handle is when the agent replies to messages in MS Teams. I know I can get messages via MS Graph API, but I don't really like this polling approach - I'd prefer more of an event based approach.
Bartsch, currently we don't have any such event to trigger whenever someone replies to a message in a particular team channel. But have an option when a new channel message is added. As this feature is not available at present, could you please raise an User Voice if this needs to be consider as a future request.

Post Message to a Microsoft Teams Channel using App

I'm trying to post messages to specific Microsoft Teams Channels using Graph REST API (from my app). I'm looking at the following API endpoint, but it says it doesn't support Application permission type: Create chatMessage in a channel
Is there a better way than using the webhook/bots?
Currently, we don't have plans for posting messages with application permissions. Only option to send a message to channel using Graph API would be using delegated permission.
Please use Bot / Connectors to send messages.

Reading emails from Exchange online in c#.net using Office 365 API

I am trying to read emails from Exchange online through a Office 365 API.with using my username and password for authentication.
Is it possible to access the O365 api? (only using user credentials)
How can I do that? Anyone can help is appreciated.
If your exchange online is part of Office 365, you should definitively take a look here : http://dev.office.com
You will find many tutorials to get access to your mails.
Take a look here : http://dev.office.com/getting-started/office365apis
It uses the Microsoft Graph to query your mailbox and retrives messages :
https://graph.microsoft.com/v1.0/me/mailFolders/Inbox/messages
The authentication process is provided byt Azure Active Directory, through ADAL SDK.
In Visual Studio, you can create easily an application, and then call the submenu 'Add connected services' and you're done !

Resources