Which Oauth2 Protocols Is UiPath Office 365 Activity Using?

Which Oauth2 protocols is UiPath Office 365 activity using?

The UiPath 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 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