-
Notifications
You must be signed in to change notification settings - Fork 382
Description
Library version used
4.72.1.0
.NET version
.NET Framework 4.8
Scenario
PublicClient - desktop app
Is this a new or an existing app?
This is a new app or experiment
Issue description and reproduction steps
Using the same code coming from your samples:
Using a Winform App all is working well
Using a Visio VSTO app nothing works.
when calling GetAccountsAsync or AcquireTokenSilent or AcquireTokenInteractive
the error message is "Unable to load DLL 'msalruntime_x86': The specified module could not be found. (Exception from HRESULT: 0x8007007E) See https://aka.ms/msal-net-wam#troubleshooting'"
The application (Winform app and VSTO App) are available here
https://github.com/[MichelLaplane/WinFormSharePoint](https://github.com/MichelLaplane/WinFormSharePoint)
https://github.com/[MichelLaplane/VisioAddInSharePoint](https://github.com/MichelLaplane/VisioAddInSharePoint)
There are also MSI installer in these repository to install the app.
I want to tell that the problem occurs if I install the VSTO with my installer but also when debugging from VS2022.
Relevant code snippets
There are available in these public repository
https://github.com/[MichelLaplane/WinFormSharePoint](https://github.com/MichelLaplane/WinFormSharePoint)
https://github.com/[MichelLaplane/VisioAddInSharePoint](https://github.com/MichelLaplane/VisioAddInSharePoint)Expected behavior
Getting the response from the Graph me endpoint
Identity provider
Microsoft Entra ID (Work and School accounts and Personal Microsoft accounts)
Regression
No response
Solution and workarounds
No response