Getting an error while setting up OneDrive integration

I'm trying to connect to Microsoft OneDrive but I keep getting this error "Some error occour (Authorization Code)" when I attempt to Sign In to my OneDrive account.
 
Top