Building custom solutions that extend, automate, and integrate Microsoft 365 apps.
Hi RahulK
Based on my research, the different behavior you’re seeing on Mac appears to be related to how Office Add-ins are hosted there. Office Add-ins run inside a webview, and the implementation differs by platform. On Mac, the webview is based on Safari (WKWebView). Because of this, certain interactions, especially those triggered programmatically rather than directly by a user click, may not behave the same way as on Windows.
At this time, I was not able to find any official Microsoft documentation that confirms a supported way to programmatically open a SharePoint document in a new Word desktop window from an Office Add in on Mac.
Given this, you may consider the following options:
-Provide a visible hyperlink and let users click it directly
-Open the SharePoint URL in a browser window and let users choose Open in Desktop App from SharePoint
Please note that as a moderator, this is a public peer-to-peer community forum. While we can share guidance and known behaviors, we do not have access to internal systems or a test environment to validate this scenario.
If you need deeper insight into this behavior, I recommend posting a new thread on GitHub, where engineers and other experts may be able to provide more targeted guidance.
Reference: Participating in a discussion - GitHub Docs.
Best regards,
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.