MAPI Properties to check/uncheck Secuity properties - outlook

In Outlook 2016 (Outlook 2016 MSO 16.0.4266.1001 64 bit) , when S/Mime user accepts a calendar invitation sent by a non s-mime user, following error is displayed.
"Microsoft Outlook cannot sign or encrypt this message because there are no certificates which can be used to send from the email address . Either get a new digital ID to use with this account, or use the accounts button to send the message using an account that you have certificates for."
This error is not seen with Outlook 2013.
These 3 security properties are checked on opening the event (which are unchecked in Outlook 2013)
Encrypt message contents and attachments.
Add digital signature to outgoing messages.
Request S/Mime receipt for this message.
What mapi properties are used to check/uncheck these security properties?

Related

Error on Outlook Add-In with encrypted mails

I developed an Outlook Add-In that represents an html page with some JavaScript.
When I try to open the Add-in reading/writing an encrypted mail on our company's tenant, an error message appears.
"You cannot perform this action. Permission to this message is restricted"
The same Add-In works on my test tenant with encrypted mails.
I assume it's because of different Outlook versions (version 2002 on my business tenant vs version 2008 on my test tenant) or some special settings in the tenant.
This post Can't access email with digital signature in outlook addin? Microsoft explained that SMIME signed emails are supported but encrypted are not. But the post is almost 3 years old and as I said, it works with my test tenant.
For Outlook Win32, add-ins on encrypted mails are only supported on builds >= 13229.10000, see here for reference:https://learn.microsoft.com/en-us/office/dev/add-ins/reference/objectmodel/preview-requirement-set/outlook-requirement-set-preview#add-in-activation-on-items-protected-by-information-rights-management-irm

I'm trying to trigger a Flow when a new email is received in an O365 Groups mailbox

I am trying to trigger a Flow that identifies the attachment type (e.g. .pdf and .docx) and save it to a team site library if it's a valid attachment. If not, it sends the "from" email address an email saying the attachment is invalid. I have done this successfully for a site mailbox (created before Microsoft removed the ability to create site mailboxes in SP Online) and my personal mailbox, but I am getting the following error when using an O365 Group email inbox:
"message": "You are not authorized to perform this operation. This error can occur for sandbox (test) accounts or if OData operations are disabled by your Exchange server administrator."
Again, this error only occurs when triggering the Flow with:

Outlook preselect sender

We use Office365 and Exchange Online (as part of out Office365 plan). We have two users and a shared mailbox. Both users have full access to the shared mailbox and added it to Outlook. So they can read inomcing messages and select the E-Mail address of the shared mailbox as sender.
Is it possible to set the E-Mail Address of the shared mailbox as preselected sender on writing a new E-Mail or on answering?
that's possible if you are running Outlook (not OWA) and a third-party add-in (or your own VBA script) that populates the From: field.

Can't access email with digital signature in outlook addin?

I'm developing a outlook addin, which access metadata of an email. But i have the problem, that the addin is not shown in the outlook web app, when i select an email with an digital signature. When I select the same email in the outlook rich client then iget the error, that the operation cannot be performed, because the permissions for the message are restricted.
I set up the permission in the addin manifest to "ReadWriteMailbox".
Can someone help me, how i can access an email with digital signature in the outlook addin?
Outlook Add-ins overview listed Mailbox items available to add-ins. The following is the quote from the document:
Outlook does not activate add-ins if the current message item, in a compose or read form, is one of the following:
Protected by Information Rights Management (IRM), in S/MIME format or encrypted in other ways for protection. A digitally signed message is an example since digital signing relies on one of these mechanisms.
To answer on your question ... you cannot access e-mail with digital signature from Outlook Office.js add-in.
EDIT:
Per Microsoft team comment, digitally sign messages are available to add-ons. I have verified with signed SMIME message, add-ons are active and functionality is fine. Waiting for documentation update.

how to Avoid warning message on click of custom URL

I have register a custom URL in my system as described in the bellow link.
http://msdn.microsoft.com/en-us/library/aa767914(v=vs.85).aspx
when i send a mail to my email. i opened the mail in outlook email client and clicked on the link then it displayed warning message
Microsoft office had identified a potential security
concern.Hyperlinks can be harmful to your computer and data. To
protect your computer, click only those hyperlinks from trusted
sources.
Is there any way to disable the warning message?
If i digitally sign the email will that warning message comes?
If i sign the binary will that warning message comes?
That is just a security warning in Outlook itself, it has nothing to do with your custom URL.
How to enable or disable hyperlink warning messages in 2007 Office programs and in Office 2010 programs

Resources