Dear @Jirat Meewassana ,
Thank you for posting your question in Microsoft Q&A.
Based on your inquiry, we understand that you're experiencing an issue where the authentication popup does not appear on the macOS desktop while using Excel add-ins. We will be glad to assist you with this part.
According to my research, when you're working with Excel Add-ins on macOS desktop, the system leverages a very robust security feature called WebKit sandboxing. Because of this high level of security, macOS can indeed prevent pop-up windows from appearing within your add-in., leading to the restriction of window.open()
behavior for reasons like:
- Preventing unauthorized content: To stop add-ins from opening untrusted or malicious content outside their confined space.
- Controlling user experience: To ensure pop-ups are opened deliberately and securely by the Office application itself, rather than by the COM add-in.
Privacy and security for Office Add-ins - Office Add-ins | Microsoft Learn
If you need further assistance, please let us know.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
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.