Oauth2 Protocols Used By Microsft Office 365 Activities In UiPath

Which Oauth2 protocols are used by UiPath Microsoft Office 365 activities?

The UiPath Microsoft Office 365 activity has only two Oauth2 Protocols to get an access token and call the Microsoft Graph API. Both flows will bring back a “user Token”. As of today to acquire an “application token” is not possible via UiPath Microsoft Office 365 activity:

  • When Selecting “Interactive Token” from Office365 Scope is using Oauth2 Authorization Code flow to get an access token, which is an interactive flow
  • When Selecting “IntegratedWindowsAuthentication” or “UsernameAndPassword” from Office365 Scope it will use Oauth2 ROPC (Resource Owner Password Credentials) to get an access token, this is a non-interactive flow