Create onedrive folder using office365 activity

Hi,

I am trying to create folder in onedrive and save files there using office365 activity. I followed exactly as per the below guide however I am getting error during authentication page. If anyone implemented this is in their project, please assist me how to make it work.

I changed authentication type to usernamepassword from Interactive and added Microsoft graph packages and it worked.