Unable to get OneDrive token

It is hard to guess what might be wrong.

But given that others report OneDrive token creation using Azure as working I would suspect that you made some mistake.

Sometimes it helps to delete it and start again making sure that you follow documentation very carefully.

Also have a look at the exactly the same issue here: