Publish Excel addin through SharePoint catalog - excel

I am trying to publish an Excel addin with Sharepoint catalog (Sharepoint online) as documented here https://learn.microsoft.com/en-us/office/dev/add-ins/publish/publish
If I try to access the addin from Excel Online everything works correctly, but from Excel Desktop when I try to add the addin from the catalog I get the following error.
Obviously on Excel desktop I am logged in with a SharePoint user who has access to the catalog. If I log in with the same user from a web browser I can access and download the manifest and add and use the addin correctly through Excel Online.
The Sharepoint catalog is accessible to Everyone except external users.
How can I manage to distribute the addin correctly ?

Related

"Your administrator has not installed Web Add-ins for your organization" when try to add Office Add-in for SharePoint 2016 + Office Online Server

My environment:
1st VM/server: Active Directory Domain Controller
2nd VM/server: SharePoint 2016 On-Premises
3rd VM/server: Office Online Server (old Office Web Apps) also
On-Premises - version from November 2017
Done already:
Communication between SharePoint and OOS. I have also custom Office Excel Add-in uploaded to Apps for Office list in App Catalog site. Add-in itself should be fine - it works in other environment.
Issue:
When I try to install add-in in Excel in web/browser, I'm getting "Your administrator has not installed Web Add-ins for your organization" message:
screenshot
I have got also uploaded Office Excel Add-in to Apps for Office list in App Catalog, and it still does not work. Did I miss something in the configuration to allow adding custom add-ins?
I suppose a sharepoint catalog and app store add-ins are mixed in you post.
Instead of uploading the add-in Office 365, under Setting>Service & add-ins, try uploading the add-in in SharePoint Online Add Catalog site. To do this, please follow the steps below:
Sign in to Office 365 portal with admin credentials.
Go to Admin Center>SharePoint Online Admin Center.
Once you are in SharePoint Admin center, go to App Catalog site, URL should be something like https://tenant.sharepoint.com/sites/AppCatalog
Click Apps for Office on the left navigation panel to upload the add-in for Office apps.
Click Upload and browser the path where the custom add-in is saved on your system.
See Excel does not show Office 365 custom add-in for more information

Office Add-In - SharePoint 2016 + Office Online Server

My custom Office Excel add-in does not work in my DEV environment (1) with the following three VMs.
Proper DEV on-prem environment:
AD Domain Controller
SharePoint 2016 on-prem
Office Online Server (updated November 2018)
OOS works as I can open Office docs in the browser. Both SharePoint and OOS run on http.
Online environment (just to test add-in itself):
I have tested the same - sample Excel add-in generated by Yeoman - in different environment too: O365 and SharePoint Online (developer tenant). It works, manifest is added to Apps for Office in AppCatalog and server works on https://localhost. I can see task pane of add-in in the browser. I can also debug both: desktop and web.
The same add-in (with server running on https://localhost) which works in online environment (2), does not work in DEV environment (1). It does not work when I upload XML manifest to AppCatalog, and it does not work when I try to debug generated add-in too.
I saw Excel add-in working in Internet Explorer on environment also with SharePoint 2016 and Office Online Server (/Office Web Apps). However, I do not have more details about that environment and how this add-in has been installed.

Office Add-In deployed through O365 Admin Center Appears in Excel Ribbon but can´t be open

I have deployed an Office Add-in and uploaded through the O365 Admin Center The Add-In appears in the Excel Ribbon but can use it as a message appears “We could not open the Add-In from LocalHost.
Should I modify anything in the Manifest File?
The Add-In was created with Yeoman and it´s addressed to “LocalHost:3000”.
It´s just a template (taskpane example)
Many thanks in advance!!!
Regards,
José.
Localhost is only used to host the add-in during development. If you have deployed the add-in with Centralized Deployment, then you should be hosting the add-in on a web server or cloud account. In that case, the URLs in the manifest should be changed to the domain that is hosting the add-in.

How to deploy officeJS addin on office online on-premise server?

I have written a small officeJS addin for excel which run perfectly on desktop excel client. Also office online from onedrive gives an option of installing the addin from the ribbon menu. I want to use this officeJS addin to run on either of the following configuration:
On premise office online server configured with on premise
sharepoint server.
On premise office online server with my own
implementation of wopi host.
How to deploy an officeJS addin on office online on premise server which is preferably managed centrally by the administrator.
Also why is the add-ins option is not available on the office online configured with sharepoint, pfa image:
office online onedrive v/s office online onprem with sharepoint
Thank You
The Office Online Server currently doesn't enable Office store by default. As part of the configuration, you'd have to enable it. I'm not 100% sure about the exact setting. It may be this: set the AllowExternalMarketplace flag to true.
More here
Try this. On a server in the farm, open the SharePoint Management Shell (PowerShell). Run this command:
Set-OfficeWebAppsFarm - OfficeAddinEnabled:$true
You probably have to be logged in as a farm administrator.
There is some documentation here: Set-OfficeWebAppsFarm

making an App Part On the main page of SharePoint 2013 using Office 365

I have made An App part using Napa in outlook365 which shows one URL of my external Application which I have made with that the current user name is there as in pic no.1{Devlopement code successfully Made}
Now I have made another outlook account in which SharePoint will open through office 365 which will be of End-user.I need to give some rights in such a way when user Open his SharePoint in outlook 365 on Main page the above App part will open with his name and above URL.I need to give some rights or permission so that his dashboard on login show that App part.
I don't know how to connect the above developer code with End user in such a way that App part will open in end user dashboard.
There are two parts to deploying from Napa to SharePoint 2013 On Premises.
Publish the App and download the .app file locally
Upload the App to the App Catalog in SharePoint 2013 On-Premises
Note: Double check that the Enabled box is checked when adding the app to the App Catalog. Only when enabled is checked can users can see the app in their sites.
Note 2: If you don't have an App Catalog in your On-Premises SharePoint 2013 Farm, one must be created through Central Administration first.
Reference
Manage the App Catalog in SharePoint 2013
Package your add-in using Napa or Visual Studio to prepare for publishing

Resources