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?
Developer technologies ASP.NET ASP.NET Core
4,815 questions
1 answer
Sort by: Most helpful
-
Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
2022-06-23T20:13:02.857+00:00