Microsoft Portals crashing

Ask for help about NoScript, no registration needed to post
val_0
Posts: 5
Joined: Thu Oct 09, 2025 2:37 am

Microsoft Portals crashing

Post by val_0 »

In the last few weeks I noticed more and more Microsoft admin portal starting to hang and then crash. It started with the Intune admin portal and now spread to Azure and M365. I can stop the portals from crashing by disabling the NoScript add-on completely. I haven't been able to find a combination of permissions that works with NoScript on. This is a GIF of the behaviour - https://imgur.com/a/K0KV49y in the first load of Intune you can see that the network never stops and keeps loading a script consuming 100s of MB of data. Eventually, the tab freezes and crashes. The second load is with NoScript disabled - you can see that it loads the page successfully with 53MB of data. The same can be replicated on the portal.azure.com and admin.microsoft.com sitess. I am not sure how to address this issue except to disable the NoScript extension. The browser is Edge Version 141.0.3537.57 (Official build) (64-bit). Any advice or ideas would be greatly appreciated.
Last edited by val_0 on Thu Oct 09, 2025 3:35 pm, edited 1 time in total.
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36 Edg/141.0.0.0
User avatar
therube
Ambassador
Posts: 7972
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Microsoft Portals crashing

Post by therube »

(Your GIF link looks to be dead, or wrong?)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0 SeaMonkey/2.53.22
val_0
Posts: 5
Joined: Thu Oct 09, 2025 2:37 am

Re: Microsoft Portals crashing

Post by val_0 »

You are correct, I updated the link and it should work fine now.
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36 Edg/141.0.0.0
barbaz
Senior Member
Posts: 11104
Joined: Sat Aug 03, 2013 5:45 pm

Re: Microsoft Portals crashing

Post by barbaz »

What version of NoScript?
val_0 wrote: Thu Oct 09, 2025 2:57 am I haven't been able to find a combination of permissions that works with NoScript on.
Have you tested with "Disable restrictions for this tab"?
If so and if that didn't help, have you tested with "Disable restrictions globally (dangerous)"?
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux x86_64; rv:144.0) Gecko/20100101 Firefox/144.0
val_0
Posts: 5
Joined: Thu Oct 09, 2025 2:37 am

Re: Microsoft Portals crashing

Post by val_0 »

Version 13.2.1. Tested with both and unfortunately no change in behaviour. Continuously tries to load the scripts and eventually crashes the tab.
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36 Edg/141.0.0.0
barbaz
Senior Member
Posts: 11104
Joined: Sat Aug 03, 2013 5:45 pm

Re: Microsoft Portals crashing

Post by barbaz »

Does Edge have the Chromium developer tools Console? If so, do you see any related messages there?
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux x86_64; rv:144.0) Gecko/20100101 Firefox/144.0
val_0
Posts: 5
Joined: Thu Oct 09, 2025 2:37 am

Re: Microsoft Portals crashing

Post by val_0 »

It does and I spent quite a bit of time yesterday trying to understand what is relevant and what is not. I enabled "debug" in NoScript to try to catch any related messages. You'll have to forgive my ignorance as this part of web control is very foreign to me but this is what I was able ascertain.

1. When NoScript is disabled (when I say "disabled" I am referring to the extension itself vs site/tab; as long as NoScript extension is enabled the effect on the sites is the same) I see only 4 Dedicated Worker processes spawn in Browser Task Manager. https://imgur.com/a/8h2FGPf first image and everything is working as expected.
2. When NoScript is enabled, hundreds of Dedicated Worker processes are spawned which very quickly consume all available RAM (64GB machine) https://imgur.com/a/8h2FGPf second image.
3. In the Dev Tools console, there are no error msgs that have [NoScript], but I do see a lot of error messages related to that script. They are attached in the same link.

Let me know if I can get any other information for you. I've disabled all other extensions and run test in In-Private mode to remove any other unknown variables.
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36 Edg/141.0.0.0
barbaz
Senior Member
Posts: 11104
Joined: Sat Aug 03, 2013 5:45 pm

Re: Microsoft Portals crashing

Post by barbaz »

val_0 wrote: Fri Oct 10, 2025 5:05 pm 4 Dedicated Worker processes
This could be very relevant, espsecially looking at your latest screenshots. To avoid workers bypassing NoScript's security measures, NoScript needs to be able to act in worker contexts, but since there is no proper WebExtensions API for that, NoScript has to resort to messy hacks to "patch" worker contexts. Unfortunately I'm out of troubleshooting ideas, sorry :( All I can suggest is waiting for Giorgio to find time to get to this thread
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux x86_64; rv:144.0) Gecko/20100101 Firefox/144.0
val_0
Posts: 5
Joined: Thu Oct 09, 2025 2:37 am

Re: Microsoft Portals crashing

Post by val_0 »

Thanks for looking into this. For comparison-sake, I tried using uBO to achieve the same result (blocking scripts, etc) and I was able to block scripts on the MS Portals without the same symptoms as with NoScript. I don't know how one works vs the other, but I don't see any additional Worker Processes being spawned or similar script injection errors. Just an FYI in case that helps.

Another interesting point, is that this originally started only with the Intune portal. Then, after a few weeks, the Azure portal started to suffer from the same issue. Now I can replicate this in Azure, Intune and Purview. I suspect that maybe MS is making changes to their portals one by one and the issue is becoming more "impactful".

Let me know if I can provide any more information.
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36 Edg/141.0.0.0
Post Reply