Hi,
im trying to get acess to One Drive throug the Office 365 API and im having some trouble with authentication.
I have followed every youtube video and forum post i could find and am still out of luck.
I have my Azure Active Directory registration setted up as follows:
-Type of account with support: Account in any organization directory and personal Microsoft account
-Redirect URI: Public client/Native https://login.microsoftonline.com/common/oauth2/nativeclient
-I have given the Files API permission to my application
At the Studio i did use the Office 365 Scope and populated the application ID, Services, Tenant, Username and Password fields.
When i run my sequence a microsoft login windows pops-up BUT when i type in my account it says “This username cant be right. Verify if you typed it correctly. Contact your admin” wich dosent make sense since im currently logged in on my One drive with the same account.
If it will help in anyway the $exceptionDetected is
“RemoteException wrapping Microsoft.Graph.ServiceException: Code: generalException
Message: An error occurred sending the request”
I have found the ecxatly translation that shows up in english
" This username may be incorrect. Make sure you typed it correctly. Otherwise, contact your admin."
Is your username/account not being picked up automatically like shown below? Why you have to enter username in there? Have you provided it in office 365 activity properties panel?
I would like to know as well, i have populated the Password and Username fields in the Properties panel and he keeps asking me to type in my account as shown on my print above.
Can you cross verify the syntax and the value going into your username field?
May be running in debug mode or printing a value before hitting this activity might help to figure out if value is going in there and if yes, what is that value?