Coder Social home page Coder Social logo

Comments (8)

navmro avatar navmro commented on August 10, 2024 1

@mmanjaree-msft I confirm that it works on owa.
I can also confirm that I don't get the error in new outlook anymore.

Thank you very much :)

from office-js.

neprasad-microsoft avatar neprasad-microsoft commented on August 10, 2024

Hi @navmro
Please follow the steps here for new Outlook to collect the logs - https://github.com/OfficeDev/office-js/wiki/Collecting-log-files-for-Outlook-Add%E2%80%90ins-issues
You can host it in a private repo and give access to exextoc.

from office-js.

navmro avatar navmro commented on August 10, 2024

Hi @neprasad-microsoft
Thank you, I've collected logs for the new Outlook.
Here is the repository only available for exextoc:
https://github.com/navmro/outlook-logs

from office-js.

mmanjaree-msft avatar mmanjaree-msft commented on August 10, 2024

@navmro Could you please confirm if the issue is still reproable. We fixed an issue with the sample addins recently.

from office-js.

navmro avatar navmro commented on August 10, 2024

@mmanjaree-msft I can see that new Outlook updated. I'm on version 1.2024.501.300 (Production).

The error I get now is :

Error encountered during message processing: The operation is not supported.

From the code at line 24 :
https://github.com/OfficeDev/Office-Add-in-samples/blob/main/Samples/outlook-spam-reporting/src/spamreporting.js#L24

It looks like the getAsFileAsync is not working, but I have the registry key set-up:

reg query HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Outlook\Options\WebExt\Developer

  HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Outlook\Options\WebExt\Developer
  EnableBetaAPIsInJavaScript    REG_DWORD    0x1

I've uploaded a new extract from the console + the har on github for exextoc:
issue_4411b_operation_not_supported.txt
issue_4411b_operation_not_supported.zip

from office-js.

mmanjaree-msft avatar mmanjaree-msft commented on August 10, 2024

The integrated spam reporting feature is still getting rolled out in outlook web and so it might not be fully available as mentioned in doc https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/spam-reporting#preview-the-integrated-spam-reporting-feature. It is in preview in classic outlook on windows and outlook on mac

from office-js.

navmro avatar navmro commented on August 10, 2024

The current problem seems to be with the GetAsFileAsync feature, which is supposed to be in preview on the new outlook:
https://learn.microsoft.com/en-us/javascript/api/requirement-sets/outlook/preview-requirement-set/outlook-requirement-set-preview?view=common-js-preview#officecontextmailboxitemgetasfileasync

Available in: Outlook on Windows (Microsoft 365 subscription), Outlook on Mac (Microsoft 365 subscription), Outlook on the web (modern), new Outlook on Windows (preview)

I know it's not fully ready yet, that's why I'm testing it and reporting bugs I find.

from office-js.

mmanjaree-msft avatar mmanjaree-msft commented on August 10, 2024

@navmro Please refresh owa and confirm if its working for you now

from office-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.