Reference to type 'IAuthenticationProvider' claims it is defined in 'Microsoft.Graph.Core', but it could not be found #928
Labels
no-recent-activity
status:waiting-for-author-feedback
Issue that we've responded but needs author feedback to close
type:bug
A broken experience
Describe the bug
I am trying to use the graph api client with a client id and secret, to get user information from entra. I got all the calls working in postman and now i'm trying to get my azure function app to do the same thing.
Expected behavior
I have been following various samples to try and do a simple query but every time i try to create a graphserviceclient i get the compile error in the title.
Reference to type 'IAuthenticationProvider' claims it is defined in 'Microsoft.Graph.Core', but it could not be found
How to reproduce
This is my code (secret removed for obvious reasons
var graphClient = new GraphServiceClient(adapter); this line causes the issue
SDK Version
every version i have tried including latest
Latest version known to work for scenario above?
none
Known Workarounds
none
Debug output
no debugt output because it doesnt compile
Configuration
Windows 11
x64
Other information
No response
The text was updated successfully, but these errors were encountered: