if the webapi need to access GraphApi without a passed user token. then the webapi needs to call azure ad to get an access token. see:
Use API into a WebApi project
Maximiliano Bertoli
26
Reputation points
I need to call Graph API without user interaction.
Users access to a Angular website through ADFS and the backend is served by .Net Core WebApi.
Users ask the server to upload/download a file and the server must "self login" to Graph and do the operations.
I can't find a tutorial for this.
Can someone help me?