[Bug]: MS Teams does not detect MS Intune installation
Can you reproduce this bug in the website/PWA?
No
Describe the bug
Since installing MS Intune (IT requirement) the teams-for-linux app can no longer run, as it doesn't detect the MS Intune installation
What package are you using?
deb
Version
2.0.14
Reproduction steps
Can't really reproduce this locally as it is part of my company's IT... All I can give is this error report from Teams about the problem:
Error Code: 530003
Request Id: d9e38642-2824-4d57-9e12-ca1d188b0400
Correlation Id: 70442269-9287-45fa-bb18-e7a00a3579fc
Timestamp: 2025-06-12T11:16:55.165Z
App name: Microsoft Teams Web Client
App id: XXX (Censored)
IP address: XXX (Censored)
Device identifier: Not available
Device platform: Linux
Device state: Unregistered
Expected Behavior
1.
2.
3.
...
Debug
teams-for-linux --webDebug --logConfig='{}'
No config file found, using default values
Initialising logger with config: "{}"
13:24:55.660 › File logging at /home/rhidew/.config/teams-for-linux/logs/main.log with level silly
13:24:55.661 › Console logging enabled with level silly
13:24:55.661 › Logger initialised
13:24:55.661 › configPath: /home/rhidew/.config/teams-for-linux
13:24:55.661 › configFile: {}
13:24:55.738 › (node:55366) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated.
(Use `teams-for-linux --trace-deprecation ...` to show where the warning was created)
13:24:55.950 › processArgs: [
'/opt/teams-for-linux/teams-for-linux',
'--webDebug',
'--logConfig={}'
]
13:24:55.951 › testing RegExp processArgs false
13:24:55.951 › testing RegExp processArgs false
13:24:55.952 › testing RegExp processArgs false
13:24:55.952 › Waiting for network...
13:24:55.952 › Testing network using net.request() for https://teams.microsoft.com/v2
13:24:55.954 › Spellchecker is disabled!
13:24:56.092 › Network test successful with method https
13:24:56.092 › Loading initial URL...
13:24:56.356 › GetSystemIdleState => IdleTimeout: 300s, IdleTimeoutPollInterval: 10s, ActiveCheckPollInterval: 2s, IdleTime: 0s, IdleState: 'active'
[55366:0612/132456.448060:ERROR:CONSOLE(1)] "Request Autofill.enable failed. {"code":-32601,"message":"'Autofill.enable' wasn't found"}", source: devtools://devtools/bundled/core/protocol_client/protocol_client.js (1)
[55366:0612/132456.448151:ERROR:CONSOLE(1)] "Request Autofill.setAddresses failed. {"code":-32601,"message":"'Autofill.setAddresses' wasn't found"}", source: devtools://devtools/bundled/core/protocol_client/protocol_client.js (1)
13:24:57.604 › did-frame-finish-load {} true
13:24:57.605 › did-finish-load
13:24:58.634 › Badge count set to '0'
13:24:58.639 › Badge count set to '0'
13:24:59.697 › Badge count set to '0'
[55366:0612/132501.854262:ERROR:CONSOLE(1)] "Request Autofill.enable failed. {"code":-32601,"message":"'Autofill.enable' wasn't found"}", source: devtools://devtools/bundled/core/protocol_client/protocol_client.js (1)
[55366:0612/132501.854419:ERROR:CONSOLE(1)] "Request Autofill.setAddresses failed. {"code":-32601,"message":"'Autofill.setAddresses' wasn't found"}", source: devtools://devtools/bundled/core/protocol_client/protocol_client.js (1)
13:25:01.860 › did-frame-finish-load {} false
13:25:06.438 › GetSystemIdleState => IdleTimeout: 300s, IdleTimeoutPollInterval: 10s, ActiveCheckPollInterval: 2s, IdleTime: 5s, IdleState: 'active'
13:25:10.847 › Badge count set to '0'
13:25:10.941 › did-frame-finish-load {} false
[55366:0612/132511.022653:ERROR:CONSOLE(1)] "Request Autofill.enable failed. {"code":-32601,"message":"'Autofill.enable' wasn't found"}", source: devtools://devtools/bundled/core/protocol_client/protocol_client.js (1)
[55366:0612/132511.022732:ERROR:CONSOLE(1)] "Request Autofill.setAddresses failed. {"code":-32601,"message":"'Autofill.setAddresses' wasn't found"}", source: devtools://devtools/bundled/core/protocol_client/protocol_client.js (1)
13:25:11.132 › did-frame-finish-load {} false
13:25:13.227 › GetSystemIdleState => IdleTimeout: 300s, IdleTimeoutPollInterval: 10s, ActiveCheckPollInterval: 2s, IdleTime: 0s, IdleState: 'active'
13:25:13.277 › did-frame-finish-load {} true
13:25:13.277 › did-finish-load
13:25:22.846 › GetSystemIdleState => IdleTimeout: 300s, IdleTimeoutPollInterval: 10s, ActiveCheckPollInterval: 2s, IdleTime: 0s, IdleState: 'active'
13:25:22.847 › did-frame-finish-load {} true
13:25:22.848 › did-finish-load
13:25:23.593 › GetSystemIdleState => IdleTimeout: 300s, IdleTimeoutPollInterval: 10s, ActiveCheckPollInterval: 2s, IdleTime: 1s, IdleState: 'active'
13:25:23.612 › did-frame-finish-load {} true
13:25:23.613 › did-finish-load
13:25:33.615 › GetSystemIdleState => IdleTimeout: 300s, IdleTimeoutPollInterval: 10s, ActiveCheckPollInterval: 2s, IdleTime: 8s, IdleState: 'active'
13:25:43.619 › GetSystemIdleState => IdleTimeout: 300s, IdleTimeoutPollInterval: 10s, ActiveCheckPollInterval: 2s, IdleTime: 18s, IdleState: 'active'
Additional context
No response
Couldn't upload it in the original report
Hi @Rhidian12, thanks for reporting this.
I can see from the logs you haven't configured the app to use inTune.
Check the config options ssoInTuneEnabled and ssoInTuneAuthUser . I suspect that is what is missing for you.
Hi!
Thanks for the help, that fixes it indeed :)
One final question: I edited my config file ~/.config/teams-for-linux/config.json to look like this:
{
"ssoInTuneEnabled": true,
"ssoInTuneAuthUser": "XXX@YYY"
}
but that doesn't seem to work when I launch the application (not via CLI). Running the application via CLI with the correct command-line arguments does work. Is my config perhaps wrong?
I would say, check what you see in the logs. It normally appears in the 1st few lines. If the config content don't show up there with the teams-for-linux --logConfig='{}' then it will probably give you an error. It could be permissions or the content not been correct (and extra , or something like that).
Hope helps and glad you got it working.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.