web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Unable to close web resource html in IE

(0) ShareShare
ReportReport
Posted on by 170

Hi Experts

  I am having issue with closing web resource closing. I am opening a popup in dynamics 365 it works fine in chrome and Edge.

I am using 

window.close(); to close the popup. This is not working in IE.

I tried open(location, '_self').close(); and window.setTimeout("window.close()", 1);

no luck.

Any help in this?

Regards

I have the same question (0)
  • Suggested answer
    Jorge Landazabal F. Profile Picture
    on at

    Hi Rupesh

    I have tested and the functionality below is working fine for me.

    BUG: You cannot close an Internet Explorer window by using the window.setTimeout(window.close,1) method in Windows XP Service Pack 2

    My OS is W10 Enterprise - Last public Update

    Regards

    Jorge Landazabal

  • Suggested answer
    Bipin D365 Profile Picture
    28,985 Moderator on at

    Hi,

    Use navigateTo client api to open web resource which is OOB supported code and we can use code to close web resource.

    See below link

    butenko.pro/.../

    If found helpful, Please mark my answer verified.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

#2
ManoVerse Profile Picture

ManoVerse 55 Super User 2026 Season 1

#3
11manish Profile Picture

11manish 37

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans