Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer
Denna tråd har arkiverats. Ställ en ny fråga om du behöver hjälp.
Arkiverad

Scripts may not close windows that were not opened by script.

jscher2000 -... besvarat
SteveRiley

The error in the question appears when responding to an outlook junk/not junk email. In this case not a junk email which opened this tab;

https://outlook.live.com/owa/SvmFeedback.aspx?pt=0&kv=1&ts=131604366339430333&iv=uupoatqVORKSCpilJUzdQw%7e%7e&authKey=uusDUh9KkkiRjLzVV90bwHwBjr0It6_qZO4U-XZ3hKzvHSV4cVmPKjNa__4b9NtYttqBzKxvF2ldKRkjJnrpxFOQf_qQvnLmxkP5Jja0FNEalnLUVSk_7cOJ_S8-3LYso0SX0pu1gA8eb9ALL2Zwr2TOruajdxnEHtWAtwwnA0c%7e&hmac=8AjhlchmP08rvdHJ9T6ZREBLIKC25MqE1IUJfp91dJ8%7e

The was one button "close" which did not work. See attached screen print.

The error in the question appears when responding to an outlook junk/not junk email. In this case not a junk email which opened this tab; https://outlook.live.com/owa/SvmFeedback.aspx?pt=0&kv=1&ts=131604366339430333&iv=uupoatqVORKSCpilJUzdQw%7e%7e&authKey=uusDUh9KkkiRjLzVV90bwHwBjr0It6_qZO4U-XZ3hKzvHSV4cVmPKjNa__4b9NtYttqBzKxvF2ldKRkjJnrpxFOQf_qQvnLmxkP5Jja0FNEalnLUVSk_7cOJ_S8-3LYso0SX0pu1gA8eb9ALL2Zwr2TOruajdxnEHtWAtwwnA0c%7e&hmac=8AjhlchmP08rvdHJ9T6ZREBLIKC25MqE1IUJfp91dJ8%7e The was one button "close" which did not work. See attached screen print.
Bifogade skärmdumpar

Alla svar (1)

Hi SteveRiley, how was that tab opened in the first place? If the tab was opened by a script in the mailbox using the window.open() script method, then the Close button should work. However, if it was opened in some other way, then you'll need to close the tab manually (e.g., middle-click the tab or Ctrl+w or one of the other methods).