All our scopes on both Nylas and Azure sides match. The only change we made was adding a new scope OnlineMeetings.ReadWrite(it was working correctly before this)
Do you have any ideas what specifically might be wrong? And what steps can we take?
Error 45001 (Provider refused to return refresh_token) means Microsoft is rejecting our request for the permanent refresh token due to a synchronization failure.
Next steps:
Verify Client Credentials: In the Azure portal, ensure the Application (client) ID, the Client Secret Value, and the Redirect URI are entered exactly in Nylas for the correct region.
Verify Scopes & Consent: Ensure all required scopes (including OnlineMeetings.ReadWrite) are present in Azure, and Admin consent has been granted for all permissions.
Mandatory Refresh: Since every request is unique and the OAuth code is a one-time credential, you must restart the entire OAuth process (re-authenticate the user) after any Azure configuration change.
Thank you for sending the request. This log confirms we are dealing with two separate fixes that the administrator must implement before the user can successfully re-authenticate.