question

mickog-6801 avatar image
0 Votes"
mickog-6801 asked mickog-6801 answered

Outlook addin - Edge Chromium Opens in External Browser Rather Than Task Pane

Hi

We have created an outlook add in, with a task pane. When a user using Windows 10 version >= 1903 and Office 365 version >= 16.0.13530.20224 Then the outlook plugin by default will use Microsoft Edge as described here https://docs.microsoft.com/en-us/office/dev/add-ins/concepts/browsers-used-by-office-web-add-ins , this seems to cause an issue for us, when we are using older version of windows and the plugin is using IE everything works seamlessly. When we update and Edge is default browser then when we load the plugin it exits to an external browser and brings us to a Sharepoint online site (that is where we are hosting our UI). We think it might be something to do with SSO but is only happening when default browser is Edge.

Wondering is there anyway to make edge behave the same as IE and not open in an external browser or any workarounds we could apply for our usecase.

Any help would be appreciated.
Thanks

office-addins-devoffice-js-dev
· 6
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Adding right tags/teams to assist

1 Vote 1 ·

Much appreciated

0 Votes 0 ·

I seem to be having similar or the same behaviour. Did you get this resolved? My hosted web app can be accessed an Office AddIn however when I enable SSO on the host web application I get a redirection out of Office into an Edge browser which then files with an invalid url redirect. Is there a way to stop the Edge redirect or use the old IE engine?

Thanks for any help

0 Votes 0 ·

Yes, so in your manifest file you can add a list of app domains. These are domains that can be accessed within your task pane. So when you add SSO it will try hit some domains that are not in the list. It was tricky to find out them domains for us so had to run a fiddler trace and see where else was trying to be accessed then add them to the list

1 Vote 1 ·

Excellent thanks so much, I just tried that and that fixed that problem for me too. My login redirected to microsoftonlin.com so that is in the pane now. Next issue is that I am now getting an error back from the SSO redirect AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application. Looking at the redirect url the addin has added some extra params to the url!

Oh well I will keep searching for some help on this now.

Thanks again!

0 Votes 0 ·
Show more comments

1 Answer

mickog-6801 avatar image
0 Votes"
mickog-6801 answered

in your manifest file you can add a list of app domains. These are domains that can be accessed within your task pane. So when you add SSO it will try hit some domains that are not in the list. It was tricky to find out them domains for us so had to run a fiddler trace and see where else was trying to be accessed then add them to the list

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.