Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Outlook for Windows does not provide COM add-in interoperability: OGCS won't work #1640

Closed
giladgressel opened this issue May 1, 2023 · 10 comments
Labels
wont implement Bug fix or enhancement won't be implemented

Comments

@giladgressel
Copy link

Checklist:-

  • Upgrade to the latest release (alpha if available) latest release
  • Reproduce the issue
  • Complete the information below
  • Provide your OGcalsync.log file (see how-to)

OGCS Version: v1.2.3.4
Edition: Installed / Portable
Sync Direction: G->O / O->G / O<->G

Bug Description
When I try to use OGCS with the new version of outlook (in preview mode) it doesnt' work. It just hangs when I run it. It appears to be launched regular outlook (I see a small notification in my tray that a service is using outlook). It's similar behavior to when I try to launch OGCS before I open outlook (that has never worked for me, I always have to have outlook open first).

Steps to Reproduce the Issue

  1. Make your outlook preview the new outlook
  2. Try to use OGCS and it wont' work.

Any other information

As I said it's the same behavior I get when I try to launch OGSC without having outlook open, it tries to launch outlook for me, but never really works. So perhaps that is the issue? However, I get 2 outlook icons in my tray now - one with the new outlook and then the old outlook as well. So I think perhaps the new outlook isn't supported yet?

thanks!

Any additional information that may help troubleshoot the issue.
📎 Attach yourOGcalsync.log` file.

OGcalsync.log

@giladgressel giladgressel added the bug Something's not working right label May 1, 2023
@phw198
Copy link
Owner

phw198 commented May 3, 2023

The new Outlook for Windows doesn't support COM integrations, so OGCS will not work with that version.

It's not yet clear whether it will once out of preview, but given it doesn't even have any offline mode yet, it clearly has a long way to go...

@giladgressel
Copy link
Author

oh ... I see. Thank you for the explanation! Good to know. Literally means I will never use the new office.

@phw198 phw198 changed the title does not work with new outlook (in preview mode) New Outlook for Windows *Preview Release* does not work with OGCS May 8, 2023
@phw198 phw198 pinned this issue May 8, 2023
@phw198 phw198 added wont implement Bug fix or enhancement won't be implemented and removed bug Something's not working right labels May 8, 2023
@abhasin505
Copy link

@phw198 does that mean that you don't plan to support the new version of Outlook once it's past preview?

@phw198
Copy link
Owner

phw198 commented May 25, 2023

@abhasin505 Unless you have knowledge of the MS roadmap and its provision of COM inteoperability once out of Preview, then it's impossible to say. It's not a decision I'm taking as to whether I make OGCS support it or not - if Microsoft do not provide the ability to integrate with the New Outlook, then there's nothing I, or any of the other thousands of developers, can do about it.

However, it's extremely unlikely they continue to not provide COM integration once Outlook is Generally Available, as they wouldn't even be able to integrate their own products like Teams.

@phw198 phw198 changed the title New Outlook for Windows *Preview Release* does not work with OGCS New Outlook for Windows *Preview Release* does not currently provide third-party interoperability: OGCS won't work May 25, 2023
@abhasin505
Copy link

abhasin505 commented May 25, 2023 via email

@phw198
Copy link
Owner

phw198 commented Oct 15, 2023

As reported on #1365, returning to a previous version of Outlook, having already tried the New Outlook, can result in the error message "Outlook has exhausted all shared resources".

The resolution to this is option 4 from here:-

Reduce Memory Cache Size for Each PST File

  1. Close Outlook and press Windows + R to open the Run dialog box.

  2. Type regedit and press the Enter key. This will open the Registry Editor window.

  3. Navigate to HKEY_CURRENT_USER> Software> Microsoft> Office> XX.X> Outlook> PST.

  4. Right-click on the blank area and choose New > DWORD (32-Bit).
    image

  5. Rename the key as UseLegacyCacheSize and change the value to 1.

  6. Save it and then close the Registry Editor.

  7. Restart the system for changes to take effect.

@heimbergj
Copy link

I saw this is closed. However is there an update if the new version does support it meanwhile? I don't feel like to create a new issue for that.
I guess the new office isn't preview anymore?

@phw198 phw198 changed the title New Outlook for Windows *Preview Release* does not currently provide third-party interoperability: OGCS won't work New Outlook for Windows does not provide CL [ interoperability: OGCS won't work Nov 16, 2023
@phw198 phw198 changed the title New Outlook for Windows does not provide CL [ interoperability: OGCS won't work New Outlook for Windows does not provide COM add-in interoperability: OGCS won't work Nov 16, 2023
@phw198
Copy link
Owner

phw198 commented Nov 16, 2023

I have suspected for a while that Microsoft have no intention of continuing support of COM add-ins, and this is now officially confirmed.

OGCS would therefore require a significant redevelopment to work with JS and/or Graphi APIs to retrieve Outlook appointments, instead of the locally cached appointments via COM.

@KrisadaFantasy
Copy link

Offline support for new Outlook start roll out this month (June 2024). Will it make thing easier for OGCS or new Graph API will have no use for any Outlook client altogether?

@phw198
Copy link
Owner

phw198 commented Jun 6, 2024

My understanding of that, unfortunately, is it just increases the functionality of the native product (eg moving and deleting emails manually in the client) - not that it alters the methods of programmatic access at all.

As you suspected, the new Graph API won't have need or make use of the New Outlook client - it'll function in much the same way as interfacing with the Google calendar does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wont implement Bug fix or enhancement won't be implemented
Projects
None yet
Development

No branches or pull requests

5 participants