c# - Microsoft Graph API - Get photo -


my company has internal application need pull/display pictures of employees office 365 out user intervention.

from read online think need call microsoft graph getphoto api in daemon application achieve per link (https://developer.microsoft.com/en-us/graph/docs/authorization/app_only).

will right approach? if yes please point me c# sample codes related this.

appreciate responses.

yes, type of application want build. app-only (machine-to-machine) authentication should used anytime don't need user present execute functionality.

you can take @ asp.net core app sample sense of how register , set app use app-only authentication. sample goes on use access token set webhooks, can replace logic custom code. want select scope user.readbasic.all have access users' profile photos.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -