
Thank you for posting your question in the Microsoft Q&A forum.
According to this Microsoft documentation Support older Microsoft webviews and Office versions - Office Add-ins | Microsoft Learn. You can use window.navigator.userAgent to detect the embedded webview engine. Although IE11 is disabled for UI access in Windows 10/11, its Trident engine is still callable by Office desktop clients like Outlook 2016. This makes user agent detection a valid method for identifying legacy environments.
While there are no dedicated APIs for IE11 detection, you may consider using transpilers or polyfills to support older JavaScript features as a workaround. However, Angular 12 and later versions no longer support IE11 officially. Therefore, the best path forward is to gradually deprecate IE11 support and transition to modern WebView2-based experiences, which offer better performance and security. Since I'm not familiar with the Angular environment and the documentation doesn't explicitly confirm compatibility with Angular, I recommend giving it a try cautiously. To avoid providing an inaccurate solution or causing unnecessary support delays, it would be best to start a new thread in the Angular Community. They may offer more targeted guidance and help ensure the approach aligns with best practices for Angular-based Outlook Add-ins.
Thank you for your patience and understanding.
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