Outlook Add-in for Office 365 is not being activated by default - api

We have created an Outlook add-in and installed it on Office365 account but every time when I login and after I perform any action I have to manually click on add-in to activate. I do not want this. I want to run the add-in in background so it will active once I login to my office365 outlook account and it should remain active by default is there any way to achieve this.
Thank you.

This compose scenario for the mail add-in need the users to active the add-in. However the latest feature named add-in command enable the add-in has placed new buttons on the command ribbon. So users are not required to active the add-in first to make it work, then can just click the command on the ribbon. Here is an figure for your reference:
However, current it only work for the Outlook 2016.
If you were find a solution for all the client, you may consider using transport rules or journaling instead of the mail add-in. You can refer to the link below for more detail:
http://blogs.technet.com/b/exchange/archive/2010/01/28/3409250.aspx

Currently, the add-in model is designed such that users have to manually run the add-ins. Running automatically is a new feature request, which other developers have asked for as well in our User Voice page, please feel free to upvote it here: https://officespdev.uservoice.com/forums/224641-general/suggestions/10770030-autorun-outlook-add-ins.

Related

How to send a request to my add in when a user changes the date of a meeting inside outlook (without opening the add-in)?

I'm building an Outlook Add-in where the user can book a meeting directly from outlook. The add in is basically a shortcut to the website we usually use, but instead we take the data from the outlook meeting (Date, title, etc..). The problem is that once the user has created a meeting and it has been saved in our database (and they close the add-in), the add-in can't detect if they change the meeting date, and therefore it doesn't get updated in the database.
Shortly put: Is there any way that my add-in can communicate with outlook and fire a function without being opened?

Can't acquire add-in without personal account

I have developed an Outlook add-in that I have published in the store (https://appsource.microsoft.com/da-dk/product/office/WA104381386 ). The add-in is targeted Office365 work accounts.
However when users try to acquire the add-in they are asked to switch from their work account to a personal account.
I want the users to be able to get the add-in just with their Office365 account without having to switch to (and possible create) a personal account.
Not sure if this is something that I can configure in the add-in manifest or in the Seller Dashboard, but so far not been able to find any documentation on this.
Steps to reproduce:
Create a brand new test tenant (or use existing)
From within Outlook (web) opened settings -> Manage add-ins
Search for MeetingRoomMap -> click ‘get it’ (transferred to
https://appsource.microsoft.com/da-dk/product/office/WA104381386 )
Click free trial
Transferred to login page that only accepts personal account (account from tenant not accepted) – see screenshot attached.
If I choose ‘Get it now’ instead of ‘free trial’, I get this message: “Change to your personal account. If you want to proceed you must enter the email attached to your personal account”.
I’m not able to get the add-in without entering a personal account (screenshot in Danish).
Unfortunately, purchasing add-in licenses is currently only available via Microsoft Accounts.
Users will be able to acquire trial licenses with their O365 Accounts via the Outlook store, but they will have to swap to MSA for the full purchase.
If you're looking to handle purchase for O365 accounts, I'd recommend reading our GTM guidance on freemium setups.
https://dev.office.com/blogs/gtm-how-to-monetize-with-office-add-ins-and-apps

Outlook add-in: take action on calendar event date and time changes

We have an Outlook office.js add-in which uses add-in commands to help our users create a custom calendar event. We would like to perform some actions when that event's date or time is changed by the user.
With the older COM-based Outlook add-ins this was possible since you could have your add-in start-up automatically when a particular calendar event was opened add you could hook into the send event.
With the new add-in commands model there are problems. Here is what I understand so far:
When the user edits their event date or time while the add-in task pane is open, there is no way to be informed that they made changes. Worst yet, the user can open the event up later from their calendar and unless they triggered your add-in task pane, your add-in will not even be running. The user has to manually trigger an Outlook add-in command to open your task pane since the task pane cannot auto-trigger based on some detectable data attached to the calendar item.
If you hook into the send event you might be able to call the Outlook REST API to get the date and time and perform actions. Unfortunately, to hook into the on send event you need an Administrator to turn on that feature and your add-in will be rejected for Office Store Validation. Besides, I am not sure if the on send event works for calendar items. It seems like it is limited to emails.
If you want to use the Outlook Notification REST API to be notified about calendar event creation/modification/deletion, that notification subscription is time limited, does not have a way to auto-renew the notification subscription, and there does not seem to be built-in way to pass back custom parameters to the notification listener.
I hope I was clear enough and that the details I list above are accurate.
Does anyone have any suggestions on how we can automatically perform actions when the user edits the date or time of one of the calendar events created by our add-in?
This is done by leveraging Webhook Subscriptions and Event Deltas via Microsoft Graph.
The webhook will get fired off whenever it detects a change to the calendar. When you receive the event, you request the calendar delta from Microsoft Graph. This will give you all of the events that were changed since the last time you polled. From here you can request a specific event, including any extended data you previously stored with that event.
As for renewals, when you create the subscription it returns the expirationDateTime for that subscription. When your subscription expires, you can renew it and receive a new expiration date:
PATCH https://graph.microsoft.com/v1.0/subscriptions/{id}
Content-Type: application/json
{
"expirationDateTime": "2016-03-22T11:00:00.0000000Z"
}

Turn off Outlook new email notifications for specific duration

Is there a way with VBA in Outlook 2013 to turn off new email notifications for a specified duration of time? I work a lot out of email, and am currently attempting to use the Pomodoro technique for maintaining focus. To stop myself from switching attention to newly arrived emails while doing a Pomodoro, I'd like to be able to turn notifications off for a period of 30 minutes.
The UI notification options for newly delivered emails can be changed by setting a registry key, but the changes won't take effect until Outlook is restarted. Otherwise there is no option in the Outlook Object Model to reliably turn off receiving for all accounts as disabling send/receive will not affect Exchange or Office 365 accounts. Your best option is to automate clicking the Work Offline ribbon button on the Send/Receive tab.

Share Contact List in Outlook 2010 using LDAP

Our company would like to share our contact list in Outlook 2010. However, as we do not have Exchange, we cannot use the share contact feature in Outlook 2010.
We would like to use LDAP to share our contact list as stated in this website:
https://kb.wisc.edu/wiscmail/page.php?id=13789
As far as I know, if I add a new contact in Outlook, LDAP would not sync with it and thus I need to edit it on web. But, may I know if Outlook could get the latest contact list on LDAP server after I amend the list?
Or is there any other good suggestion for share contact list in Outlook 2010?
Thanks for any advice!
To answer your question, yes, Outlook can retrieve an up-to-date user list from your Active Directory server, but it will not happen immediately after you add\delete a user, and it's only a one way sync from Active Directory -> Outlook. An update is triggered every 24 hours (by default), in which the contact list would be synced with the users existing under the Search Base you specified in Step #10 (of the link you provided).
That being said, for contacts you wish to share, you should just be adding them as users to Active Directory, instead of adding them directly to your contact list in Outlook. You'll experience the noted latency in seeing newly added users (same goes for users that you delete as well), but it's nice only having to add them in one place, and they can then be shared amongst all of your users.
You can keep your contacts in Microsoft Outlook or Outlook Express with the addind, from your LDAP server with
https://github.com/fquiroz01/LDAPSyncOutlook/
Install the App in the computer with Microsoft Outlook or Windows Mail the App keep contacts sync with the LDAP server and mail client contacts.