Trouble with configuring a Microsoft OAuth Provider

Hello guys.

I’m a beginner in SuiteCRM and I am trying to connect SuiteCRM to microsoft exchange.
Firstly, I configured the Microsoft provider as detailed on the guide:

After making the provider I created an OAuth connection which spits the following error:

Does anyone know what is going on and how I can fix it?

Thanks!