Android Question Does anyone have an Example of Microsoft OAuth2


Licensed User
Longtime User
I was using Google-Drive to retrieve my files for my B4A application. Now we're switching to OneDrive.

I can use the Graph REST calls - except to generate the access Token. Right now I generate the token on my laptop and copy it over. Clearly that's not a solution.

Does anyone have some guidance how to call OAuth2 for Microsoft?