0
votes

I am trying to get my first Outlook Web add-in to work. So I:

  1. Followed the instructions at https://docs.microsoft.com/en-us/office/dev/add-ins/tutorials/outlook-tutorial "Tutorial: Build a message compose Outlook add-in"
  2. Per those instructions, I used the Yeoman generator to create an Office Add-in Task Pane project for Outlook. I followed the instructions to the "Test the generated add-in". So only the manifest had been changed. A very simple add-in at this point.
  3. Tried npm start from the command line.
>npm start

> [email protected] start C:\Users\Lindsay\OutlookTestAddin2\OutlookTestAddin2
> office-addin-debugging start manifest.xml

Debugging is being started...
App type: desktop
Enabled debugging for add-in a35130ed-92ee-4a47-a5e2-4588da510b2e.
Starting the dev server... (webpack serve --mode development)
The dev server is running on port 3000. Process id: 14044
Sideloading the Office Add-in...
Debugging started.
  1. At this point, I can view the welcome page in a browser at the URL https://localhost:3000/taskpane.html.
  2. Outlook is started with as a result of npm start. There is no "Show Taskpane" button to be found anywhere in Outlook.
  3. Navigated to https://docs.microsoft.com/en-us/office/dev/add-ins/outlook/sideload-outlook-add-ins-for-testing to follow instructions for "Sideload manually". This PC has Outlook 2016, so went to that section.
  4. It says to select the "Get Add-ins" button, but this button is greyed out.
  5. Checked File > Options > Trust Center > Trust Center Settings > Privacy Options > Privacy Settings and looked for “Enable optional connected experiences” as noted in http://makerblock.com/2021/05/how-to-fix-outlook-get-add-ins-grayed-out-button/ and several other pages. “Enable optional connected experiences” does not exist in my Outlook installation. "Turn on all connected experiences" does exist and is enabled.
  6. Looked at other alternatives for sideloading problems. Found Unable to sideload outlook add-in says "It turns that under settings you may need to turn on which "actions" are available in your read/compose pane." I am not finding exactly to which "settings" this refers.
  7. Tried the same on a different PC with Office 365. The results were essentially the same: No "Show Taskpane" button and the "Get Add-ins" button is greyed out. In this case, “Enable optional connected experiences” exists and is checked.

Seems more difficult than it should be. What am I missing here? Thanks in advance...

1

1 Answers

0
votes

After a lot of looking, I ran across the answer to my own question: on https://docs.microsoft.com/en-us/office/dev/add-ins/outlook/add-in-requirements , I have found a statement that says: "The client must be connected to an Exchange server or Microsoft 365 using a direct connection. When configuring the client, the user must choose an Exchange, Office, or Outlook.com account type. If the client is configured to connect with POP3 or IMAP, add-ins will not load." I had only POP3/IMAP accounts, and when I added an Outlook.com account, it magically began working.