Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] GetDeviceId sometimes takes 1.5s #1912

Closed
bgavrilMS opened this issue Jul 2, 2020 · 1 comment
Closed

[Bug] GetDeviceId sometimes takes 1.5s #1912

bgavrilMS opened this issue Jul 2, 2020 · 1 comment
Assignees
Labels
Milestone

Comments

@bgavrilMS
Copy link
Member

Which Version of MSAL are you using ?
4.15

Platform
.net classic

Repro

Expected behavior
AcquireTokenSilent normally takes ~300ms

Actual behavior
AcquireTokenSilent sometimes takes ~2s, whith a lot of time spent in GetDeviceId

Possible Solution
GetDeviceId on .net classic tries to enumerate the system NICs and use a network address as id. This can take a very long time when a VPN is configured on the system.

We should not call "get device id" because it is used in conjuction with MATS Telemetry. We do not use MATS telemetry at the moment.

@neha-bhargava
Copy link
Contributor

Fixed in MSAL 4.17.0 release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants