OfficeDev / office-js

A repo and NPM package for Office.js, corresponding to a copy of what gets published to the official "evergreen" Office.js CDN, at https://appsforoffice.microsoft.com/lib/1/hosted/office.js.
https://learn.microsoft.com/javascript/api/overview
Other
657 stars 93 forks source link

Trying to upload my add-in manifest no longer works #4594

Open tamarpscs opened 1 week ago

tamarpscs commented 1 week ago

I'm trying to upload my add-in manifest file by navigating to Add-ins > more add-ins > my add-ins > manage my add-ins > upload my add-in > browse > choosing my xml file > upload

Your Environment

Expected behavior

I expect it to allow me to navigate through the above, and then to see a message that my extension loaded successfully.

Current behavior

When I click "My add-ins," it quickly redirects to the office store, before I have a chance to click on "Manage my add-ins." Then, when I click Admin managed > Upload my add-in > ... >, An error message appears, "Your add-in manifest is not valid."

Steps to reproduce

  1. Click "Add-ins"
  2. Click "more add-ins"
  3. Click "my add-ins"

Provide additional details

  1. The same xml file works on multiple other computers, with the same operating system and the same office account.
  2. It used to work on the same computer with the same file.

Context

Useful screenshots

https://github.com/OfficeDev/office-js/assets/173663565/270b4404-9e4c-4eaa-bedc-a03ccb7cf27f

image

shanshanzheng-dev commented 1 week ago

Hi @tamarpscs Thanks for reporting this issue. But I can not repro this. Could you try to clean browser cache? And try again to upload your manifest. May I know if your manifest work on desktop? Thanks. image

tamarpscs commented 1 week ago

Hi @shanshanzheng-dev, thank you for responding. I tried clearing the browser cache and it still doesn't work. The manifest works on desktop. It also works on office web on other computers, so the manifest file shouldn't be the issue.

shanshanzheng-dev commented 1 week ago

Hi @tamarpscs, your mean only one computer has this issue, right? Could you try to restart the computer? If not work, could you share your session Id?

tamarpscs commented 1 week ago

Restarting didn't work. Which URL in cookies contains the session ID?

shanshanzheng-dev commented 1 week ago

Yes, we can find this session id:image

tamarpscs commented 1 week ago

Mine looks like this: image

shanshanzheng-dev commented 1 week ago

Could you open this url: https://www.microsoft365.com/launch/PowerPoint/?acctsw=1

tamarpscs commented 1 week ago

Yes

shanshanzheng-dev commented 1 week ago

Maybe you can create a powerpoint to see if you can upload your manifest? Seem like "My add-in" tab is good on my side. or could you share your manifest with me? image

tamarpscs commented 1 week ago

When I try to open a new blank presentation it says: Office Online services aren't available right now We're working to restore all services as soon as possible. Please check back soon. If the error persists please contact Microsoft Support for assistance along with the Url you were trying to access

shanshanzheng-dev commented 1 week ago

Or could you try this link to create new workbook: https://www.microsoft365.com/launch/Excel/?acctsw=1

tamarpscs commented 1 week ago

That link works to create a new workbook, but I get the same result as my original issue.

shanshanzheng-dev commented 1 week ago

You can click File -> about to see your sessionId and build number

yjz2021 commented 1 week ago

Hi @tamarpscs, we are currently investigating this issue. Could you please provide us with the manifest? Thank you.

danielscsc commented 1 week ago

I worked with the author of this issue. It seems to be related to a chrome extension interfering. I told them to report back when they gain more clarity as to which one it was.

microsoft-github-policy-service[bot] commented 2 days ago

This issue has been automatically marked as stale because it is marked as needing author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. Thank you for your interest in Office Add-ins!

shanshanzheng-dev commented 5 hours ago

Hi @tamarpscs Hope you have a good day. I'd like to know if you still hit this error. Since this error related to extension interfering, if possible, could you please help to check if you have installed some extensions and other good computers don't have this extension? That helps us gain more clarity to investigate root cause. Thanks a lot.