Below is the sample program I am using from below MSDN KB link to develop extension for Office Outlook 365, so that I can handle the ADAL login screen to automate.
https://support.microsoft.com/en-us/help/249232/how-to-get-ihtmldocument2-from-a-hwnd
When I instantiate IWebBrowser2 from ServiceProvider interface, COM is returning error "Call was rejected by callee".
For Internet Explorer I am able to Query the IWebBrowser2 interface successfully.
Kindly, help.