microsoft-identity-broker memory leak on Linux

Mats Engström 15 Reputation points
2025-04-03T11:12:55.13+00:00

When installing the Intune Portal on Linux (in our case Ubuntu 22.04 LTS), microsoft-identity-broker also is installed. I have a users reporting memory leaks with the broker. It will consume all memory until the service is restarted.
At Github https://github.com/recolic/microsoft-intune-archlinux/blob/master/README.md#known-bugs I found information that memory leaks in microsoft-identity-broker is a known bug. We use the latest version 2.0.1 from November 15 2024.

Will there be any updated version in the nearby future?

Microsoft Security | Intune | Microsoft Intune Linux
0 comments No comments

4 answers

Sort by: Most helpful
  1. Joseph Leiba 0 Reputation points
    2026-06-15T16:18:55.94+00:00

    It turns out the interaction between microsoft-identity-broker and intune-portal is still broken. This AWS Workspace machine running Ubuntu that was supposedly "fixed" by the 2.0.2 discussed above has apparently been failing to "check in" with Intune since this memory issue started, and it's still happening to this day. The only reason I've been able to use SSO in the meantime is because we relaxed the requirement to "check in". Today, our policy was updated to require check-in, and that broke access to all SSO-reliant services.

    So there is still no real fix.

    Over the past year since the original incident, I've had to update my apt sources due to changes in the microsoft apt source repo, so now this machine is currently running these versions:

    Package: microsoft-identity-broker
    Version: 3.0.2-jammy
    APT-Sources: https://packages.microsoft.com/ubuntu/22.04/prod jammy/main amd64 Packages
    
    Package: intune-portal
    Version: 1.2604.19-jammy
    APT-Sources: https://packages.microsoft.com/ubuntu/22.04/prod jammy/main amd64 Packages
    

    Was this answer helpful?

    0 comments No comments

  2. Joseph Leiba 0 Reputation points
    2025-10-10T19:35:01.81+00:00

    I'm seeing the memory leak here too, in my AWS Workspace which is running Ubuntu 22.04.1.

    It is occupying 1.8GB, or 10% of my total RAM. This is ridiculous.

    What's the best way to restart this service without losing functionality?

    User's image

    Was this answer helpful?


  3. Jonny 5 Reputation points
    2025-09-25T14:29:18.6866667+00:00

    Still having a memory leak issue here.

    Starts with about 80M in use, if the intune-portal then does a checkin, it'll raise to 229M, never comes back down, after many hours of using the device it'll reach near 1G, probably goes over if I left my device on 24/7. Seems like garbage collection isn't happening, or maybe a memory cache is growing in size and not being cleared down. Effectively showing as a memory leak to us.

    intune-portal 1.2508.17-1.el9
    microsoft-identity-broker 2.0.1-1

    Could this please be looked at, it's crazy that Intune it taking over 10% of the memory on a 8GB system, sometimes uses more than the browser, depending how many tabs you have open.

    Was this answer helpful?

    0 comments No comments

  4. Crystal-MSFT 54,311 Reputation points Microsoft External Staff
    2025-04-04T01:28:13.72+00:00

    @Mats Engström, Thanks for posting in Q&A. It appears that the memory leak issue with the microsoft-identity-broker is a known problem. As for upcoming updates, after doing a lot of researching, I don't find there is any specific information available about a new version that addresses this memory leak issue. You can open case to see if you can get any update information from Product team.

    Thanks for your understanding.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.