azure active directory - Office 365 API to detect when office app is launched -


i'm trying figure out if there way detect when user launches 1 of office apps (word, excel, powerpoint, onenote, onedrive, etc) can add logic perform tasks if it's first time user has launched particular office app.

i hoping microsoft graph api me this, can't find guidance on how this. there way either notifications or polling/querying api?

the closest thing you're asking azure ad reporting api sign-in activity:

https://docs.microsoft.com/en-us/azure/active-directory/active-directory-reporting-api-sign-in-activity-reference

note that, @ time, available in azure ad graph, not microsoft graph.

https://graph.windows.net/contoso.com/activities/signinevents?api-version=beta 

you can filter user and/or appdisplayname.

https://graph.windows.net/contoso.com/activities/signinevents?api-version=beta&$filter=appdisplayname eq 'office 365' 

doing quick testing launching office portal, outlook, sharepoint, etc, saw following entries:

  • office 365
  • o365 suite ux
  • office 365 exchange online
  • office.com
  • office 365 sharepoint online
  • skype web experience on office 365

you'll need experimentation see if can see entries interested in. don't think you'll entries down granularity level seem interested (word, excel, powerpoint).


Comments

Popular posts from this blog

account - Script error login visual studio DefaultLogin_PCore.js -

xcode - CocoaPod Storyboard error: -