Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
665 views
in Technique[技术] by (71.8m points)

office365 - Why is my add-in not available in Word, Excel or PowerPoint when using Centralized Deployment in O365?

We have built 2 add-ins, one for Outlook and one for Word, Excel and PowerPoint. They are both add-ins with a command that toggles a task pane. We have had no issues accessing them in our own O365 environment using Centralized Deployment. However, when we attempted to deploy them in a partners O365 environment (still using Centralized Deployment) we were unable to get everything to work.

The current state of our add-ins in our partners O365 environment is:

  • Can access add-in in Outlook Web and Desktop
  • Can access add-in in Word, Excel and PowerPoint Web
  • Can not access add-in in Word, Excel and PowerPoint Desktop

By access I mean being able to add the add-in to the actual application.

We have run both the PowerShell Compatibility Checker and the OAuth checker mentioned in this article. None of these tools showed any problems with our partners (or our own) O365 environment.

We have also made sure we are running the latest Office versions and that we are targeting specific users or 'everyone'. We have not made use of any nested groups. We also verified that the account we install the add-ins with is global admin.

Other than that we have made a VM with a clean windows and office installation, configured an active O365 account there with actual office licenses (Business Standard) and attempted to add the add-ins there without any success.

In this VM we used Fiddler to monitor the 'My Add-Ins' window so we could see if the request to https://<host>/ews/exchange.asmx went through. In the response to that request we could see that GetPrivateCatalogAddIns returned one add-in that is never showed in the Admin Managed tab.

Both in these responses from ews/exchange.asmx and from the PowerShell cmdlet Get-OrganizationAddIn the Status/StatusCode property is set to 'Ok'.

I have thought about checking up on the manifest file but it actually works in our own O365 environment, and the Outlook add-in which has a very similar manifest also works in both O365 environments.

I would appreciate any help and any suggestions. We even contacted Microsoft Support and were referred to stackoverflow.

question from:https://stackoverflow.com/questions/65937052/why-is-my-add-in-not-available-in-word-excel-or-powerpoint-when-using-centraliz

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

The issue had to do with our manifest file. Specifically the tag in our ribbon group. The office add-ins manifest validation is checking for an icon with size 6464, while centralized deployment requires an icon with size 8080. We solved this by having both available with their respective resources. Ref: https://github.com/OfficeDev/generator-office/issues/571


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...