Exchange Scope Error - AADSTS65001

Hi,

I want to use exchange scope with using Office 365 settings (app id, tenant id). I’ve created app registration on azure and granted permissions for graph api and office 365 exchange online.

When we use UsernameAndPassword authentication type, we got an error below;

“AADSTS65001: The user or administrator has not consented to use the application with ID ‘********’ named ‘**********’. Send an interactive authorization request for this user and resource.”

I need help about this, thanks in advance.

Hi,

Authentication type should be Interactive Token if you want to use App and Tenant Id, so chnage the authentication type for using user name and password.

So, if we need to use Interactive auth type, when we use UsernameAndPassword or can we use it in any case?

Hey @emre.balci

If you want to use UserName and Password - Then you can select the authentication type as same and put values in username and password properties, however you would still have to provide application and tenant.
Please find more details here:

Activities - About the Microsoft Office 365 activities package (uipath.com)